/* =========================================
   FEES PAGE STYLES (HUB & BRANCH)
   File: css/fees.css
   ========================================= */

/* --- 1. LAYOUT UTAMA (SPLIT) --- */
.fees-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}
@media (max-width: 991px) {
    .fees-split { grid-template-columns: 1fr; gap: 40px; }
}


/* --- 2. JUDUL BAGIAN (SPLIT TITLE) --- */
.split-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: var(--primary);
    font-weight: 800;
    position: relative;
    display: block;
}
.split-title::after {
    content: ''; 
    position: absolute; 
    bottom: -2px; 
    width: 60px; 
    height: 3px; 
    background: var(--gold);
}

/* Logika Arah Bahasa (LTR/RTL) */
html[dir="ltr"] .split-title { text-align: left !important; }
html[dir="ltr"] .split-title::after { left: 0 !important; right: auto !important; }
html[dir="rtl"] .split-title { text-align: right !important; }
html[dir="rtl"] .split-title::after { right: 0 !important; left: auto !important; }


/* --- 3. KARTU BULANAN (HUB - WHITE STYLE) --- */
.monthly-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid var(--primary);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom: 25px; /* Jarak antar kartu */
}
.monthly-header {
    background: var(--primary);
    color: #fff;
    padding: 25px;
}
.price-tag {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--gold);
    font-family: sans-serif;
    margin: 10px 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.monthly-body {
    padding: 25px;
}

/* List Fasilitas (Hub) */
.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: right;
}
html[dir="ltr"] .facilities-list { text-align: left; }

.facilities-list li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}
.facilities-list i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}


/* --- 4. GRID NEGARA (HUB) --- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsif */
    gap: 15px;
    margin-bottom: 30px;
}
.country-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: 0.3s;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none; 
    height: 100%;
}
.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: var(--gold);
}
.flag-emoji { font-size: 2.5rem; margin-bottom: 10px; line-height: 1; }
.country-name { font-size: 1.3rem; font-weight: 800; color: #333; margin-bottom: 10px; }
.btn-pill {
    margin-top: auto;
    border: 1px solid var(--primary); 
    color: var(--primary);
    padding: 5px 15px; 
    border-radius: 50px; 
    font-size: 1rem; 
    font-weight: 700; 
    transition: 0.3s;
}
.country-card:hover .btn-pill { background: var(--primary); color: #fff; }


/* --- 5. KOMPONEN HALAMAN CABANG (Branch) --- */
/* Tabel Clean */
.card-fee-white {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.compact-table { width: 100%; border-collapse: collapse; }
.compact-table th { background: #f8f9fa; color: #333; font-weight: 700; padding: 12px 20px; font-size: 1rem; border-bottom: 1px solid #ddd; }
.compact-table td { padding: 12px 20px; border-bottom: 1px solid #eee; color: #444; font-size: 0.95rem; }

/* Arah Teks Tabel */
html[dir="ltr"] .compact-table th, html[dir="ltr"] .compact-table td { text-align: left; }
html[dir="rtl"] .compact-table th, html[dir="rtl"] .compact-table td { text-align: right; }

/* Kolom Harga */
.price-col { font-family: sans-serif; font-weight: 700; color: var(--primary); width: 30%; white-space: nowrap; }
html[dir="ltr"] .price-col { text-align: right !important; }
html[dir="rtl"] .price-col { text-align: left !important; }

/* Baris Total */
.total-row { background: var(--gold) !important; color: #fff; }
.total-row td { color: #fff; font-weight: 900; border: none; font-size: 1.1rem; }
.total-row .price-col { color: #fff; }

/* Notes Box */
.clean-notes-box { padding: 20px; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.clean-notes-list { list-style: none; padding: 0; margin: 0; }
.clean-notes-list li { margin-bottom: 15px; font-size: 0.95rem; color: #555; line-height: 1.6; }
.clean-notes-list li strong { display: block; color: var(--primary); margin-bottom: 3px; }

/* Monthly Card Dark (Branch) */
.monthly-card-dark {
    background: var(--primary-dark); color: #fff; border-radius: 10px; padding: 30px 20px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1);
}
.monthly-price { font-size: 3rem; font-weight: 800; color: var(--gold); margin: 10px 0; font-family: sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.monthly-divider { border-top: 1px dashed rgba(255,255,255,0.2); margin: 20px 0; }
.monthly-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
html[dir="ltr"] .monthly-features { text-align: left; }
html[dir="rtl"] .monthly-features { text-align: right; }
.mf-item { color: rgba(255,255,255,0.9); font-size: 0.95rem; display: flex; align-items: center; }
.mf-item i { color: var(--gold); width: 25px; text-align: center; margin-right: 8px; }
html[dir="rtl"] .mf-item i { margin-right: 0; margin-left: 8px; }