/* General reset */
* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Logo */
.logo {
    width: 200px;          /* Menyesuaikan lebar logo */
    height: auto;
    object-fit: contain;   /* Menjaga proporsi gambar */
    margin-bottom: 20px;   /* Memberi sedikit jarak di bawah logo */
}

/* Body and general layout */
body {
    margin: 0;
    background: #eef2f5;
    color: #333;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: #0b5ed7;
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.header p {
    margin-top: 5px;
    font-size: 14px;
}

/* Container for form */
.container {
    width: 100%;
    max-width: 960px;
    background: white;
    margin: 40px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Form container */
.form-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Search form */
.form-search {
    flex: 0.7;
}

/* Petunjuk Pencarian */
.petunjuk-pencarian {
    flex: 0.3;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.petunjuk-pencarian h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

.petunjuk-pencarian ul {
    list-style-type: none;
    padding-left: 0;
}

.petunjuk-pencarian ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.petunjuk-pencarian button {
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Form layout for search */
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}


/* Row 1 and 2 Form Group */
.form-group {
    flex: 1;
    min-width: 220px;
  
}

.form-group.half {
    flex: 0.48;
}

.form-group.full {
    flex: 1;
}

/* Label styling */
label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
}

/* Input, textarea, and select box styling */
input, textarea, select {
    width: 100%;
    padding: 14px;  /* Padding lebih besar untuk input */
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Focus effect */
input:focus, textarea:focus, select:focus {
    border-color: #0b5ed7;
    outline: none;
}

/* Button styling */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #198754;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px; /* Jarak lebih besar antara input dan tombol */
}


.btn-submit:hover {
    background: #157347;
}

/* Captcha image and button styling */
.captcha-image {
    margin: 12px auto 16px auto;
    max-width: 100px; /* Adjust the captcha image size */
    display: block;
}

button[type="button"] {
    background: #ddd;
    color: #333;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 12px;
    padding: 8px;
    margin-top: 32px;
}

button[type="button"]:hover {
    background: #ccc;
}

/* Footer */
.footer {
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: auto;
    padding: 20px;
}

/* Hasil Pencarian Status */
.hasil-data {
    text-align: center;
}

.status-dana {
    background-color: #28a745; /* Warna hijau terang */
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0; /* Memberikan jarak atas dan bawah */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.status-icon {
    font-size: 24px;
    margin-right: 10px; /* Memberikan jarak antara ikon dan teks */
}

.status-dana p {
    margin: 0;
    font-weight: bold;
}

/* Button Styling */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #198754;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.btn-submit:hover {
    background: #157347;
}

/* OTP Form Styling */
.otp-form {
    text-align: center;
}

.otp-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    border: 2px solid #ccc;
    border-radius: 6px;
    background: #f2f2f2;
}

.otp-input:focus {
    border-color: #198754;
    outline: none;
}

/* Timer and resend OTP button */
.timer {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

/* Styling untuk bagian Testimoni */
.testimoni-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimoni-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimoni-item p {
    font-size: 14px;
    font-style: italic;
    color: #333;
}

/* Styling nama orang yang memberikan testimoni */
.testimoni-item .name {
    font-weight: bold;
    color: #333;
}

.table-responsive {
    width: 100%;
    overflow-x: auto; /* Membuat tabel bisa digulir secara horizontal */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 12px; /* Mengatur ukuran font tabel agar lebih kecil */
}

th, td {
    padding: 8px 10px;  /* Mengatur padding agar lebih kompak */
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        gap: 30px;
    }

    .petunjuk-pencarian {
        margin-top: 20px;
        flex: 1 1 100%;
    }
    th, td {
        padding: 8px 10px;
    }

    h1 {
        font-size: 18px;
    }
}
