body { 
    font-family: system-ui, -apple-system, sans-serif; 
    margin: 0; 
    padding: 20px; 
    background-color: #f9fafb;
    color: #111827;
}
.container {
    max-width: 1000px; 
    margin: 0 auto;
}
.kotak-data {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 20px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
th, td {
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    text-align: left;
}
th {
    background-color: #f3f4f6;
    font-weight: 600;
}
tr:nth-child(even) {
    background-color: #f9fafb;
}
button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #1d4ed8;
}
.link-sosmed {
    color: #2563eb;
    text-decoration: none;
}
.link-sosmed:hover {
    text-decoration: underline;
}
/* Tata letak baris tombol (Action Bar) */
.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap; /* Agar rapi di layar HP */
}
.action-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Styling Input Cari */
.input-cari {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    width: 200px;
}

/* Styling Tombol Spesifik */
.btn-tambah {
    background-color: #10b981; /* Hijau */
}
.btn-tambah:hover {
    background-color: #059669;
}
.btn-hapus {
    background-color: #ef4444; /* Merah */
}
.btn-hapus:hover {
    background-color: #dc2626;
}
/* --- DESAIN MODAL (POP-UP FORM) --- */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); 
    
    /* 👇 KUNCI RAHASIA: Pindahkan scroll ke latar hitam 👇 */
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; /* Biar scroll super mulus di HP (khususnya iPhone) */
}

.modal-content {
    background-color: #ffffff;
    margin: 40px auto; /* Memberi jarak aman 40px dari atas/bawah layar */
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-sizing: border-box; /* Agar padding tidak merusak ukuran form */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.close-modal {
    color: #9ca3af;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.close-modal:hover { color: #111827; }
.form-group {
    margin-bottom: 12px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
}
/* =========================================
   HERO SECTION (UI BARU - FINAL)
   ========================================= */
.hero-wrapper {
    background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e7eb;
    position: relative;
    padding-bottom: 30px;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 40px 0 40px;
    position: relative;
}

.hero-left-content {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-text-area {
    transform: translateX(-69px); /* kiri 10px */
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 0;
    line-height: 1.5;
}

.hero-shield {
    position: relative;
    right: 20px;
    width: 200px;
    object-fit: contain;
}

/* Ini yang membuat gambar HP membesar dan digeser */
.hero-smartphone {
    width: 450px;
    object-fit: contain;
    position: absolute;
    right: -40px;
    top: -1px; 
    z-index: 1; /* Angka 1 berarti dia ada di BAWAH kotak pencarian */
}

/* KOTAK PUTIH PENCARIAN (Menimpa Gambar HP) */
.hero-search-card {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 40px 40px 0 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    position: relative;
    z-index: 3; /* Angka 3 memastikan dia MENIMPA gambar HP */
}

.hero-search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px;
}

.search-icon-large {
    color: #9ca3af;
    font-size: 18px;
    padding: 0 15px;
}

#input-cari-besar {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 0;
    background: transparent;
}

#btn-cari-besar {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

#btn-cari-besar:hover {
    background-color: #1d4ed8;
}

