:root {
    --text-color-black: #000;
    --text-color-white: #ffffff;
    --background-color-input: #fffaea;
    --border-color-input: #ffedb0;
    --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: #FFF9E6; 
    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: #FFF9E6 !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;
}

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

/* 1. Header Section (Penerimaan / Pengeluaran) */
.section-header {
    background-color: #FFF9C4; 
    color: #1F2937;
    font-weight: 600;
    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;
}

/* 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: #D69E2E; /* Warna Emas */
    font-weight: 700;
    font-size: 14px;
    flex: 1;
    padding-right: 10px;
}
.group-value {
    color: #D69E2E;
    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: #C79D3D; 
    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;
}

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