/* ==========================================================================
   1. CORE RESET & BASE STYLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #042753;
    /* Mengikuti basis background Landing Figma baru */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (Navbar)
   ========================================================================== */
.header-menu {
    background: #042753;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    /* TAMBAHKAN TRANSISI INI */
    transition: background-color 1s ease, box-shadow 1s ease;
}

.navbar-container {
    max-width: 1324px;
    /* Menyesuaikan spek Frame 54 */
    margin: 0 auto;
    padding: 20px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Section */
/* Kontainer utama logo (mengatur jarak ikon dan grup teks) */
.logo-web {
    display: flex;
    align-items: center;
    gap: 14px;
    /* Jarak antara lingkaran lambang dan teks */
}

/* Ukuran ikon lambang agar presisi proporsional */
.logo-icon {
    width: 50px;
    /* Sedikit diperbesar agar pas dengan teks 2 baris */
    height: 50px;
    object-fit: contain;
}

/* Kontainer teks untuk membuat efek susun atas-bawah */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Gaya teks baris atas (SOSIOLOGI) */
.logo-text-top {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    /* Extra Bold */
    font-size: 20px;
    /* Ukuran huruf lebih besar sesuai gambar */
    line-height: 1.1;
    /* Mengatur kerapatan spasi baris */
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

/* Gaya teks baris bawah (FIS UM) */
.logo-text-bottom {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 16px;
    /* Sedikit lebih kecil dari text atas */
    line-height: 1.1;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.logo-text {
    font-weight: 800;
    font-size: 20px;
    line-height: 17px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}

/* Nav Menu Links */
.nav-links {
    display: flex;
    gap: 40px;
    /* Jarak antar menu proporsional */
}

.nav-item {
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    /* TAMBAHKAN TRANSISI INI */
    transition: color 0.3s ease, opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.8;
}

/* ==========================================================================
   3. HERO CONTENT SECTION
   ========================================================================== */
.hero-section {
    max-width: 1280px;
    margin: 50px auto 0;
    width: 100%;
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-section {
        grid-template-columns: 7fr 5fr;
        padding: 5rem;
        margin-top: 50px;
        margin-bottom: 20px;
    }
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 1.15;
    color: #FFFFFF;
    max-width: 618px;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
        line-height: 49px;
    }
}

.hero-desc {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
    color: #FFFFFF;
    margin-top: 1.5rem;
    max-width: 511px;
}

@media (min-width: 768px) {
    .hero-desc {
        font-size: 24px;
        line-height: 31px;
    }
}

/* Action Buttons */
.btn-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 26px;
    /* Jarak vertikal tombol dari perhitungan top figma */
}

@media (min-width: 480px) {
    .btn-container {
        flex-direction: row;
    }
}

.btn-action {
    width: 100%;
    max-width: 183px;
    height: 53px;
    background: #0A5FCE;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: none;

    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    line-height: 53px;
    /* Center text vertically */
    text-align: center;
    color: #FFFFFF;

    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-action:hover {
    background: #084da7;
    transform: translateY(-2px);
}

/* Hero Image Right */
.hero-right {
    display: flex;
    justify-content: center;
}

.header-image {
    width: 100%;
    max-width: 542px;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   4. FOOTER SECTION
   ========================================================================== */
.footer-main {
    background: #02112A;
    width: 100%;
    min-height: 80px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: top;

}

.copyright-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-align: center;
    color: #FFFFFF;
    max-width: 80%;
    padding: 0 10px;
}

@media (min-width: 768px) {
    .copyright-text {
        font-size: 12px;
        line-height: 10px;
    }
}

/* Mobile Responsive Navigation Breakpoint */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   5. STYLES UNTUK HALAMAN LOGIN (ADMIN & MAHASISWA)
   ========================================================================== */

/* Tema Background Terang khusus Halaman Login */
.bg-login-page {
    background: #F4F5F7 !important;
}

/* Modifikasi Header Menu untuk Versi Terang */
.header-menu-light {
    background: #FFFFFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* Warna Teks Logo Versi Terang (Biru Tua) */
.header-menu-light .logo-text-top,
.header-menu-light .logo-text-bottom {
    color: #042753 !important;
}

/* Navigasi Item Versi Terang */
.nav-item-dark {
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #042753;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-item-dark:hover,
.nav-item-dark.active {
    color: #0A5FCE;
}

/* Layout Utama Form Login */
.login-main-container {
    max-width: 1280px;
    margin: 50px auto 0;
    width: 100%;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .login-main-container {
        grid-template-columns: 6fr 6fr;
    }
}

.login-left-form {
    display: flex;
    flex-direction: column;
}

.login-page-title {
    font-weight: 600;
    font-size: 36px;
    color: #042753;
    margin-bottom: 12px;
}

.login-title-line {
    border: 0;
    height: 1px;
    background: #042753;
    width: 100%;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.login-page-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Komponen Form Box */
.login-form-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #94A3B8;
}

.login-input-group input {
    width: 100%;
    max-width: 500px;
    height: 50px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #334155;
    outline: none;
    transition: border-color 0.2s ease;
}

.login-input-group input:focus {
    border-color: #0A5FCE;
    box-shadow: 0 0 0 3px rgba(10, 95, 206, 0.1);
}

/* Bagian Tombol Aksi di Bawah Form */
.login-action-row {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
}

.btn-login-submit {
    width: 150px;
    height: 48px;
    background: #0A5FCE;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-login-submit:hover {
    background: #084da7;
}

.link-forgot-pwd {
    font-size: 15px;
    font-weight: 600;
    color: #0A5FCE;
    text-decoration: none;
}

.link-forgot-pwd:hover {
    text-decoration: underline;
}

/* Penyesuaian Responsif Navbar Terang di Mobile */
@media (max-width: 768px) {
    .header-menu-light .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   6. DASHBOARD COMMON & SIDEBAR LAYOUT (ADMIN & MAHASISWA)
   ========================================================================== */
:root {
    --bg-main: #F4F5F7;
    --primary-blue: #0A5FCE;
    --dark-blue-bg: #042753;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 70px;
    --transition-speed: 0.3s;
}

.dashboard-body {
    background-color: var(--bg-main) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: row !important;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    background: var(--dark-blue-bg);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    transition: width var(--transition-speed) ease, left var(--transition-speed) ease;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar.collapsed .brand-text,
.sidebar.collapsed .menu-text {
    display: none !important;
    transition: all 0.3s ease;
}

.sidebar-brand {
    padding: 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px;
}

.sidebar-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.brand-text h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.brand-text p {
    font-size: 11px;
    opacity: 0.7;
    margin: 0;
    color: #FFFFFF;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
    flex-grow: 1;
    margin: 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    gap: 15px;
    transition: all 0.2s ease;
}

.sidebar-menu li a.active,
.sidebar-menu li a:hover {
    background: var(--primary-blue);
    color: #FFFFFF;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.btn-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: #FF6B6B;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-sidebar-logout:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* Main Workspace Content Area */
.main-workspace {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 2rem;
    transition: margin-left var(--transition-speed) ease, width var(--transition-speed) ease;
    min-height: 100vh;
}

.main-workspace.expanded {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100% - var(--sidebar-collapsed-width));
}

/* Top Mini Navbar di Dashboard */
.top-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: #FFFFFF;
    padding: 15px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.toggle-sidebar-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark-blue-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s;
}

.toggle-sidebar-btn:hover {
    background: #F1F5F9;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-badge {
    background: #E2E8F0;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--dark-blue-bg);
    font-size: 14px;
}

/* ==========================================================================
   7. DASHBOARD CARDS & TABLES
   ========================================================================== */
/* Grid Counter Statistik */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card-stat {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.icon-blue {
    background: rgba(10, 95, 206, 0.1);
    color: var(--primary-blue);
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    /* Ukuran ikon Bootstrap */
    width: 24px;
}

/* ==========================================================================
   8. STYLES MODAL & STEPPER FORM LAYANAN
   ========================================================================== */
.modal-overlay {
    display: none;
    /* Diaktifkan via JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 39, 83, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    /* Tetap di tengah jika konten muat */
    padding: 20px;

    /* PENTING: Mengaktifkan scroll pada overlay jika modal terlalu tinggi */
    overflow-y: auto;
}

.modal-content {
    background: #FFFFFF;
    width: 100%;
    max-width: 850px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;

    /* PENTING: Batasi tinggi maksimal modal dan kelola scroll internal */
    max-height: 90vh;
    /* Maksimal 90% dari tinggi layar browser */
    display: flex;
    flex-direction: column;

    animation: fadeInModal 0.3s ease-out;
}

/* Membungkus element form agar area inputan saja yang bisa di-scroll */
#formPengajuan {
    overflow-y: auto;
    padding-right: 8px;
    /* Jarak aman agar scrollbar tidak menutupi input */
    flex-grow: 1;
}

/* Kustomisasi Scrollbar agar terlihat lebih clean & modern (Opsional) */
.modal-content #formPengajuan::-webkit-scrollbar {
    width: 6px;
}

.modal-content #formPengajuan::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.modal-content #formPengajuan::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

.modal-content #formPengajuan::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.modal-header {
    display: flex;
    flex-direction: column;
    /* Membuat susunan vertikal jika nanti ada subtitle */
    align-items: flex-start;
    /* Meratakan teks ke kiri */
    border-bottom: 2px solid #F1F5F9;
    /* Garis pembatas bawah yang halus */
    padding-bottom: 16px;
    margin-bottom: 30px;
    /* Jarak aman sebelum masuk ke komponen Stepper */
    width: 100%;
}

/* Gaya Teks Judul Utama di dalam Header */
.modal-header h4 {
    font-family: 'Inter', sans-serif;
    color: #042753;
    /* Warna Biru Tua khas Sosiocare */
    font-size: 22px;
    font-weight: 700;
    /* Tebal/Bold agar tegas */
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* Opsional: Jika Anda ingin menambahkan teks deskripsi kecil di bawah judul nantinya */
.modal-header p {
    font-size: 13px;
    color: #94A3B8;
    margin-top: 4px;
    margin-bottom: 0;
    font-weight: 500;
}

@keyframes fadeInModal {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tampilan Stepper Atas */
.stepper-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
    padding: 0 10px;
}

.stepper-container::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 25%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 3px solid #E2E8F0;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94A3B8;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #0A5FCE;
    border-color: #0A5FCE;
    color: #FFFFFF;
    box-shadow: 0 0 10px rgba(10, 95, 206, 0.3);
}

.step-label {
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
}

.step.active .step-label {
    color: #042753;
}

/* Form Step Visibility */
.form-step {
    display: none;
}

.form-step.step-visible {
    display: block;
}

.step-title {
    color: #042753;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Grid Kartu Opsi Layanan (Step 1) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.service-card {
    cursor: pointer;
    display: block;
}

.service-card input {
    display: none;
}

.card-inner {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    height: 100%;
    transition: all 0.2s ease;
    background: #FFFFFF;
}

.card-inner i {
    font-size: 36px;
    color: #0A5FCE;
    margin-bottom: 12px;
    display: inline-block;
}

.card-inner h6 {
    color: #042753;
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.card-inner p {
    font-size: 11px;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

.service-card input:checked+.card-inner {
    border-color: #0A5FCE;
    background: rgba(10, 95, 206, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 95, 206, 0.1);
}

/* Form Input Element (Step 2) */
.input-group-modal {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group-modal label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.input-group-modal input,
.input-group-modal textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    font-size: 14px;
}

.input-group-modal input:focus,
.input-group-modal textarea:focus {
    border-color: #0A5FCE;
}

/* Kotak Upload (Step 3) */
.upload-box {
    border: 2px dashed #CBD5E1;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    background: #F8FAFC;
    cursor: pointer;
    position: relative;
}

.upload-box i {
    font-size: 44px;
    color: #0A5FCE;
    margin-bottom: 10px;
    display: block;
}

.upload-box p {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    margin-bottom: 15px;
}

.upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Box Review Konfirmasi (Step 4) */
.confirm-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.confirm-box i {
    color: #10b981;
    font-size: 20px;
}

.confirm-box p {
    margin: 0;
    font-size: 14px;
    color: #065f46;
    font-weight: 500;
    line-height: 1.5;
}

/* Footer Bagian Tombol */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
    background: #FFFFFF;
    /* Menjaga tombol tetap solid di bawah */
}

.btn-back {
    background: #E2E8F0;
    color: #475569;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.btn-next,
#btnSubmit {
    background: #0A5FCE;
    color: #FFFFFF;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.btn-next:hover,
#btnSubmit:hover {
    background: #084da7;
}

/* Gaya untuk Tombol Batal di Footer */
.btn-cancel {
    background: #F1F5F9;
    color: #64748B;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    margin-right: auto;
    /* Membantu mendorong tombol navigasi lain ke sebelah kanan */
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #E2E8F0;
    color: #475569;
}

/* Gaya Tanda Bintang Wajib Diisi */
.required {
    color: #EF4444;
    margin-left: 2px;
}

/* Kotak Informasi Panduan di Atas Form */
.info-notice-box {
    background-color: #F0F6FF;
    border-left: 4px solid #0A5FCE;
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.info-notice-box h6 {
    color: #042753;
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-notice-box p {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

/* Styling Baru untuk Daftar Kontak Administrasi Jurusan */
.cp-list {
    display: grid;
    /* Membagi menjadi 2 kolom sama rata pada layar komputer/laptop */
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    /* Jarak antarbaris 8px, jarak antarkolom 20px */
    padding: 10px 0 0 0;
    margin: 8px 0 0 0;
    list-style: none;
    /* Menghilangkan bulatan bullet list bawaan HTML */
    border-top: 1px dashed #CBD5E1;
    /* Garis pembatas atas halus */
}

.cp-list li {
    font-size: 11px;
    color: #64748B;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

/* Menambahkan icon kecil di depan setiap nama prodi agar lebih manis */
.cp-list li::before {
    content: "•";
    color: #0A5FCE;
    /* Warna biru mengikuti tema Sosiocare */
    font-weight: bold;
    display: inline-block;
    width: 12px;
    margin-left: -2px;
}

/* RESPONSIVE: Jika pop-up modal dibuka di layar hp yang sempit, otomatis ciut menjadi 1 kolom */
@media (max-width: 576px) {
    .cp-list {
        grid-template-columns: 1fr;
        gap: 6px 0;
    }
}

/* Styling Dropdown Select di Modal */
.input-group-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    font-size: 14px;
    background-color: #FFFFFF;
    color: #334155;
    cursor: pointer;
}

.input-group-modal select:focus {
    border-color: #0A5FCE;
}

/* Text tambahan batas file upload */
.file-limits {
    font-size: 11px !important;
    color: #94A3B8 !important;
    margin-top: -5px;
}

/* Styling Grup Opsi Radio Button di Modal */
.radio-group-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    padding: 5px 0;
}

.radio-label {
    font-size: 14px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #0A5FCE;
    /* Warna Biru Sosiocare untuk buatan radio */
}

.optional {
    font-size: 11px;
    color: #94A3B8;
    font-style: italic;
    margin-left: 4px;
}

.alert-info {
    background: #E0F2FE;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.alert-danger {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.service-card {
    transition: 0.3s;
}

.service-card:hover:not([style*="opacity: 0.5"]) {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Styling Khusus Modal Detail */
.modal-custom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 39, 83, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-custom-box {
    background: #fff;
    width: 100%;
    max-width: 550px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: modalMasuk 0.25s ease-out;
}

@keyframes modalMasuk {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-custom-header {
    padding: 18px 24px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-custom-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-blue);
}

.close-modal-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #94A3B8;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: #64748B;
}

.modal-custom-body {
    padding: 24px;
}

.table-detail-view {
    width: 100%;
    border-collapse: collapse;
}

.table-detail-view td {
    padding: 12px 14px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13px;
    vertical-align: top;
}

.label-detail {
    width: 35%;
    font-weight: 700;
    color: #64748B;
}

.value-detail {
    color: #334155;
}

.modal-custom-footer {
    padding: 15px 24px;
    border-top: 1px solid #E2E8F0;
    text-align: right;
    background: #F8FAFC;
}

.btn-close-secondary {
    background: #E2E8F0;
    color: #475569;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

.btn-close-secondary:hover {
    background: #CBD5E1;
}

/* Tombol aksi detail di tabel */
.btn-detail {
    background: #E0F2FE;
    color: #0369A1;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.btn-detail:hover {
    background: #0369A1;
    color: white;
}

/* ==========================================================================
   9. LANDING PAGE: SECTION STYLING (Partners, Info, FAQ, Location, Shortcut)
   ========================================================================== */

/* Layout Helper */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styling Section */
.partners-section {
    background: #f8fafc;
    padding: 40px 0;
}

.partners-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    height: 50px;

    /* 1. Kondisi Awal */
    filter: grayscale(100%);
    /* Membuat gambar hitam putih */
    opacity: 0.7;
    /* Transparansi awal */

    /* 2. Mengatur Animasi */
    transition: all 0.4s ease;
    /* Durasi dan jenis animasi */
    cursor: pointer;
}

/* 3. Efek saat Kursor Mengarah (Hover) */
.partner-logo:hover {
    filter: grayscale(0%);
    /* Mengubah gambar ke warna asli */
    opacity: 1;
    /* Menjadi tidak transparan */
    transform: scale(1.15);
    /* Membesar sebesar 15% */
}

.info-section {
    padding: 100px 0;
    text-align: center;
}

.info-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.info-desc {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #fff;
}

.faq-section {
    padding: 100px 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.faq-title {
    text-align: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.faq-item {
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.faq-question {
    color: #042753;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.location-section {
    background: #042753;
    padding: 100px 0;
    text-align: center;
}

.location-title {
    text-align: center;
    justify-content: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.location-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shortcut-section {
    display: grid;
    background: #cae0fc;
    padding: 30px 0;
    text-align: center;
}

/* Wrapper untuk layout side-by-side */
.shortcut-wrapper {
    display: flex;
    align-items: center;
    /* Vertikal center */
    gap: 40px;
    /* Jarak antara logo dan link */
    padding: 40px 0;
}

/* Brand Logo Styling */
.shortcut-brand {
    flex: 0 0 250px;
    /* Ukuran lebar tetap untuk logo */
    text-align: center;
}

.shortcut-brand img {
    max-width: 100%;
    height: auto;
}

/* Konten Links */
.shortcut-content {
    flex: 1;
    /* Mengambil sisa ruang */
}

/* Mengatur agar judul rata kiri jika di samping logo */
.shortcut-title {
    text-align: left;
    margin-bottom: 20px;
}

/* Links Grid/List */
.shortcut-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Responsif: Jika layar kecil, logo pindah ke atas dan mengecil */
@media (max-width: 768px) {
    .shortcut-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .shortcut-title {
        text-align: center;
    }

    .shortcut-brand {
        margin-bottom: 0;
        flex: 0 0 auto;
        /* Biarkan fleksibel di mobile */
    }

    /* KODE INI YANG MEMBUAT GAMBAR MENGECIL */
    .shortcut-brand img {
        max-width: 200px;
        /* Atur ukuran maksimum logo di mobile */
        width: 100%;
        /* Memastikan gambar tidak melebihi lebar layar */
        height: auto;
        margin: 0;
    }

    /* KODE BARU: Mengubah link menjadi 2 kolom di mobile */
    .shortcut-links {
        display: grid;
        /* Mengubah dari flex ke grid */
        grid-template-columns: 1fr 1fr;
        /* Membagi menjadi 2 kolom yang sama lebar */
        gap: 10px;
        /* Jarak antar tombol */
        align-items: center;
    }

    /* Penyesuaian agar tombol tetap rapi di grid */
    .shortcut-link {
        width: 100%;
        /* Memastikan tombol memenuhi lebar kolom */
        padding: 10px 5px;
        /* Sedikit mengecilkan padding agar muat 2 kolom */
        font-size: 10pt;
        /* Sedikit memperkecil font agar tidak terpotong */
    }
}

.shortcut-title {
    color: #042753;
    margin-bottom: 10px;
    text-align: left;
    /* Judul ke tengah */
    font-size: 1.5rem;
    font-weight: bold;
}

.shortcut-link {
    background: transparent;
    /* Ubah ke transparan agar terlihat elegan */
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    /* Dibuat sedikit tebal agar lebih jelas */
    transition: 0.3s;
    display: flex;
    justify-content: center;
    /* Tautan ke tengah */
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
    background: #fff;
    color: #042753;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 300;
    font-size: 12pt;
    transition: 0.3s;
}

/* Efek Hover untuk interaksi yang lebih premium */
.shortcut-link:hover {
    background: #0A5FCE;
    /* Warna background putih saat di-hover */
    color: #fff;
    /* Warna teks berubah menjadi biru tua */
}


@media (max-width: 768px) {
    .shortcut-links {
        flex-direction: column;
        align-items: center;
    }
}

/* Animasi Helper */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Penambahan Detail Premium */
.info-section,
.faq-section {
    border-radius: 0px;
    margin: 20px auto;
}

/* Hover Effect Premium pada FAQ */
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Partner Logo Grayscale to Color */
.partner-logo {
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.partner-logo:hover {
    filter: grayscale(0);
}

.header-menu {
    background: rgba(4, 39, 83, 0.9) !important;
    /* Warna biru dengan transparansi */
    backdrop-filter: blur(10px);
    /* Efek buram premium */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* CSS Form belum diisi. Setting di Script.js Modal Stepper Form */

.input-error {
    border: 2px solid #dc3545 !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}