:root {
    --text-color-black: #000;
    --text-color-white: #ffffff;
    
    /* TEMA BIRU NAVY */
    --background-color-input: #eef2fa; /* Biru muda pucat */
    --border-color-input: #d0def7;     /* Outline biru tipis */
    --primary-color: #004B87;          /* Biru Navy Utama */
    --primary-light: #E1F0FF;          /* Biru Sangat Muda (Untuk Header Tabel/Section) */
    
    --background-color-active: rgba(255, 255, 255, 0.25);
}

/* hide bottom navigation */
/* .navigation-bottom {
    display: none;
} */

.header {
    display: flex;
    padding: 18px 15px 0; /* atas kanan dan kiri bawah*/
    margin-bottom: 27px;
}
.header .btn-link {
    background: none;
    border: none;
    color: var(--text-color-black);
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 28px;
    width: fit-content;
    padding: 0 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.43px;
}

.body {
    padding: 16px;
    /* TAMBAHKAN padding-bottom agar konten paling bawah tidak tertutup navbar */
    padding-bottom: 100px; 
    
    background-color: #ffffff;
    
    /* UBAH min-height agar proporsional dengan layar HP */
    min-height: calc(100vh - 80px); 
    
    font-family: 'Inter', sans-serif;
    
    /* Tambahkan relative positioning */
    position: relative; 
    box-sizing: border-box;
}

/* --- UPDATE: FILTER SECTION --- */
.filter-container { 
    margin-bottom: 20px; 
    display: flex;
    gap: 10px; /* Jarak antar filter diperkecil sedikit */
}

.filter-group {
    position: relative; 
    border-radius: 10px; /* Radius diperkecil sedikit agar proporsional */
    background-color: var(--background-color-input); 
    overflow: hidden;
    margin-bottom: 0; 
}

/* LOGIKA RASIO LEBAR (30% Tahun : 70% Bulan) */

/* Filter Pertama (Tahun) */
.filter-group:first-child {
    flex: 3.5; /* Mengambil 3 bagian (30%) */
}

/* Filter Terakhir (Bulan) */
.filter-group:last-child {
    flex: 6.5; /* Mengambil 7 bagian (70%) */
}

/* Style Select - UKURAN DIPERKECIL */
select {
    width: 100%; 
    background-color: var(--background-color-input) !important; 
    border: none !important;
    outline: none !important; 
    box-shadow: none !important;
    color: #1F2937 !important; 
    font-weight: 500; 
    
    /* Font size dikecilkan sedikit (opsional, bisa tetap 14px) */
    font-size: 12px; 
    
    /* Padding dikurangi agar lebih ramping (Tadi 14px 16px) */
    padding: 8px 10px; 
    
    border-radius: 10px !important;
    appearance: none; 
    -webkit-appearance: none;
}

.filter-group img {
    position: absolute; 
    right: 12px; /* Posisi icon disesuaikan */
    top: 50%; 
    transform: translateY(-50%); 
    pointer-events: none;
    width: 14px; /* Ukuran icon diperkecil sedikit */
    height: auto;
    /* Opsional: Jika icon panah bawaan berwarna emas, Anda bisa menambahkan filter CSS di HTML nya nanti */
}

/* --- REPORT LIST STYLING --- */

/* 1. Header Section (Penerimaan / Pengeluaran) */
.section-header {
    background-color: var(--primary-light); /* Diubah dari Kuning Pucat jadi Biru Sangat Muda */
    color: var(--primary-color);            /* Diubah menjadi Biru Navy */
    font-weight: 700;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 12px;
    text-transform: uppercase;
    border-left: 4px solid var(--primary-color); /* Tambahan aksen garis kiri agar lebih tegas */
}

/* 2. Group Title */
.group-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 14px;
    margin-bottom: 8px;
    padding-left: 16px;  
    padding-right: 16px;
}
.group-title {
    color: var(--primary-color); /* Diubah dari warna Emas jadi Biru Navy */
    font-weight: 700;
    font-size: 14px;
    flex: 1;
    padding-right: 10px;
}
.group-value {
    color: var(--primary-color); /* Diubah dari warna Emas jadi Biru Navy */
    font-weight: 700;
    font-size: 14px;
}

/* 3. Detail Item */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0 6px 24px;
    color: #374151;
    font-size: 13px;
    line-height: 1.5;
    padding: 6px 16px 6px 32px;
}
.detail-name {
    flex: 1;
    padding-right: 10px;
    font-weight: 400;
}
.detail-value {
    font-weight: 500;
    color: #111827;
}

/* 4. Summary Row */
.summary-box {
    background-color: var(--primary-color); /* Diubah dari C79D3D (Emas) jadi Biru Navy */
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 75, 135, 0.2); /* Tambahan efek shadow tipis */
}

.loading-state {
    text-align: center;
    padding: 40px 0;
    color: #9CA3AF;
    font-size: 14px;
}