.hero-hint {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

/* Penyesuaian Responsif untuk HP (DIPERTAHANKAN SEPERTI SEBELUMNYA) */
@media (max-width: 768px) {
    /* Mengurangi jarak kosong (padding) di sisi kiri dan kanan khusus layar HP */
    body {
        padding: 15px 8px !important; 
    }
    .hero-wrapper {
        overflow: hidden; /* Cegah watermark keluar kotak di HP */
        padding-bottom: 20px;
    }
    .hero-top {
        flex-direction: column;
        padding: 35px 15px 10px 15px;
    }
    .hero-left-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .hero-text-area {
        text-align: center;
        max-width: 550px;
        transform: translateX(-20px); /* kiri 10px */
    }
    .hero-title {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero-search-card {
        margin: 20px 15px 0 15px;
        padding: 20px 15px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .hero-search-box {
        flex-direction: row; 
        padding: 6px;
    }
    #input-cari-besar {
        padding: 8px 10px;
        font-size: 14px;
    }
    #btn-cari-besar {
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
    }
    .search-icon-large {
        display: none;
    }
    /* 3. MEMPERBAIKI POSISI TEKS HERO (Menariknya ke Kanan / Tengah) */
    .hero-text-area {
        transform: translateX(0) !important; /* Membatalkan dorongan ke kiri dari kode lama */
        padding: 0 10px !important; /* Memberikan sedikit ruang bernapas di sisi layar */
    }
    
    /* Watermark HP */ /*tampilan di hp user*/
    .hero-shield {
        position: absolute;
        top: -8px;
        left: -16px;
        width: 90px;
        opacity: 0.15;
        z-index: 1;
    }
    .hero-smartphone {
        position: absolute;
        bottom: -20px;
        right: -30px;
        width: 140px;
        opacity: 0.15;
        z-index: 1;
        top: auto; /* Reset posisi top dari desktop */
    }
}
/* =========================================
   STATS CARDS SECTION
   ========================================= */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Membagi rata menjadi 4 kolom */
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

/* Pewarnaan Ikon Berdasarkan Jenisnya */
.stat-blue   { background-color: #eff6ff; color: #3b82f6; }
.stat-green  { background-color: #f0fdf4; color: #22c55e; }
.stat-red    { background-color: #fef2f2; color: #ef4444; }
.stat-yellow { background-color: #fffbeb; color: #f59e0b; }

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.stat-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-top: 4px;
}

.stat-desc {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

/* Responsif untuk Layar Tablet dan HP */
@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* Menjadi 2 baris x 2 kolom di layar sedang */
    }
}

/* Responsif Khusus HP (Kotak Statistik Dikecilkan & Berjejer) */
@media (max-width: 600px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr); /* Dipaksa menjadi 2 kolom berdampingan */
        gap: 10px; /* Jarak antar kotak dirapatkan */
    }
    .stat-card {
        padding: 12px 8px; /* Ruang di dalam kotak dikecilkan */
        flex-direction: column; /* Ikon dipindah ke atas teks agar muat */
        text-align: center; /* Teks dibuat rata tengah */
        gap: 8px;
    }
    .stat-icon {
        width: 38px; /* Ikon dikecilkan */
        height: 38px;
        font-size: 16px;
    }
    .stat-number {
        font-size: 18px; /* Angka dikecilkan */
    }
    .stat-title {
        font-size: 12px; /* Judul dikecilkan */
        margin-top: 0;
    }
    .stat-desc {
        font-size: 10px; /* Deskripsi sangat dikecilkan */
    }
}
/* =========================================
   FOOTER MODERN SECTION
   ========================================= */
.footer-modern {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 50px 20px 20px 20px;
    margin-top: 40px;
}

.footer-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr; /* Kolom 1 dan 4 dibuat lebih lebar */
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-col p {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.footer-col a {
    display: block;
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #2563eb;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-socials a {
    font-size: 24px; /* Ukuran ikon sosmed */
    margin-bottom: 0;
}

.icon-fb { color: #1877F2 !important; }
.icon-tg { color: #24A1DE !important; }
.icon-wa { color: #25D366 !important; }

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

/* Responsif untuk Layar Tablet dan HP */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Jadi 2 kolom di tablet */
        gap: 40px 20px;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom memanjang ke bawah di HP */
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}
/* =========================================
   LIST DATA (KARTU REKENING)
   ========================================= */
.header-daftar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.judul-daftar {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}
.sort-select {
    border: 1px solid #d1d5db;
    padding: 6px 12px;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    outline: none;
}
.kotak-data-list {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}
.rekening-card {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
    gap: 15px;
}
.rekening-card:last-child {
    border-bottom: none;
}

/* Kolom 1: Bank & Nama */
.rek-col-1 { display: flex; align-items: center; gap: 15px; }
.rek-logo-wrapper { width: 50px; text-align: center; }
.rek-number { font-size: 18px; font-weight: 700; color: #111827; }
.rek-name { font-size: 14px; color: #4b5563; margin-top: 4px; }

/* Kolom 2: Sosmed & QRIS */
.rek-col-2 { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ikon-abu { color: #9ca3af; margin-right: 6px; }

/* Kolom 3: Status & Vote */
.rek-col-3 { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tag-status {
    padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
}
.tag-aman { background: #dcfce7; color: #16a34a; }
.tag-hati { background: #fef9c3; color: #ca8a04; }
.tag-bahaya { background: #fee2e2; color: #dc2626; }
.stars { color: #fbbf24; font-size: 12px; letter-spacing: 2px; }
.vote-area { display: flex; gap: 12px; font-size: 13px; font-weight: 600; }
.v-up { color: #16a34a; cursor: pointer; background: none; border: none; padding:0;}
.v-down { color: #dc2626; cursor: pointer; background: none; border: none; padding:0;}

/* Kolom 4: Tombol */
.rek-col-4 { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.btn-detail {
    background: white; border: 1px solid #3b82f6; color: #3b82f6;
    padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 14px; width: 100%;
}
.btn-detail:hover { background: #eff6ff; }
.admin-tools { display: flex; gap: 5px; width: 100%; justify-content: flex-end; }

/* Responsif HP */
@media (max-width: 768px) {
    /* Mengurangi jarak kosong (padding) di sisi kiri dan kanan khusus layar HP */
    body {
        padding: 15px 8px !important; 
    }
    .rekening-card {
        grid-template-columns: 1fr;
        gap: 15px; /* Jarak sedikit dirapatkan karena kita akan memakai padding */
    }
    
    /* Menambahkan garis pembatas yang elegan di setiap bagian */
    .rek-col-1, .rek-col-2, .rek-col-3 {
        border-bottom: 1px solid #e5e7eb; /* Garis abu-abu tipis */
        padding-bottom: 15px; /* Ruang bernapas antara teks dan garis */
    }
    
    .rek-col-4 { 
        align-items: flex-start; 
        padding-top: 5px; 
    }
}
/* =========================================
   MODAL DETAIL & TIMELINE RIWAYAT
   ========================================= */
.riwayat-scroll {
    max-height: 250px; /* Batas tinggi sebelum scroll bar muncul */
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
}

/* Mempercantik bentuk Scroll Bar */
.riwayat-scroll::-webkit-scrollbar { width: 6px; }
.riwayat-scroll::-webkit-scrollbar-track { background: #f9fafb; border-radius: 4px; }
.riwayat-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.riwayat-scroll::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

.timeline-riwayat {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Garis lurus yang menyambungkan riwayat */
.timeline-riwayat::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e5e7eb;
}

.riwayat-item {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
}
.riwayat-item:last-child { margin-bottom: 0; }

.riwayat-ikon {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: white;
    border: 2px solid #e5e7eb;
}

.r-biru { border-color: #3b82f6; color: #3b82f6; }
.r-hijau { border-color: #16a34a; color: #16a34a; }
.r-merah { border-color: #dc2626; color: #dc2626; }
/* Warna ikon kuning untuk kronologi */
.r-kuning { border-color: #f59e0b; color: #f59e0b; }

/* Kotak elegan pembungkus teks panjang */
.box-kronologi {
    background-color: #fffbeb;
    border-left: 3px solid #f59e0b;
    padding: 10px 12px;
    margin-top: 8px;
    font-size: 13px;
    color: #4b5563;
    font-style: italic;
    border-radius: 0 4px 4px 0;
    white-space: pre-wrap; /* KUNCI: Membiarkan spasi dan "Enter" tetap rapi */
    line-height: 1.6;
}

.riwayat-tanggal {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 4px;
}

.riwayat-teks {
    font-size: 14px;
    color: #111827;
    line-height: 1.5;
}

/* Tombol Mode Admin */
.btn-admin-secret {
    width: 100%;
    background-color: #f9fafb;
    color: #6b7280;
    border: 1px dashed #d1d5db;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-admin-secret:hover {
    background-color: #eff6ff;
    color: #3b82f6;
    border-color: #3b82f6;
}
/* =========================================
   BANNER LAPOR & MODAL LAPORAN
   ========================================= */
.banner-lapor {
    background-color: #f4f8ff; /* Biru muda keabu-abuan sesuai referensi */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
    gap: 20px;
}

.banner-lapor-kiri {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ikon-tameng-lapor {
    background-color: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.banner-lapor p {
    margin: 0;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

.btn-lapor {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.btn-lapor:hover { background-color: #1d4ed8; }

.warning-box {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.5;
}

.warning-box i { margin-top: 3px; font-size: 16px; }

/* Responsif Banner Lapor untuk HP */
@media (max-width: 768px) {
    /* Mengurangi jarak kosong (padding) di sisi kiri dan kanan khusus layar HP */
    body {
        padding: 15px 8px !important; 
    }
    .banner-lapor {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    .banner-lapor-kiri { flex-direction: column; }
    .btn-lapor { width: 100%; justify-content: center; }
}
/* =========================================
   PERBAIKAN TOTAL KHUSUS MOBILE (HP)
   ========================================= */
@media (max-width: 768px) {
    /* Mengurangi jarak kosong (padding) di sisi kiri dan kanan khusus layar HP */
    body {
        padding: 15px 8px !important; 
    }

    /* 1. PERBAIKAN TOMBOL PENCARIAN (Dikembalikan ke Kanan) */
    .search-mobile-fix {
        display: flex !important;
        flex-direction: row !important; /* Susun menyamping (kiri-kanan) */
        gap: 8px !important;
    }
    
    .search-mobile-fix input {
        flex-grow: 1 !important; /* Input akan otomatis mengisi semua sisa ruang kosong */
        width: auto !important;
        border-radius: 8px !important;
    }
    
    .search-mobile-fix button {
        width: 44px !important; /* Lebar dan tinggi dibuat sama agar menjadi kotak presisi */
        height: 44px !important;
        padding: 0 !important; 
        border-radius: 8px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Memastikan ukuran ikon kaca pembesar tetap normal meski teksnya dihilangkan */
    .search-mobile-fix button i {
        font-size: 16px !important; 
        margin: 0 !important;
    }

    /* 2. STATS CARD DIPAKSA 4 SEJAJAR (TIDAK ADA SWIPE) */
    .stats-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important; /* Paksa membagi layar jadi 4 kolom presisi */
        gap: 5px !important; /* Jarak antar kotak dibuat sangat rapat */
        overflow: hidden !important; /* Matikan fitur swipe sepenuhnya */
        padding-bottom: 5px !important;
    }
    
    .stat-card {
        width: 100% !important;
        flex-direction: column !important; /* Ikon dipindah ke atas agar hemat tempat horizontal */
        justify-content: flex-start !important;
        text-align: center !important;
        padding: 8px 4px !important; /* Ruang dalam kotak dipres ekstrim */
    }
    
    .stat-card .stat-text {
        align-items: center !important;
        width: 100% !important;
    }

    .stat-card .stat-icon {
        width: 28px !important; /* Ikon dikecilkan ekstrim */
        height: 28px !important;
        font-size: 12px !important;
        margin: 0 auto 6px auto !important;
    }

    .stat-card .stat-number {
        font-size: 14px !important; /* Angka dikecilkan */
        margin-bottom: 2px !important;
    }

    .stat-card .stat-title {
        font-size: 9px !important; /* Teks judul dikecilkan drastis agar tidak terpotong */
        line-height: 1.1 !important;
        margin-top: 0 !important;
        white-space: normal !important;
    }

    .stat-card .stat-desc {
        font-size: 7px !important; /* Teks abu-abu di bawah dibuat ukuran mikro */
        line-height: 1.1 !important;
        margin-top: 2px !important;
    }

    /* 3. MEMISAHKAN DAFTAR REKENING MENJADI CARD TERPISAH (VERSI SLIM/PADAT) */
    .kotak-data-list {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .rekening-card {
        background: white !important;
        border: 1px solid #e5e7eb !important; 
        border-radius: 12px !important;
        margin-bottom: 15px !important; /* Jarak antar kartu dikurangi jadi 15px */
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
        padding: 12px 14px !important; /* PINGGIRAN KARTU DIPRES: Atas-bawah 12px, kiri-kanan 14px */
        gap: 0 !important; /* Mematikan jarak bawaan dari versi PC */
    }
    
    /* Memangkas jarak kosong mubazir di sekitar garis putus-putus */
    .rek-col-1, .rek-col-2, .rek-col-3 {
        border-bottom: 1px dashed #e5e7eb !important;
        padding-bottom: 8px !important; /* Jarak teks ditarik mendekat ke garis */
        margin-bottom: 8px !important;  /* Jarak garis ditarik mendekat ke teks bawahnya */
    }
    
    /* Menarik tombol "Lihat Detail" agar lebih rapat ke atas dan ke bawah */
    .rek-col-4 {
        padding-top: 2px !important;
        gap: 8px !important; 
    }

    /* 5. PERBAIKAN POP-UP (MODAL) FORM AGAR AMAN DARI KEYBOARD HP */
    .modal-content {
        margin: 20px auto !important; 
        max-height: none !important; /* Mematikan jeratan vh agar tinggi form bebas ke bawah */
        overflow-y: visible !important; /* Matikan scroll di dalam kotak putih */
        padding: 20px 15px !important; 
    }
    /* --- PERBAIKAN KOLOM INPUT & KRONOLOGI AGAR TIDAK TEMBUS KE KANAN --- */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    box-sizing: border-box !important; /* KUNCI RAHASIA: Memaksa garis pinggir & padding dihitung ke bagian DALAM */
    max-width: 100%; /* Memastikan lebarnya mentok di batas kanan dinding kotak putih */
}

/* Khusus untuk kolom Kronologi (textarea) */
.form-group textarea {
    resize: vertical; /* Mencegah pengunjung menarik kotak ke kanan/kiri, HANYA BISA ditarik ke bawah */
}

} /* <-- TANDA KURUNG PENUTUP @MEDIA SEKARANG ADA DI PALING BAWAH, VERSI PC AMAN! */
