/* =========================================
   ADMISSION PAGE SPECIFIC STYLES
   File: css/admission.css
   ========================================= */

/* --- 1. LAYOUT & NAVIGATION --- */

/* Navigasi Kembali */
.nav-back-container {
    padding: 20px 0;
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
}
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
}
.btn-back:hover {
    color: var(--primary);
    transform: translateX(-5px); /* Efek gerak kiri untuk LTR */
}

/* Grid Utama (Kiri & Kanan) */
.admission-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 Bagian Konten, 1 Bagian Sidebar */
    gap: 40px;
    align-items: start;
}

/* Judul Section (Rata Kiri) */
.section-head {
    text-align: left;
}


/* --- 2. ALUR PENDAFTARAN (STEPS) --- */

/* Kartu Langkah (Menggantikan inline style pada card-dark) */
.step-card {
    text-align: left;
    padding: 25px;
    /* Mewarisi background/border dari .card-dark di components.css */
}
.step-card-active {
    border: 1px solid var(--primary); /* Khusus kartu link form */
}

/* Header Langkah (Nomor + Judul) */
.step-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}
.step-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

/* Nomor Langkah (Lingkaran) */
.step-num {
    background: #fff;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Deskripsi Langkah */
.step-desc {
    font-size: 1.1rem;
    margin-bottom: 0;
}
.icon-small {
    font-size: 0.8rem;
    color: var(--primary);
}


/* --- 3. DOKUMEN PERSYARATAN (LIST) --- */

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.doc-list li {
    position: relative;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}
.doc-list li i {
    position: absolute;
    top: 5px;
    color: var(--primary);
}

/* Support RTL & LTR Otomatis */
html[dir="ltr"] .doc-list li { padding-left: 30px; }
html[dir="ltr"] .doc-list li i { left: 0; }
html[dir="rtl"] .doc-list li { padding-right: 30px; }
html[dir="rtl"] .doc-list li i { right: 0; }


/* --- 4. MATERI UJIAN --- */

.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.exam-card {
    text-align: center;
    padding: 25px;
}
.exam-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}
.exam-title {
    margin-bottom: 10px;
    color: var(--primary-dark);
}
.exam-desc {
    font-size: 1.1rem;
    margin: 0;
}
.exam-intro {
    color: #666;
    margin-bottom: 10px;
}


/* --- 5. SIDEBAR COMPONENTS --- */

/* Base Sidebar Card */
.sidebar-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* Variant Warna Sidebar */
.sidebar-white {
    border: 2px solid var(--gold);
    background: #fffcf5;
}
.sidebar-green {
    border: 2px solid var(--primary);
    background: #eef7f2;
}

/* Judul Sidebar */
.sidebar-title {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 25px;
    
    /* Flexbox untuk menengahkan Icon + Teks */
    display: flex;
    align-items: center; /* Tengah Vertikal */
    justify-content: center; /* Tengah Horizontal */
    gap: 15px; /* Jarak antara Icon dan Teks */
    line-height: 1.3;
}

/* Styling Icon Font (FontAwesome) */
.sidebar-title i { 
    font-size: 1.6rem; 
}

/* Styling Icon Gambar (Google Form) - PERBAIKAN DI SINI */
.sidebar-title img { 
    width: 35px; /* Ukuran gambar */
    height: auto;
    margin: 0; /* Reset margin agar bisa di-tengah oleh flexbox */
    display: block;
}

/* Informasi Label & Value */
.info-group { margin-bottom: 20px; }
.info-label {
    display: block;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: bold;
}
.info-value-lg {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}
.info-value-md {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}
.info-value-xl {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}
.info-note {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* Bank Box */
.bank-box {
    margin-bottom: 15px;
}
.bank-logo {
    display: block;
    margin: 0 auto 15px auto;
    height: 45px;
}
.bank-number {
    display: block;
    letter-spacing: 1px;
    color: #333;
    font-weight: bold;
}
.bank-name {
    color: #555;
}

/* Tombol Form & WA */
.btn-form {
    width: 100%;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 10px;
}
.url-display {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 10px;
    font-family: monospace;
    font-size: 0.95rem;
    color: #555;
    display: block;
    margin-top: 15px;
    word-break: break-all;
    border-radius: 6px;
    user-select: all;
}

/* Admin Contact Item */
.admin-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.admin-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.admin-name {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.admin-number {
    display: block;
    color: #555;
    margin-bottom: 10px;
    font-family: monospace;
}
.btn-wa-chat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}
.btn-wa-chat:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    color: #fff;
}
/* Judul Sidebar */
.sidebar-title {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.3;
}
.sidebar-title i { font-size: 1.6rem; }
.sidebar-title img { width: 30px; margin-bottom: 0; }
.center-icon { display: block; margin: 0 auto 15px auto; width: 30px; } /* Untuk icon Gform di tengah */

/* Informasi Label & Value */
.info-group { margin-bottom: 20px; }
.info-label {
    display: block;
    color: #777;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: bold;
}
.info-value-lg {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}
.info-value-md {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}
.info-value-xl {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary);
}
.info-note {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

/* Bank Box */
.bank-box {
    margin-bottom: 15px;
}
.bank-logo {
    display: block;
    margin: 0 auto 15px auto;
    height: 45px;
}
.bank-number {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #333;
    font-weight: bold;
}
.bank-name {
    font-size: 0.9rem;
    color: #555;
}

/* Tombol Form & WA */
.btn-form {
    width: 100%;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    text-decoration: none;
    margin-bottom: 10px;
}
.url-display {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 10px;
    font-family: monospace;
    font-size: 0.95rem;
    color: #555;
    display: block;
    margin-top: 15px;
    word-break: break-all;
    border-radius: 6px;
    user-select: all;
}

/* Admin Contact Item */
.admin-item {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.admin-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.admin-name {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.admin-number {
    display: block;
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    font-family: monospace;
}
.btn-wa-chat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(37, 211, 102, 0.3);
}
.btn-wa-chat:hover {
    background: #1ebc57;
    transform: translateY(-2px);
    color: #fff;
}


/* --- 6. RESPONSIVE UTILITIES --- */

/* Mobile Only Time (Banner Atas) */
.mobile-only-time { display: none; }

/* Desktop Sidebar Time (Widget Samping) */
/* Hilang di mobile, muncul di desktop */
@media (max-width: 991px) {
    .admission-details-grid {
        grid-template-columns: 1fr;
    }
    .mobile-only-time {
        display: block;
        margin-bottom: 30px;
    }
    .desktop-sidebar-time {
        display: none !important;
    }
}