/* ===== DESAIN SISTEM WEB PROGRAM STUDI PGSD UNSULBAR ===== */
/* Tema Estetika: Deep Amber Brown & Gold Luxury Dark */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Pure Gold & Amber Palette */
    --gold-pure: #facc15;
    --gold-soft: #fef08a;
    --gold-bright: #fde047;
    --gold-dark: #ca8a04;
    --gold-deep: #a16207;
    --gold-glow: rgba(250, 204, 21, 0.25);
    
    /* Deep Brown & Obsidian Contrast */
    --amber-bg: #1a1d15;
    --amber-surface: #1c1503;
    --amber-surface-2: #261c06;
    --amber-surface-3: #322508;
    --amber-border: rgba(250, 204, 21, 0.25);
    --amber-border-glow: rgba(250, 204, 21, 0.5);

    /* Text Tones */
    --text-gold-light: #fef08a;
    --text-gold: #fde68a;
    --text-cream: #d4b483;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #1c1917;
    
    /* Status Colors */
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --rose-600: #e11d48;
    --sky-600: #0284c7;

    /* Borders & Cards */
    --card-bg: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    --card-border: rgba(250, 204, 21, 0.25);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 204, 21, 0.06);
    --shadow-glow: 0 0 25px rgba(250, 204, 21, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
}

html {
    height: 100%;
}

body {
    background-color: #1a1d15;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(250, 204, 21, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(202, 138, 4, 0.07) 0%, transparent 45%),
        linear-gradient(180deg, #181b13 0%, #1e2118 50%, #161811 100%);
    background-attachment: fixed;
    color: #e2e8f0;
    min-height: 100%;
    min-height: 100vh;
    display: flex !important;
    flex-direction: column !important;
}

/* Skala tampilan 101% untuk desktop, laptop (MacBook), dan layar lebar */
@media (min-width: 992px) {
    body {
        zoom: 101%;
        min-height: calc(100vh / 1.01) !important;
    }

    /* Pastikan elemen overlay fixed fullscreen (preloader, canvas, batik background, modal) tetap menutup 100% layar fisik penuh */
    .site-preloader,
    #particlesCanvas,
    .batik-bg-layer,
    #batikBackground,
    #modalEditJudulDosen,
    .modal-backdrop,
    .modal-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: calc(100vw / 1.01) !important;
        height: calc(100vh / 1.01) !important;
        min-width: calc(100vw / 1.01) !important;
        min-height: calc(100vh / 1.01) !important;
        max-width: none !important;
        max-height: none !important;
    }
}

/* NAVBAR GLOBAL: DARK LUXURY BAR ATAS (DIRAMPINGKAN 91% DARI UKURAN ASLI) */
.navbar {
    background: rgba(12, 14, 2, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid #facc15;
    padding: 11px 22px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(250, 204, 21, 0.15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-brand img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(250, 204, 21, 0.45));
}

.brand-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.71rem;
    color: #facc15;
    font-weight: 600;
    display: block;
    line-height: 1.2;
}

.brand-text span:last-child {
    color: #cbd5e1;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.nav-link {
    text-decoration: none;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 7px 15px;
    border-radius: 9px;
    transition: all 0.25s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(250, 204, 21, 0.15);
    color: #facc15;
}

.btn-login {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%);
    color: #0c0e02;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: 11px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.55);
}

/* HERO BANNER & SUBTITLE ANIMATION */
.hero-section {
    text-align: center;
    padding: 50px 20px 35px 20px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ANIMATION TEKS BERGANTIAN */
.subtitle-wrapper {
    min-height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alternating-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fde047;
    background: rgba(42, 31, 6, 0.65);
    padding: 10px 24px;
    border-radius: 14px;
    border: 1px dashed rgba(250, 204, 21, 0.45);
    display: inline-block;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* SECTION CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
    flex: 1 0 auto !important;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    margin-bottom: 30px;
    position: relative;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 4px;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #facc15, #ca8a04);
    border-radius: 4px;
    margin-top: 10px;
}

/* DOSEN GRID (HORIZONTAL SCROLL) */
.dosen-grid {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    margin-bottom: 50px;
    margin-top: -14px;
    margin-left: -20px;
    margin-right: -20px;
    padding-top: 20px;
    padding-bottom: 28px;
    padding-left: 30px;
    padding-right: 30px;
    scroll-padding-left: 30px;
    scroll-padding-right: 30px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.dosen-grid::-webkit-scrollbar {
    height: 10px;
}
.dosen-grid::-webkit-scrollbar-track {
    background: rgba(22, 17, 5, 0.8);
    border-radius: 10px;
    margin: 0 20px;
}
.dosen-grid::-webkit-scrollbar-thumb {
    background: #ca8a04;
    border-radius: 10px;
}
.dosen-grid::-webkit-scrollbar-thumb:hover {
    background: #facc15;
}

/* DOSEN CARD: DEEP AMBER DARK LUXURY */
.dosen-card {
    min-width: 320px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-margin-left: 30px;
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 204, 21, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dosen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.22) 0%, rgba(202, 138, 4, 0.12) 100%);
    z-index: 1;
}

.dosen-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(250, 204, 21, 0.25);
    border-color: #facc15;
}

.dosen-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #facc15;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    margin-top: 20px;
    margin-bottom: 14px;
    z-index: 2;
    background-color: #261c06;
}

.dosen-info {
    z-index: 2;
    width: 100%;
}

.dosen-name {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 4px;
}

.dosen-nip {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.badge-jabatan {
    display: inline-block;
    background: rgba(250, 204, 21, 0.15);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.35);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.dosen-keahlian {
    font-size: 0.84rem;
    color: #d4b483;
    background: rgba(18, 14, 4, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(250, 204, 21, 0.18);
}

/* MAHASISWA COHORT TABS */
.cohort-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    margin-top: -8px;
    margin-left: -10px;
    margin-right: -10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 14px;
    padding-left: 18px;
    padding-right: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cohort-tabs::-webkit-scrollbar { display: none; }

.cohort-btn {
    background: #261c06;
    border: 1.5px solid rgba(250, 204, 21, 0.3);
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cohort-btn:hover, .cohort-btn.active {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
    color: #1c1917;
    border-color: #facc15;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

/* MAHASISWA GRID & CARDS: DEEP AMBER DARK LUXURY */
.mahasiswa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.mhs-card {
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(250, 204, 21, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mhs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(250, 204, 21, 0.22);
    border-color: #facc15;
}

.mhs-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.mhs-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #facc15;
    background-color: #261c06;
}

.mhs-title h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fde68a;
}

.mhs-nim {
    font-size: 0.82rem;
    color: #cbd5e1;
    font-weight: 600;
}

.mhs-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.detail-box {
    background: rgba(22, 17, 5, 0.8);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(250, 204, 21, 0.22);
}

.detail-label {
    font-size: 0.72rem;
    color: #ca8a04;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fef08a;
}

/* BADGES TAHAP AKADEMIK */
.badge-stage {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-belum { background: rgba(51, 65, 85, 0.5); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.badge-sempro { background: rgba(250, 204, 21, 0.18); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.4); }
.badge-semhas { background: rgba(14, 165, 233, 0.18); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.4); }
.badge-sidang { background: rgba(249, 115, 22, 0.18); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.4); }
.badge-yudisium { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
.badge-wisuda { background: rgba(34, 197, 94, 0.18); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }

/* BADGES STATUS APPROVAL */
.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pending { background: rgba(250, 204, 21, 0.18); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.35); }
.status-approved { background: rgba(34, 197, 94, 0.18); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.35); }
.status-rejected { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); }

.prestasi-box {
    background: rgba(22, 17, 5, 0.75);
    border-left: 3px solid #facc15;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    color: #d4b483;
    margin-bottom: 14px;
    border-top: 1px solid rgba(250, 204, 21, 0.15);
    border-bottom: 1px solid rgba(250, 204, 21, 0.15);
    border-right: 1px solid rgba(250, 204, 21, 0.15);
}

.mhs-actions {
    display: flex;
    gap: 8px;
}

.btn-file {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-doc { 
    background: rgba(30, 58, 138, 0.35); 
    color: #93c5fd; 
    border: 1px solid rgba(96, 165, 250, 0.35); 
}
.btn-doc:hover { 
    background: rgba(30, 58, 138, 0.55); 
    color: #bfdbfe; 
}
.btn-img { 
    background: rgba(161, 98, 7, 0.35); 
    color: #fde047; 
    border: 1px solid rgba(250, 204, 21, 0.35); 
}
.btn-img:hover { 
    background: rgba(161, 98, 7, 0.55); 
    color: #fef08a; 
}

/* AUTH CARD (LOGIN & REGISTER): DEEP AMBER LUXURY GLASS */
.auth-card {
    position: relative;
    z-index: 2;
    max-width: 440px;
    margin: 40px auto;
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fde68a;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fde68a;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(250, 204, 21, 0.28);
    background: #141005;
    font-size: 0.92rem;
    color: #fef08a;
    transition: all 0.25s ease;
}

.form-control::placeholder {
    color: #cbd5e1;
    opacity: 0.75;
}

.form-control:focus {
    outline: none;
    border-color: #facc15;
    background: #1c1503;
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.25);
}

.btn-submit {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%);
    color: #1a1600;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.5);
}

/* LINK AUTHENTICATION: DAFTAR AKUN & KEMBALI KE BERANDA (DARK & LIGHT) */
.auth-link-gold {
    color: #facc15 !important;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.auth-link-gold:hover {
    color: #fef08a !important;
    transform: translateY(-1px);
}

.auth-link-back {
    color: #cbd5e1 !important;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-size: 0.88rem;
}

.auth-link-back:hover {
    color: #facc15 !important;
    transform: translateY(-1px);
}

.auth-footer-links p {
    color: #94a3b8;
    margin-bottom: 8px;
}

.auth-error-alert {
    background: rgba(225, 29, 72, 0.18);
    border: 1px solid rgba(244, 63, 94, 0.45);
    color: #fecdd3;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

body.light-mode .auth-link-gold {
    color: #ca8a04 !important;
}

body.light-mode .auth-link-gold:hover {
    color: #854d0e !important;
}

body.light-mode .auth-link-back {
    color: #475569 !important;
}

body.light-mode .auth-link-back:hover {
    color: #0f172a !important;
}

body.light-mode .auth-footer-links p {
    color: #64748b;
}

/* TABLES: DARK AMBER LUXURY */
.table-responsive {
    overflow-x: auto;
    background: #1c1503;
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.custom-table th {
    background: #2a1f06;
    color: #fde68a;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 14px 18px;
    border-bottom: 2px solid #ca8a04;
}

.custom-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(250, 204, 21, 0.12);
    font-size: 0.9rem;
    color: #e2e8f0;
}

.custom-table tr:hover {
    background: rgba(250, 204, 21, 0.07);
}

/* PAPAN INFORMASI CARD: DEEP AMBER GLASS */
.pi-card {
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%) !important;
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.25) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.pi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 204, 21, 0.2) !important;
    border-color: #facc15 !important;
}

.pi-card-title {
    color: #fde68a !important;
}

.pi-card-desc {
    color: #cbd5e1 !important;
}

/* GENERAL DASHBOARD CARD & BOX OVERRIDES */
.dashboard-card, .stat-card, .summary-box {
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: #e2e8f0;
}

/* FOOTER GLOBAL */
footer {
    margin-top: auto !important;
    background: rgba(12, 14, 2, 0.95);
    border-top: 1px solid rgba(250, 204, 21, 0.3);
    padding: 18px 24px;
    text-align: center;
    font-size: 0.88rem;
    color: #94a3b8;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    flex-shrink: 0 !important;
}

footer strong {
    color: #facc15;
}

/* ===== DASHBOARD MENU / TABS NAVIGATION ===== */
.dash-menu-bar {
    background: rgba(22, 17, 4, 0.9);
    border: 1px solid rgba(250, 204, 21, 0.28);
    border-radius: 16px;
    padding: 8px;
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #ca8a04 transparent;
}

.dash-menu-bar::-webkit-scrollbar {
    height: 6px;
}
.dash-menu-bar::-webkit-scrollbar-thumb {
    background: #ca8a04;
    border-radius: 10px;
}

.dash-nav-btn {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.dash-nav-btn:hover {
    background: rgba(250, 204, 21, 0.1);
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.25);
}

.dash-nav-btn.active {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
    color: #1c1917 !important;
    font-weight: 800;
    border-color: #facc15 !important;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.35);
}

.dash-nav-btn.active i {
    color: #1c1917 !important;
}

/* BADGE NOTIFIKASI (ALERT / PESAN BARU / AKSI PENDING) */
.dash-badge-notif,
.dash-badge-counter {
    background: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-left: auto;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.45);
}

.dash-nav-btn.active .dash-badge-notif,
.dash-nav-btn.active .dash-badge-counter {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* BADGE JUMLAH DATA (COUNTER NETRAL: PELAKSANAAN, PENELITIAN, PA, SKRIPSI, INFO) */
.dash-badge-count {
    background: rgba(250, 204, 21, 0.14);
    color: #fde047;
    border: 1px solid rgba(250, 204, 21, 0.28);
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    min-width: 24px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-left: auto;
}

.dash-nav-btn.active .dash-badge-count {
    background: rgba(0, 0, 0, 0.12) !important;
    color: #1c1917 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .dash-badge-count {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .dash-nav-btn.active .dash-badge-count {
    background: rgba(0, 0, 0, 0.12) !important;
    color: #1c1917 !important;
    border-color: rgba(0, 0, 0, 0.22) !important;
}

.dash-tab-pane {
    animation: fadeInTab 0.3s ease-in-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2-COLUMN SIDEBAR LAYOUT FOR DOSEN PAGES */
.dosen-side-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 26px;
    align-items: start;
}

.dosen-side-nav {
    position: sticky;
    top: 90px;
    background: linear-gradient(145deg, #261c06 0%, #1c1503 60%, #261c06 100%);
    border-radius: 22px;
    padding: 18px 16px;
    border: 1px solid rgba(250, 204, 21, 0.28);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    z-index: 10;
}

.dosen-side-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dosen-side-menu .dash-nav-btn,
.dosen-side-menu .detail-tab-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    box-sizing: border-box;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.dash-nav-btn-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.dash-nav-btn-label > i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
}

.dash-nav-btn-label > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dosen-side-menu .dash-nav-btn:hover,
.dosen-side-menu .detail-tab-btn:hover {
    transform: translateX(3px);
}

.detail-tab-btn.active i,
.detail-tab-btn.active span {
    color: #1c1917 !important;
}

.detail-tab-btn.active span[style*="background"] {
    background: rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    color: #1c1917 !important;
}

.dash-nav-btn.active i,
.dash-nav-btn.active .dash-nav-btn-label span,
.dash-nav-btn.active > span:not(.dash-badge-counter):not(.dash-badge-notif):not(.dash-badge-count) {
    color: #1c1917 !important;
}

.dosen-side-content {
    min-width: 0;
}

/* DESKTOP DEFAULTS (>= 993px) */
.dash-mobile-topbar,
.dash-mobile-fab,
.dash-drawer-header,
.dash-drawer-backdrop {
    display: none !important;
}

@media (max-width: 992px) {
    .dosen-side-layout {
        grid-template-columns: 1fr;
    }
    .dosen-side-nav {
        position: static;
    }

    /* KHUSUS DASHBOARD DENGAN DRAWER (DOSEN & MAHASISWA) */
    .dosen-side-layout.has-drawer {
        display: block !important;
        position: relative !important;
    }

    /* Hilangkan stacking context agar drawer dan backdrop naik ke atas navbar */
    .container.container-dashboard {
        position: static !important;
        z-index: auto !important;
    }

    .container-dashboard .dosen-side-layout.has-drawer {
        position: static !important;
        z-index: auto !important;
    }

    .dosen-side-layout.has-drawer .dosen-side-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* TOPBAR MOBILE BARU (TIDAK STICKY AGAR TIDAK TERTUTUP OLEH NAVBAR SI-AM) */
    .dosen-side-layout.has-drawer .dash-mobile-topbar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: linear-gradient(135deg, rgba(38, 28, 6, 0.95) 0%, rgba(20, 16, 5, 0.95) 100%);
        border: 1px solid rgba(250, 204, 21, 0.35);
        border-radius: 16px;
        padding: 10px 14px;
        margin-bottom: 20px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        position: relative !important;
        top: auto !important;
        z-index: 10 !important;
    }

    .dash-mobile-topbar-left {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        flex: 1 1 auto;
    }

    .dash-mobile-topbar-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(250, 204, 21, 0.15);
        border: 1px solid rgba(250, 204, 21, 0.3);
        color: #facc15;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .dash-mobile-topbar-meta {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .dash-mobile-topbar-meta small {
        font-size: 0.7rem;
        color: #ca8a04;
        text-transform: uppercase;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .dash-mobile-topbar-meta strong {
        font-size: 0.9rem;
        color: #fde68a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
    }

    /* TOMBOL GARIS 3 (HAMBURGER) */
    .dash-mobile-hamburger-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%);
        color: #1c1503 !important;
        border: none;
        padding: 8px 14px;
        border-radius: 12px;
        font-size: 0.86rem;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
        flex-shrink: 0;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .dash-mobile-hamburger-btn:active {
        transform: scale(0.96);
    }

    .dash-mobile-hamburger-btn i {
        font-size: 1.05rem;
    }

    /* FLOATING ACTION BUTTON (FAB) MELAYANG - BERADA DI ATAS THEME TOGGLE */
    .dash-mobile-fab {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        bottom: 74px !important;
        right: 16px !important;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%);
        color: #1c1503 !important;
        border: 2px solid rgba(255, 255, 255, 0.9);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 14px rgba(250, 204, 21, 0.4);
        z-index: 995 !important;
        cursor: pointer;
        font-size: 1.2rem;
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .dash-mobile-fab:active {
        transform: scale(0.9);
    }

    /* OFFCANVAS DRAWER SIDEBAR - BERADA DI ATAS NAVBAR */
    .dosen-side-layout.has-drawer .dosen-side-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 320px !important;
        max-width: 88vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        background: linear-gradient(180deg, #1f1807 0%, #120e03 100%) !important;
        border: none !important;
        border-right: 2px solid rgba(250, 204, 21, 0.4) !important;
        border-radius: 0 22px 22px 0 !important;
        box-shadow: 18px 0 50px rgba(0, 0, 0, 0.92) !important;
        padding: 22px 16px 50px 16px !important;
        transform: translateX(-105%) !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        margin: 0 !important;
    }

    .dosen-side-layout.has-drawer .dosen-side-nav.drawer-open {
        transform: translateX(0) !important;
    }

    /* HEADER DRAWER DI MOBILE */
    .dash-drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 6px 6px 16px 6px !important;
        margin-bottom: 16px !important;
        border-bottom: 1px solid rgba(250, 204, 21, 0.22) !important;
    }

    .dash-drawer-header span {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        color: #facc15 !important;
        display: flex;
        align-items: center;
        gap: 8px;
        letter-spacing: 0.5px;
    }

    .dash-drawer-close-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        background: rgba(244, 63, 94, 0.18) !important;
        border: 1px solid rgba(244, 63, 94, 0.4) !important;
        color: #fda4af !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem !important;
        cursor: pointer !important;
        transition: background 0.18s ease;
    }

    .dash-drawer-close-btn:hover {
        background: rgba(244, 63, 94, 0.35) !important;
    }

    /* BACKDROP GELAP DI SELURUH LAYAR TERMASUK NAVBAR */
    .dash-drawer-backdrop {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.72) !important;
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    .dash-drawer-backdrop.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* KETIKA MENU DIBUKA: TURUNKAN NAVBAR & SEMBUNYIKAN FAB */
    body.dash-drawer-locked {
        overflow: hidden !important;
        touch-action: none !important;
    }

    body.dash-drawer-locked .navbar,
    body.dash-drawer-locked .navbar-dark {
        z-index: 10 !important;
    }

    body.dash-drawer-locked .dash-mobile-fab,
    body.dash-drawer-locked .floating-theme-toggle {
        display: none !important;
    }
}

/* DUKUNGAN LIGHT MODE */
body.light-mode .dash-mobile-topbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 252, 232, 0.95) 100%) !important;
    border: 1px solid rgba(202, 138, 4, 0.28) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .dash-mobile-topbar-icon {
    background: rgba(250, 204, 21, 0.22) !important;
    border-color: rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

body.light-mode .dash-mobile-topbar-meta small {
    color: #ca8a04 !important;
}

body.light-mode .dash-mobile-topbar-meta strong {
    color: #1e293b !important;
}

body.light-mode .dash-mobile-hamburger-btn {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
    color: #1c1503 !important;
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.25) !important;
}

body.light-mode .dosen-side-layout.has-drawer .dosen-side-nav {
    background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%) !important;
    border-right: 2px solid rgba(202, 138, 4, 0.3) !important;
    box-shadow: 16px 0 45px rgba(0, 0, 0, 0.12) !important;
}

body.light-mode .dash-drawer-header {
    border-bottom: 1px solid rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .dash-drawer-header span {
    color: #854d0e !important;
}

body.light-mode .dash-drawer-close-btn {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

body.light-mode .dash-drawer-backdrop {
    background: rgba(15, 23, 42, 0.45) !important;
}

/* HEADER PROFIL MAHASISWA (TENGAH / CENTERED) */
.mhs-profile-hero {
    background: rgba(250, 204, 21, 0.06);
    border: 1px solid rgba(250, 204, 21, 0.22);
    border-radius: 18px;
    padding: 26px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

body.light-mode .mhs-profile-hero {
    background: #ffffff !important;
    border: 1.5px solid rgba(202, 138, 4, 0.28) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .mhs-profile-hero .mhs-hero-name {
    color: #854d0e !important;
}

body.light-mode .mhs-profile-hero .mhs-hero-meta {
    color: #475569 !important;
}

/* SUB-TABS ("PILIHAN KEPALA") FOR PENELITIAN & PENGABDIAN */
.sub-tab-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    background: rgba(15, 12, 3, 0.6);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    flex-wrap: wrap;
}

.sub-tab-btn {
    flex: 1;
    min-width: 180px;
    background: transparent;
    border: 1px solid transparent;
    color: #cbd5e1;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sub-tab-btn:hover {
    background: rgba(250, 204, 21, 0.1);
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.25);
}

.sub-tab-btn.active {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
    color: #1c1917 !important;
    border-color: #facc15 !important;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.35);
}

.sub-tab-btn.active i {
    color: #1c1917 !important;
}

.sub-tab-badge {
    background: rgba(250, 204, 21, 0.2);
    color: #fde68a;
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
}

.sub-tab-btn.active .sub-tab-badge {
    background: #1c1917;
    color: #facc15;
    border-color: #1c1917;
}

.sub-penelitian-pane,
.sub-pelaksanaan-pane {
    animation: fadeInTab 0.3s ease-in-out;
}

/* ======================================================== */
/* TAMPILAN MOBILE RESPONSIVE MEWAH (DI SEMUA HP)           */
/* ======================================================== */
@media (max-width: 900px) {
    /* 1. Mencegah seluruh halaman dan foto bergoyang ke samping */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. NAVBAR ELEGAN SEPERTI PADA GAMBAR 1 (TOMBOL MASUK SELALU TERLIHAT) */
    .navbar, .navbar-dark {
        padding: 8px 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .nav-brand {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .nav-brand img {
        height: 34px !important;
        width: auto !important;
    }

    .brand-text h1 {
        font-size: 0.84rem !important;
        line-height: 1.15 !important;
        margin: 0 !important;
    }

    .brand-text span {
        font-size: 0.6rem !important;
        line-height: 1.15 !important;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px 6px !important;
        padding: 4px 0 2px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .nav-link {
        font-size: 0.67rem !important;
        padding: 4px 8px !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
        background: rgba(22, 17, 5, 0.85) !important;
        border: 1px solid rgba(250, 204, 21, 0.35) !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        color: #f1f5f9 !important;
    }

    .btn-login {
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        padding: 5px 14px !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin-left: 0 !important;
        background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
        color: #0c0e02 !important;
        box-shadow: 0 0 14px rgba(250, 204, 21, 0.65) !important;
        border: 1px solid #facc15 !important;
    }

    /* 3. TAMPILAN LOGIN & REGISTER PERSIS GAMBAR 3 */
    .auth-card {
        max-width: 420px !important;
        width: 100% !important;
        margin: 20px auto !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        border-radius: 20px !important;
    }

    .auth-header h2 {
        font-size: 1.5rem !important;
    }

    .auth-header p {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
    }

    /* 4. TAB ANGKATAN MAHASISWA SCROLL KE SAMPING (GAMBAR 1 & 2) */
    .cohort-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 6px 4px 12px 4px !important;
        margin-bottom: 18px !important;
        scrollbar-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .cohort-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .cohort-btn {
        flex-shrink: 0 !important;
        font-size: 0.82rem !important;
        padding: 7px 16px !important;
        border-radius: 50px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
    .cohort-btn.active {
        background: #facc15 !important;
        color: #1c1917 !important;
        border-color: #facc15 !important;
        font-weight: 700 !important;
    }
}

/* ======================================================== */
/* TOMBOL PENGALIH TEMA (LIGHT / DARK THEME TOGGLE)         */
/* ======================================================== */
.navbar .theme-toggle-btn {
    display: none !important;
}

.theme-toggle-btn {
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #fde68a;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    outline: none;
    user-select: none;
    text-decoration: none;
}

.theme-toggle-btn:hover {
    background: rgba(250, 204, 21, 0.28);
    border-color: #facc15;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.25);
}

.theme-toggle-btn i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(20deg);
}

.theme-icon-sun {
    color: #facc15;
}

.theme-icon-moon {
    color: #38bdf8;
}

/* Floating Action Theme Switcher */
.floating-theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #261c06 0%, #1c1503 100%);
    border: 2px solid #facc15;
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(250, 204, 21, 0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.floating-theme-toggle:hover {
    transform: translateY(-4px) scale(1.08) rotate(15deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(250, 204, 21, 0.5);
    border-color: #fef08a;
}

@media (max-width: 900px) {
    .theme-toggle-btn {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
        border-radius: 50px !important;
    }
    .theme-toggle-btn .theme-label {
        display: none !important;
    }
    .floating-theme-toggle {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ======================================================== */
/* TEMA TERANG (LIGHT MODE) - KONSISTEN, MEWAH & BERSIH    */
/* ======================================================== */
:root[data-theme="light"],
html.light-mode {
    --amber-bg: #faf8f2;
    --amber-surface: #ffffff;
    --amber-surface-2: #f8fafc;
    --amber-surface-3: #f1f5f9;
    --amber-border: rgba(202, 138, 4, 0.25);
    --text-gold-light: #854d0e;
    --text-gold: #a16207;
    --text-cream: #475569;
    --text-light: #1e293b;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    --card-bg: #ffffff;
    --card-border: rgba(202, 138, 4, 0.22);
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 0 15px rgba(250, 204, 21, 0.08);
    --shadow-glow: 0 0 25px rgba(202, 138, 4, 0.18);
}

html.light-mode,
body.light-mode {
    background-color: #faf9f5 !important;
    background-image: 
        url('../img/batik-pattern.svg'),
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.09) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(254, 240, 138, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, #fffdf9 0%, #fefce8 35%, #fffbeb 70%, #fef9c3 100%) !important;
    background-size: 140px 140px, 140% 140%, 140% 140%, 120% 120%, 250% 250% !important;
    background-attachment: fixed !important;
    animation: animatedBatikFlow 50s linear infinite !important;
    color: #1e293b !important;
}

/* ======================================================== */
/* LATAR BELAKANG BATIK EMAS BERGERAK (FULLSCREEN FIXED)    */
/* ======================================================== */
.batik-bg-layer,
#batikBackground {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: -1 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Pastikan semua elemen utama selalu berada di atas layer background */
.container,
.auth-card,
.dosen-header-card,
.dosen-side-layout,
.dosen-side-content,
.mhs-header-card,
.mhs-detail-container,
.main-wrapper,
main {
    position: relative;
    z-index: 2;
}

body.light-mode .batik-bg-layer,
body.light-mode #batikBackground {
    display: block !important;
    opacity: 1 !important;
    background-color: transparent !important;
    background-image: 
        url('../img/batik-pattern.svg'),
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(217, 119, 6, 0.09) 0%, transparent 48%),
        radial-gradient(circle at 50% 50%, rgba(254, 240, 138, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, #fffdf9 0%, #fefce8 35%, #fffbeb 70%, #fef9c3 100%) !important;
    background-size: 140px 140px, 140% 140%, 140% 140%, 120% 120%, 250% 250% !important;
    animation: animatedBatikFlow 50s linear infinite !important;
}

@keyframes animatedBatikFlow {
    0% {
        background-position: 0px 0px, 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
    50% {
        background-position: 140px 140px, 35% 25%, 65% 75%, 45% 55%, 100% 50%;
    }
    100% {
        background-position: 280px 280px, 0% 0%, 100% 100%, 50% 50%, 0% 50%;
    }
}

/* Sembunyikan partikel gelap saat mode terang aktif */
body.light-mode #particlesCanvas {
    display: none !important;
}

/* ======================================================== */
/* NAVBAR GLOBAL & HEADER DI MODE TERANG                    */
/* ======================================================== */
body.light-mode .navbar,
body.light-mode .navbar-dark {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 2px solid #ca8a04 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .brand-text h1 {
    color: #0f172a !important;
}

body.light-mode .brand-text span:first-of-type {
    color: #854d0e !important;
}

body.light-mode .brand-text span:last-of-type {
    color: #475569 !important;
}

body.light-mode .nav-menu .nav-link,
body.light-mode .nav-link {
    color: #1e293b !important;
}

body.light-mode .nav-menu .nav-link:hover,
body.light-mode .nav-menu .nav-link.active,
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    background-color: rgba(250, 204, 21, 0.22) !important;
    color: #854d0e !important;
}

@media (max-width: 900px) {
    body.light-mode .nav-menu .nav-link,
    body.light-mode .nav-link {
        background: #ffffff !important;
        border: 1px solid rgba(202, 138, 4, 0.3) !important;
        color: #1e293b !important;
    }
}

/* ======================================================== */
/* OVERRIDE INLINE WARNA GELAP DI SELURUH HALAMAN           */
/* ======================================================== */
body.light-mode [style*="background: #1c"],
body.light-mode [style*="background:#1c"],
body.light-mode [style*="background: #26"],
body.light-mode [style*="background:#26"],
body.light-mode [style*="background: #14"],
body.light-mode [style*="background:#14"],
body.light-mode [style*="background: #18"],
body.light-mode [style*="background:#18"],
body.light-mode [style*="background: #20"],
body.light-mode [style*="background:#20"],
body.light-mode [style*="background: #15"],
body.light-mode [style*="background:#15"],
body.light-mode [style*="background: #0f1203"],
body.light-mode [style*="background: #0c0e02"],
body.light-mode [style*="background: rgba(20,"],
body.light-mode [style*="background:rgba(20,"],
body.light-mode [style*="background: rgba(22,"],
body.light-mode [style*="background:rgba(22,"],
body.light-mode [style*="background: rgba(24,"],
body.light-mode [style*="background:rgba(24,"],
body.light-mode [style*="background: rgba(25,"],
body.light-mode [style*="background:rgba(25,"],
body.light-mode [style*="background: rgba(26,"],
body.light-mode [style*="background:rgba(26,"],
body.light-mode [style*="background: rgba(28,"],
body.light-mode [style*="background:rgba(28,"],
body.light-mode [style*="background: rgba(30,"],
body.light-mode [style*="background:rgba(30,"],
body.light-mode [style*="background: rgba(32,"],
body.light-mode [style*="background:rgba(32,"],
body.light-mode [style*="background: rgba(35,"],
body.light-mode [style*="background:rgba(35,"],
body.light-mode [style*="background: rgba(38,"],
body.light-mode [style*="background:rgba(38,"],
body.light-mode [style*="background: rgba(18,"],
body.light-mode [style*="background:rgba(18,"],
body.light-mode [style*="background: rgba(16,"],
body.light-mode [style*="background:rgba(16,"],
body.light-mode [style*="background: rgba(15,"],
body.light-mode [style*="background:rgba(15,"],
body.light-mode [style*="background: rgba(12,"],
body.light-mode [style*="background: rgba(10,"],
body.light-mode [style*="background: linear-gradient(145deg, #261c06"],
body.light-mode [style*="background:linear-gradient(145deg,#261c06"],
body.light-mode [style*="background: linear-gradient(145deg, #2a1f06"],
body.light-mode [style*="background: linear-gradient(145deg, #1c1503"],
body.light-mode [style*="background: linear-gradient(145deg, #201704"],
body.light-mode [style*="background: linear-gradient(135deg, rgba(38, 28, 6"] {
    background: #ffffff !important;
    border-color: rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

/* Nested sub-box soft tint */
body.light-mode [style*="background: rgba(250, 204, 21, 0.05)"],
body.light-mode [style*="background: rgba(250, 204, 21, 0.08)"] {
    background: #fefce8 !important;
    border-color: rgba(202, 138, 4, 0.25) !important;
}

/* Teks Header & Judul */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #0f172a !important;
}

body.light-mode h1[style*="color: #ffffff"],
body.light-mode h1[style*="color: white"],
body.light-mode h2[style*="color: #ffffff"],
body.light-mode h2[style*="color: white"],
body.light-mode h3[style*="color: #ffffff"],
body.light-mode h3[style*="color: white"],
body.light-mode h4[style*="color: #ffffff"],
body.light-mode h4[style*="color: white"] {
    color: #0f172a !important;
}

/* Teks Kuning/Emas di Mode Gelap Menjadi Deep Amber Kontras Tinggi di Mode Terang */
body.light-mode [style*="color: #fde68a"],
body.light-mode [style*="color:#fde68a"],
body.light-mode [style*="color: #fef08a"],
body.light-mode [style*="color:#fef08a"],
body.light-mode [style*="color: #fde047"],
body.light-mode [style*="color:#fde047"],
body.light-mode [style*="color: #facc15"]:not(i):not(.theme-icon-sun) {
    color: #854d0e !important;
}

/* Teks Muted/Abu-abu Terang di Mode Gelap Menjadi Slate Gelap */
body.light-mode [style*="color: #cbd5e1"],
body.light-mode [style*="color:#cbd5e1"],
body.light-mode [style*="color: #94a3b8"],
body.light-mode [style*="color:#94a3b8"],
body.light-mode [style*="color: #d4b483"],
body.light-mode [style*="color:#d4b483"],
body.light-mode [style*="color: #d4d4d8"],
body.light-mode [style*="color:#d4d4d8"] {
    color: #64748b !important;
}

/* Teks Putih / Terang Menjadi Teks Isi Gelap */
body.light-mode [style*="color: #e2e8f0"],
body.light-mode [style*="color:#e2e8f0"],
body.light-mode [style*="color: #f1f5f9"],
body.light-mode [style*="color:#f1f5f9"] {
    color: #1e293b !important;
}

/* Teks Putih Umum */
body.light-mode p[style*="color: #ffffff"],
body.light-mode p[style*="color: white"],
body.light-mode span[style*="color: #ffffff"]:not(.dash-badge-counter):not(.btn-submit),
body.light-mode span[style*="color: white"]:not(.dash-badge-counter):not(.btn-submit),
body.light-mode td[style*="color: #ffffff"],
body.light-mode td[style*="color: white"],
body.light-mode div[style*="color: #ffffff"]:not(.btn-login),
body.light-mode div[style*="color: white"]:not(.btn-login) {
    color: #1e293b !important;
}

/* LINDUNGI Teks Putih Pada Tombol Warna Solid (Hijau, Merah, Biru, Ungu) */
body.light-mode .btn-login,
body.light-mode .btn-danger,
body.light-mode .btn-success,
body.light-mode .btn-primary,
body.light-mode [style*="background: #22c55e"],
body.light-mode [style*="background: #16a34a"],
body.light-mode [style*="background: #e11d48"],
body.light-mode [style*="background: #f43f5e"],
body.light-mode [style*="background: #ef4444"],
body.light-mode [style*="background: #0284c7"],
body.light-mode [style*="background: #2563eb"],
body.light-mode [style*="background: #4f46e5"],
body.light-mode [style*="background: #7c3aed"],
body.light-mode [style*="background: linear-gradient(135deg, #22c55e"],
body.light-mode [style*="background: linear-gradient(135deg, #f43f5e"],
body.light-mode a[style*="background: linear-gradient(135deg, #f43f5e"],
body.light-mode button[style*="background: linear-gradient(135deg, #22c55e"],
body.light-mode .dash-badge-counter {
    color: #ffffff !important;
}

/* Tombol Submit & Aksen Emas Solid */
body.light-mode .btn-submit,
body.light-mode [style*="background: linear-gradient(135deg, #fef08a"] {
    color: #1a1600 !important;
    font-weight: 800 !important;
}

/* ======================================================== */
/* ALERT BOXES (SUKSES & ERROR / DITOLAK)                   */
/* ======================================================== */
body.light-mode div[style*="background: rgba(34, 197, 94,"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]),
body.light-mode div[style*="background:rgba(34, 197, 94,"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]),
body.light-mode div[style*="background: rgba(34,197,94,"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]),
body.light-mode div[style*="color: #bbf7d0"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]),
body.light-mode div[style*="color:#bbf7d0"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]) {
    background: #f0fdf4 !important;
    border: 1px solid #86efac !important;
    color: #15803d !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08) !important;
}

/* Proteksi Angka Statistik di Kotak Beranda */
body.light-mode .stat-card-box div[style*="font-size: 1.45rem"],
body.light-mode .stat-card-box div[style*="color: #bbf7d0"],
body.light-mode .stat-card-box div[style*="color:#bbf7d0"] {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.light-mode div[style*="background: rgba(225, 29, 72,"],
body.light-mode div[style*="background:rgba(225, 29, 72,"],
body.light-mode div[style*="background: rgba(225,29,72,"],
body.light-mode div[style*="color: #fecdd3"],
body.light-mode div[style*="color:#fecdd3"] {
    background: #fef2f2 !important;
    border: 1px solid #fca5a5 !important;
    color: #b91c1c !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.08) !important;
}

/* ======================================================== */
/* HERO, STAGE & VISI MISI DI MODE TERANG                  */
/* ======================================================== */
body.light-mode .hero-title,
body.light-mode .hero-title-main {
    color: #0f172a !important;
}

body.light-mode .hero-title span,
body.light-mode .hero-title-main span {
    color: #ca8a04 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #ca8a04 !important;
}

body.light-mode .hero-badge,
body.light-mode .hero-badge-top {
    background: rgba(250, 204, 21, 0.16) !important;
    color: #854d0e !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .alternating-text {
    background: #fefce8 !important;
    color: #854d0e !important;
    -webkit-text-fill-color: #854d0e !important;
    border-color: rgba(202, 138, 4, 0.45) !important;
    text-shadow: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .section-header h2 {
    color: #0f172a !important;
}

body.light-mode .section-header p {
    color: #64748b !important;
}

body.light-mode .vm-box-card::after {
    background: #ffffff !important;
}

body.light-mode .vm-box-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(250, 204, 21, 0.08) !important;
}

body.light-mode .vm-box-title {
    color: #854d0e !important;
}

body.light-mode .visi-content-text,
body.light-mode .misi-list-items li {
    color: #334155 !important;
}

body.light-mode .leader-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(202, 138, 4, 0.4) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .leader-name {
    color: #0f172a !important;
}

body.light-mode .leader-title {
    color: #854d0e !important;
}

/* ======================================================== */
/* KOTAK STATISTIK UTAMA DI MODE TERANG                     */
/* ======================================================== */
body.light-mode .stat-card-box {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

body.light-mode .stat-card-box div[style*="font-size: 1.45rem"] {
    text-shadow: none !important;
}

body.light-mode .stat-card-box.stat-box-1 div[style*="font-size: 1.45rem"] { color: #854d0e !important; }
body.light-mode .stat-card-box.stat-box-2 div[style*="font-size: 1.45rem"] { color: #0284c7 !important; }
body.light-mode .stat-card-box.stat-box-alumni div[style*="font-size: 1.45rem"] { color: #059669 !important; }
body.light-mode .stat-card-box.stat-box-3 div[style*="font-size: 1.45rem"] { color: #16a34a !important; }
body.light-mode .stat-card-box.stat-box-4 div[style*="font-size: 1.45rem"] { color: #9333ea !important; }
body.light-mode .stat-card-box.stat-box-5 div[style*="font-size: 1.45rem"] { color: #ea580c !important; }

/* KOTAK GRAFIK STATISTIK (STAT-CHART-CARD) */
body.light-mode .stat-chart-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .stat-chart-card::after {
    background: #ffffff !important;
}

body.light-mode .stat-chart-title {
    color: #854d0e !important;
}

body.light-mode .stat-chart-badge.badge-gold {
    background: #fef9c3 !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

/* ======================================================== */
/* KARTU DOSEN, MAHASISWA, PAPAN INFORMASI & AUTH          */
/* ======================================================== */
body.light-mode .dosen-card,
body.light-mode .mhs-card,
body.light-mode .pi-card,
body.light-mode .auth-card,
body.light-mode .dashboard-card,
body.light-mode .stat-card,
body.light-mode .summary-box,
body.light-mode .dosen-tab-card,
body.light-mode .info-card-box,
body.light-mode .dosen-header-card,
body.light-mode .mhs-header-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
}

body.light-mode .dosen-card::before {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(254, 240, 138, 0.3) 100%) !important;
}

body.light-mode .badge-jabatan {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
}

body.light-mode .btn-doc {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
}

body.light-mode .btn-doc:hover {
    background: #dbeafe !important;
    color: #1e40af !important;
}

body.light-mode .btn-img {
    background: #fefce8 !important;
    color: #854d0e !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
}

body.light-mode .btn-img:hover {
    background: #fef9c3 !important;
    color: #713f12 !important;
}

body.light-mode .dosen-name,
body.light-mode .mhs-title h3,
body.light-mode .pi-card-title,
body.light-mode .dosen-header-name,
body.light-mode .mhs-header-name,
body.light-mode .auth-header h2 {
    color: #0f172a !important;
}

body.light-mode .dosen-nip,
body.light-mode .mhs-nim,
body.light-mode .pi-card-desc,
body.light-mode .dosen-header-nip,
body.light-mode .mhs-header-nim,
body.light-mode .auth-header p {
    color: #64748b !important;
}

body.light-mode .detail-box,
body.light-mode .dosen-keahlian {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.18) !important;
}

body.light-mode .detail-label {
    color: #854d0e !important;
}

body.light-mode .detail-val {
    color: #0f172a !important;
}

body.light-mode .prestasi-box {
    background: #fefce8 !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    border-left: 3px solid #ca8a04 !important;
    color: #854d0e !important;
}

/* ======================================================== */
/* TABS, SUB-TABS, COHORT & NAVIGATION                      */
/* ======================================================== */
body.light-mode .dash-menu-bar,
body.light-mode .sub-tab-bar,
body.light-mode .dosen-side-nav {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
}

@media (max-width: 992px) {
    body.light-mode .dosen-side-nav,
    .dosen-side-nav {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 !important;
    }
}

body.light-mode .cohort-tabs {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.light-mode .cohort-btn {
    background: #f1f5f9 !important;
    border: 1.5px solid rgba(202, 138, 4, 0.25) !important;
    color: #334155 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .cohort-btn:hover,
body.light-mode .cohort-btn.active {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%) !important;
    color: #1c1917 !important;
    border-color: #ca8a04 !important;
}

body.light-mode .dash-nav-btn,
body.light-mode .sub-tab-btn,
body.light-mode .detail-tab-btn,
body.light-mode .mhs-detail-tab-btn {
    background: #ffffff;
    border: 1px solid rgba(202, 138, 4, 0.2);
    color: #475569 !important;
}

body.light-mode .dash-nav-btn:hover,
body.light-mode .sub-tab-btn:hover,
body.light-mode .detail-tab-btn:hover,
body.light-mode .mhs-detail-tab-btn:hover {
    background: rgba(250, 204, 21, 0.15) !important;
    color: #854d0e !important;
}

body.light-mode .dash-nav-btn.active,
body.light-mode .sub-tab-btn.active,
body.light-mode .detail-tab-btn.active,
body.light-mode .mhs-detail-tab-btn.active {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
    color: #1c1917 !important;
    border-color: #ca8a04 !important;
}

/* ======================================================== */
/* TABEL DATA & WRAPPER                                     */
/* ======================================================== */
body.light-mode .table-responsive,
body.light-mode .mhs-table-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .custom-table th,
body.light-mode .mhs-table th,
body.light-mode table th {
    background: #fef08a !important;
    color: #78350f !important;
    border-bottom: 2px solid #ca8a04 !important;
}

body.light-mode .custom-table td,
body.light-mode .mhs-table td,
body.light-mode table td {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.light-mode .custom-table tr:hover,
body.light-mode .mhs-table tr:hover,
body.light-mode .mhs-row:hover {
    background: #fefce8 !important;
}

body.light-mode .mhs-table tr td:nth-child(2) { color: #64748b !important; }
body.light-mode .mhs-table tr td:nth-child(3) { color: #0f172a !important; font-weight: 700 !important; }
body.light-mode .mhs-table tr td:nth-child(4),
body.light-mode .mhs-table tr td:nth-child(5) { color: #334155 !important; }

/* ======================================================== */
/* FORM CONTROLS & FILTER BAR DI MODE TERANG                */
/* ======================================================== */
body.light-mode .form-group label {
    color: #334155 !important;
}

body.light-mode .form-control,
body.light-mode .filter-control-item,
body.light-mode input[type="text"],
body.light-mode input[type="password"],
body.light-mode input[type="email"],
body.light-mode input[type="number"],
body.light-mode input[type="date"],
body.light-mode select,
body.light-mode textarea {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .form-control::placeholder,
body.light-mode .filter-control-item::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

body.light-mode .form-control:focus,
body.light-mode .filter-control-item:focus,
body.light-mode input:focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
    background: #ffffff !important;
    border-color: #ca8a04 !important;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25) !important;
    color: #0f172a !important;
}

body.light-mode select option {
    background: #ffffff !important;
    color: #0f172a !important;
}

body.light-mode #cohortCountBadge {
    background: #fef9c3 !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

/* ======================================================== */
/* SUB-PANEL & FORM BOXES DI DASHBOARD DOSEN               */
/* ======================================================== */
body.light-mode .dosen-sub-pane-box {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.2) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    color: #1e293b !important;
}

body.light-mode .dosen-form-box {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.18) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    color: #1e293b !important;
}

body.light-mode .dosen-form-box label,
body.light-mode .dosen-sub-pane-box label {
    color: #334155 !important;
    font-weight: 700 !important;
}

/* ======================================================== */
/* BALON MEME TOAST DI DASHBOARD MAHASISWA                  */
/* ======================================================== */
body.light-mode .meme-balloon-toast {
    background: #ffffff !important;
    border: 1.5px solid rgba(202, 138, 4, 0.38) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12), 0 0 20px rgba(250, 204, 21, 0.15) !important;
}

body.light-mode .meme-balloon-title {
    color: #854d0e !important;
}

body.light-mode .meme-balloon-text {
    color: #334155 !important;
}

body.light-mode .meme-balloon-close {
    color: #64748b !important;
}

body.light-mode .meme-balloon-close:hover {
    color: #e11d48 !important;
}

body.light-mode .meme-progress-track {
    background: rgba(202, 138, 4, 0.15) !important;
}

/* ======================================================== */
/* MODALS & POPUPS                                          */
/* ======================================================== */
body.light-mode .modal-content,
body.light-mode .swal2-popup {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
}

/* Global Footer */
body.light-mode footer {
    background: #ffffff !important;
    border-top: 1.5px solid rgba(202, 138, 4, 0.25) !important;
    color: #64748b !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.03) !important;
    padding: 16px 24px !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

body.light-mode footer strong {
    color: #854d0e !important;
}

body.light-mode footer p {
    color: #64748b !important;
    margin: 0 !important;
}

/* ======================================================== */
/* DETAIL PROFIL DOSEN & MAHASISWA (MODE TERANG)           */
/* ======================================================== */
body.light-mode .dosen-header-card,
body.light-mode .mhs-header-card,
body.light-mode .dosen-content-card,
body.light-mode .mhs-card-box,
body.light-mode .info-card-box,
body.light-mode .item-row-responsive,
body.light-mode .prestasi-row-item,
body.light-mode .responsive-doc-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

body.light-mode .dosen-header-name,
body.light-mode .mhs-header-name {
    color: #0f172a !important;
}

body.light-mode .dosen-header-nip,
body.light-mode .mhs-header-nim {
    color: #64748b !important;
}

body.light-mode .info-item-label {
    color: #64748b !important;
    font-weight: 700 !important;
}

body.light-mode .info-item-value {
    color: #0f172a !important;
    font-weight: 700 !important;
}

body.light-mode .info-item-row {
    border-bottom: 1px dashed rgba(202, 138, 4, 0.2) !important;
}

/* Judul & Teks di dalam Kartu Rincian */
body.light-mode .info-card-box h3,
body.light-mode .dosen-content-card h2,
body.light-mode .dosen-content-card h3,
body.light-mode .dosen-content-card h4,
body.light-mode .item-row-responsive h4,
body.light-mode .prestasi-row-item h4,
body.light-mode h4[style*="color: #fef08a"],
body.light-mode h4[style*="color: #fde68a"],
body.light-mode h4[style*="color:#fef08a"],
body.light-mode h4[style*="color:#fde68a"] {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.light-mode .item-row-responsive strong,
body.light-mode .prestasi-row-item strong,
body.light-mode .dosen-content-card strong {
    color: #0f172a !important;
}

body.light-mode .item-row-responsive span[style*="color: #94a3b8"],
body.light-mode .prestasi-row-item span[style*="color: #94a3b8"],
body.light-mode .dosen-content-card span[style*="color: #94a3b8"] {
    color: #64748b !important;
}

/* Tab & Sub-tab Navigasi Rincian */
body.light-mode .detail-tab-btn,
body.light-mode .sub-tab-btn,
body.light-mode .mhs-detail-tab-btn {
    background: #ffffff !important;
    border: 1.5px solid rgba(202, 138, 4, 0.25) !important;
    color: #334155 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

body.light-mode .detail-tab-btn:hover,
body.light-mode .sub-tab-btn:hover,
body.light-mode .mhs-detail-tab-btn:hover {
    background: #fefce8 !important;
    color: #854d0e !important;
    border-color: #ca8a04 !important;
}

body.light-mode .detail-tab-btn.active,
body.light-mode .sub-tab-btn.active,
body.light-mode .mhs-detail-tab-btn.active {
    background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
    color: #1c1917 !important;
    border-color: #ca8a04 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.3) !important;
}

body.light-mode .sub-tab-badge {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
}

body.light-mode .detail-tab-btn.active .sub-tab-badge,
body.light-mode .sub-tab-btn.active .sub-tab-badge {
    background: #ffffff !important;
    color: #854d0e !important;
    border-color: #ca8a04 !important;
}

/* Badge Kategori & Status di Rincian Dosen & Mahasiswa */
body.light-mode span[style*="background: rgba(250, 204, 21,"],
body.light-mode span[style*="background:rgba(250, 204, 21,"],
body.light-mode span[style*="background: rgba(250,204,21,"],
body.light-mode .btn-filter-pres.active {
    background: #fef9c3 !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

body.light-mode .btn-filter-pres {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

body.light-mode span[style*="background: rgba(56, 189, 248,"],
body.light-mode span[style*="background:rgba(56, 189, 248,"],
body.light-mode span[style*="background: rgba(56,189,248,"] {
    background: #e0f2fe !important;
    border: 1px solid #7dd3fc !important;
    color: #0369a1 !important;
}

body.light-mode a[style*="background: rgba(56, 189, 248,"],
body.light-mode a[style*="background:rgba(56, 189, 248,"] {
    background: #e0f2fe !important;
    border: 1px solid #7dd3fc !important;
    color: #0369a1 !important;
}

body.light-mode a[style*="background: rgba(244, 114, 182,"],
body.light-mode a[style*="background:rgba(244, 114, 182,"],
body.light-mode a[style*="background: rgba(244,114,182,"],
body.light-mode a[style*="background:rgba(244,114,182,"] {
    background: #fdf2f8 !important;
    border: 1px solid #f472b6 !important;
    color: #be185d !important;
}

body.light-mode span[style*="background: rgba(74, 222, 128,"],
body.light-mode span[style*="background:rgba(74, 222, 128,"],
body.light-mode span[style*="background: rgba(34, 197, 94,"],
body.light-mode span[style*="background:rgba(34, 197, 94,"] {
    background: #dcfce7 !important;
    border: 1px solid #86efac !important;
    color: #15803d !important;
}

/* Empty State / Box Kosong di Rincian Dosen & Mahasiswa */
body.light-mode div[style*="border: 1px dashed"],
body.light-mode div[style*="border:1px dashed"],
body.light-mode div[style*="border: 1.5px dashed"],
body.light-mode div[style*="border:1.5px dashed"] {
    background: #fefce8 !important;
    border-color: rgba(202, 138, 4, 0.35) !important;
}

body.light-mode div[style*="border: 1px dashed"] p,
body.light-mode div[style*="border:1px dashed"] p,
body.light-mode div[style*="border: 1.5px dashed"] p {
    color: #854d0e !important;
}

body.light-mode div[style*="border: 1px dashed"] i,
body.light-mode div[style*="border:1px dashed"] i,
body.light-mode div[style*="border: 1.5px dashed"] i {
    color: #ca8a04 !important;
}

/* Tabel di Rincian Dosen */
body.light-mode .dosen-content-card table,
body.light-mode div[style*="background: #1c1503"] table {
    background: #ffffff !important;
}

body.light-mode div[style*="background: #1c1503"] {
    background: #ffffff !important;
    border-color: rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .dosen-content-card thead tr,
body.light-mode tr[style*="background: #2a1f06"] {
    background: #fef08a !important;
    border-bottom: 2px solid #ca8a04 !important;
}

body.light-mode .dosen-content-card thead th,
body.light-mode tr[style*="background: #2a1f06"] th {
    color: #78350f !important;
    font-weight: 800 !important;
}

body.light-mode .dosen-content-card tbody td {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.light-mode .dosen-content-card tbody tr:hover {
    background: #fefce8 !important;
}

body.light-mode .mhs-back-btn {
    background: #f1f5f9 !important;
    border: 1px solid rgba(202, 138, 4, 0.3) !important;
    color: #854d0e !important;
}

body.light-mode .mhs-back-btn:hover {
    background: #e2e8f0 !important;
    color: #713f12 !important;
}

@media (max-width: 900px) {
    body.light-mode .dosen-header-card,
    body.light-mode .mhs-header-card,
    body.light-mode .dosen-content-card,
    body.light-mode .info-card-box,
    body.light-mode .mhs-card-box {
        background: #ffffff !important;
        border: 1px solid rgba(202, 138, 4, 0.22) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }
    body.light-mode .dosen-header-contacts > div,
    body.light-mode .mhs-header-contacts > div {
        background: #f8fafc !important;
        border: 1px solid rgba(202, 138, 4, 0.2) !important;
        color: #334155 !important;
    }
    body.light-mode .dosen-header-contacts > div strong,
    body.light-mode .dosen-header-contacts > div span,
    body.light-mode .mhs-header-contacts > div strong,
    body.light-mode .mhs-header-contacts > div span {
        color: #334155 !important;
    }
    body.light-mode .dosen-header-contacts > div a,
    body.light-mode .mhs-header-contacts > div a {
        color: #854d0e !important;
    }
    body.light-mode .dosen-header-nip,
    body.light-mode .mhs-header-nim {
        color: #64748b !important;
    }
    body.light-mode .dosen-side-menu .detail-tab-btn {
        background: #ffffff !important;
        border: 1px solid rgba(202, 138, 4, 0.25) !important;
        color: #334155 !important;
    }
    body.light-mode .dosen-side-menu .detail-tab-btn.active {
        background: linear-gradient(135deg, #fef08a 0%, #facc15 60%, #ca8a04 100%) !important;
        color: #1c1917 !important;
    }
}

/* ======================================================== */
/* DETAIL ARTIKEL PAPAN INFORMASI DI LIGHT MODE            */
/* ======================================================== */
body.light-mode .article-page-wrap,
body.light-mode .article-card,
body.light-mode .article-main-card,
body.light-mode .article-sidebar-box {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    color: #1e293b !important;
}

body.light-mode .article-title,
body.light-mode .article-heading {
    color: #0f172a !important;
}

body.light-mode .article-body,
body.light-mode .article-text,
body.light-mode .article-content {
    color: #334155 !important;
}

/* ======================================================== */
/* PERATURAN AKADEMIK & AKREDITASI DI LIGHT MODE           */
/* ======================================================== */
body.light-mode .rule-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

body.light-mode .rule-card:hover {
    border-color: #ca8a04 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 0 20px rgba(250, 204, 21, 0.15) !important;
}

body.light-mode .akr-card-hero {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 0 20px rgba(250, 204, 21, 0.08) !important;
    color: #1e293b !important;
}

body.light-mode .akr-hero-badge-box {
    background: #fefce8 !important;
    border: 1.5px solid rgba(202, 138, 4, 0.35) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    color: #854d0e !important;
}

body.light-mode .cert-frame {
    background: #ffffff !important;
    border: 2px solid #ca8a04 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), inset 0 0 20px rgba(250, 204, 21, 0.05) !important;
}

body.light-mode .cert-inner-border {
    border: 1.5px dashed rgba(202, 138, 4, 0.45) !important;
}

body.light-mode .kriteria-item {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.18) !important;
}

body.light-mode .kriteria-item:hover {
    border-color: #ca8a04 !important;
    background: #fefce8 !important;
}

body.light-mode .kriteria-nama {
    color: #1e293b !important;
}

body.light-mode .kriteria-badge-count {
    background: #fef9c3 !important;
    border: 1px solid rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

/* ======================================================== */
/* ADMIN DASHBOARD & QUICK ACTION BARS IN LIGHT MODE        */
/* ======================================================== */
body.light-mode div[style*="background: rgba(20, 15, 4, 0.7)"],
body.light-mode div[style*="background:rgba(20, 15, 4, 0.7)"],
body.light-mode div[style*="background: rgba(20,15,4,0.7)"] {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    color: #1e293b !important;
}

body.light-mode div[style*="background: rgba(20, 15, 4, 0.7)"] span,
body.light-mode div[style*="background:rgba(20, 15, 4, 0.7)"] span {
    color: #854d0e !important;
}

body.light-mode a[style*="background: rgba(250, 204, 21, 0.12)"],
body.light-mode a[style*="background:rgba(250, 204, 21, 0.12)"],
body.light-mode a[style*="background: rgba(250,204,21,0.12)"] {
    background: #fefce8 !important;
    border: 1px solid rgba(202, 138, 4, 0.3) !important;
    color: #854d0e !important;
}

body.light-mode a[style*="background: rgba(250, 204, 21, 0.12)"]:hover {
    background: #fef9c3 !important;
    color: #713f12 !important;
}

body.light-mode span[style*="background: rgba(250, 204, 21, 0.35)"] {
    background: rgba(202, 138, 4, 0.3) !important;
}

/* Footer Link & Text Visibility */
body.light-mode .footer-bottom,
body.light-mode footer p {
    color: #64748b !important;
}

body.light-mode footer a {
    color: #854d0e !important;
}

/* ======================================================== */
/* PERBAIKAN KHUSUS DASHBOARD ADMIN, DOSEN & AUTH ALERTS   */
/* ======================================================== */

/* 1. NOTIFIKASI ERROR SAAT LOGIN & REGISTER (MODE TERANG) */
body.light-mode .auth-error-alert,
body.light-mode div[style*="color: #fecdd3"],
body.light-mode div[style*="color:#fecdd3"] {
    background: #fef2f2 !important;
    border: 1.5px solid #ef4444 !important;
    color: #991b1b !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15) !important;
}

body.light-mode .auth-error-alert i,
body.light-mode div[style*="color: #fecdd3"] i,
body.light-mode div[style*="color:#fecdd3"] i {
    color: #dc2626 !important;
}

body.light-mode .auth-success-alert,
body.light-mode div[style*="color: #bbf7d0"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]):not([style*="font-size:1.45rem"]),
body.light-mode div[style*="color:#bbf7d0"]:not(.stat-card-box div):not([style*="font-size: 1.45rem"]):not([style*="font-size:1.45rem"]) {
    background: #f0fdf4 !important;
    border: 1.5px solid #22c55e !important;
    color: #166534 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.15) !important;
}

/* 2. DAFTAR ANGKATAN TERSEDIA DI DASHBOARD ADMIN (MODE TERANG) */
body.light-mode div[style*="background: rgba(38, 28, 6, 0.7)"],
body.light-mode div[style*="background:rgba(38, 28, 6, 0.7)"],
body.light-mode div[style*="background: rgba(38,28,6,0.7)"],
body.light-mode div[style*="background: rgba(20, 16, 5, 0.6)"],
body.light-mode div[style*="background:rgba(20, 16, 5, 0.6)"] {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    color: #1e293b !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode div[style*="background: rgba(38, 28, 6, 0.7)"],
body.light-mode div[style*="background:rgba(38, 28, 6, 0.7)"] {
    background: #fefce8 !important;
    border: 1.5px solid rgba(202, 138, 4, 0.35) !important;
    color: #854d0e !important;
}

body.light-mode div[style*="background: rgba(38, 28, 6, 0.7)"] i,
body.light-mode div[style*="background:rgba(38, 28, 6, 0.7)"] i {
    color: #ca8a04 !important;
}

body.light-mode div[style*="background: rgba(38, 28, 6, 0.7)"] a,
body.light-mode div[style*="background:rgba(38, 28, 6, 0.7)"] a {
    color: #ef4444 !important;
}

/* 3. VERIFIKASI MAPIA & KARTU STATISTIK DI DASHBOARD DOSEN (MODE TERANG) */
body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"],
body.light-mode div[style*="background: rgba(26,20,4,0.7)"] {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"] div[style*="color: #94a3b8"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"] div[style*="color: #94a3b8"] {
    color: #64748b !important;
}

body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"] div[style*="color: #fef08a"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"] div[style*="color: #fef08a"] {
    color: #854d0e !important;
}

body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"] div[style*="color: #fde047"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"] div[style*="color: #fde047"] {
    color: #a16207 !important;
}

body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"] div[style*="color: #86efac"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"] div[style*="color: #86efac"] {
    color: #16a34a !important;
}

body.light-mode div[style*="background: rgba(26, 20, 4, 0.7)"] div[style*="color: #fca5a5"],
body.light-mode div[style*="background:rgba(26, 20, 4, 0.7)"] div[style*="color: #fca5a5"] {
    color: #dc2626 !important;
}

/* 4. DOSEN SUB PANE & FORM BOXES DI DASHBOARD DOSEN */
body.light-mode .dosen-sub-pane-box {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .dosen-form-box {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.18) !important;
}

body.light-mode .dosen-tab-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

/* ======================================================== */
/* 5. DOSEN BIMBINGAN SKRIPSI (MODE TERANG)                 */
/* ======================================================== */
body.light-mode .bimbingan-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .bimbingan-card .badge-mhs-aktif {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
}

body.light-mode .bimbingan-card .badge-mhs-inaktif {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

body.light-mode .bimbingan-card .badge-mhs-mine {
    background: #e0f2fe !important;
    color: #0284c7 !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
}

body.light-mode .bimbingan-tgl-disp {
    color: #854d0e !important;
}

body.light-mode .bimbingan-dosen-box {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    color: #334155 !important;
}

body.light-mode .bimbingan-dosen-box strong {
    color: #0f172a !important;
}

body.light-mode .bimbingan-dosen-box div[style*="border-top"] {
    border-top: 1px dashed rgba(202, 138, 4, 0.22) !important;
}

body.light-mode .bimbingan-judul-box {
    background: #fefce8 !important;
    border: 1.5px solid rgba(202, 138, 4, 0.35) !important;
    box-shadow: inset 0 1px 4px rgba(202, 138, 4, 0.04) !important;
}

body.light-mode .bimbingan-judul-label {
    color: #854d0e !important;
}

body.light-mode .bimbingan-judul-text {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Fallback selektor inline style di bimbingan-card */
body.light-mode .bimbingan-card div[style*="background: rgba(0,0,0,0.25)"],
body.light-mode .bimbingan-card div[style*="background:rgba(0,0,0,0.25)"] {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    color: #334155 !important;
}

body.light-mode .bimbingan-card div[style*="background: rgba(0,0,0,0.25)"] strong,
body.light-mode .bimbingan-card div[style*="background:rgba(0,0,0,0.25)"] strong {
    color: #0f172a !important;
}

body.light-mode .bimbingan-card div[style*="background: rgba(0,0,0,0.45)"],
body.light-mode .bimbingan-card div[style*="background:rgba(0,0,0,0.45)"] {
    background: #fefce8 !important;
    border: 1.5px solid rgba(202, 138, 4, 0.35) !important;
}

body.light-mode .bimbingan-card div[style*="background: rgba(0,0,0,0.45)"] div[style*="color: #fde68a"],
body.light-mode .bimbingan-card div[style*="background:rgba(0,0,0,0.45)"] div[style*="color: #fde68a"] {
    color: #0f172a !important;
}

/* ======================================================== */
/* 6. BADGES TAHAP AKADEMIK (MODE TERANG)                   */
/* ======================================================== */
body.light-mode .badge-belum { background: #f1f5f9 !important; color: #475569 !important; border: 1px solid #cbd5e1 !important; }
body.light-mode .badge-sempro { background: #fef9c3 !important; color: #854d0e !important; border: 1px solid rgba(202, 138, 4, 0.35) !important; }
body.light-mode .badge-semhas { background: #e0f2fe !important; color: #0369a1 !important; border: 1px solid rgba(14, 165, 233, 0.35) !important; }
body.light-mode .badge-sidang { background: #ffedd5 !important; color: #c2410c !important; border: 1px solid rgba(249, 115, 22, 0.35) !important; }
body.light-mode .badge-yudisium { background: #f3e8ff !important; color: #7e22ce !important; border: 1px solid rgba(168, 85, 247, 0.35) !important; }
body.light-mode .badge-wisuda { background: #dcfce7 !important; color: #15803d !important; border: 1px solid rgba(34, 197, 94, 0.35) !important; }

/* ======================================================== */
/* 7. MAHASISWA REKAM PRESTASI & TAB PANES (MODE TERANG)    */
/* ======================================================== */
body.light-mode .prestasi-box-container,
body.light-mode div[style*="background: rgba(20, 16, 5, 0.6)"],
body.light-mode div[style*="background:rgba(20, 16, 5, 0.6)"] {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.22) !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}

body.light-mode .prestasi-row,
body.light-mode div[style*="background: rgba(38, 28, 6, 0.7)"],
body.light-mode div[style*="background:rgba(38, 28, 6, 0.7)"] {
    background: #ffffff !important;
    border: 1.5px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    color: #1e293b !important;
}

body.light-mode .prestasi-row select,
body.light-mode .prestasi-row input[type="text"],
body.light-mode .prestasi-row input[type="file"] {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid rgba(202, 138, 4, 0.25) !important;
}

body.light-mode .prestasi-row select:focus,
body.light-mode .prestasi-row input[type="text"]:focus,
body.light-mode .prestasi-row input[type="file"]:focus {
    border-color: #ca8a04 !important;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .prestasi-row label {
    color: #475569 !important;
}

body.light-mode .prestasi-row a[href*="uploads"] {
    color: #b45309 !important;
    font-weight: 700 !important;
}

body.light-mode .btn-tambah-prestasi,
body.light-mode button[onclick*="tambahPrestasi"] {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1.5px solid rgba(202, 138, 4, 0.35) !important;
}

body.light-mode .btn-tambah-prestasi:hover,
body.light-mode button[onclick*="tambahPrestasi"]:hover {
    background: #fef08a !important;
    color: #713f12 !important;
}

body.light-mode .prestasi-row button[onclick*="remove()"] {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

body.light-mode .mhs-tab-pane > div[style*="linear-gradient(145deg, #261c06"],
body.light-mode .mhs-tab-pane > div[style*="linear-gradient(145deg,#261c06"] {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* ======================================================== */
/* 8. ADMIN FORM & MANAGEMENT PAGES (MODE TERANG)           */
/* ======================================================== */
body.light-mode .form-card,
body.light-mode .preview-box,
body.light-mode .admin-card {
    background: #ffffff !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

body.light-mode .form-card h3,
body.light-mode .preview-box h3,
body.light-mode .admin-card h3 {
    color: #854d0e !important;
    border-bottom: 1px solid rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .form-card label,
body.light-mode .preview-box label,
body.light-mode label {
    color: #334155 !important;
}

body.light-mode .file-upload-box {
    background: #f8fafc !important;
    border: 1.5px dashed rgba(202, 138, 4, 0.35) !important;
    color: #334155 !important;
}

body.light-mode .file-upload-box div {
    color: #475569 !important;
}

body.light-mode .preview-box div[style*="background: rgba(20, 15, 4, 0.7)"],
body.light-mode .preview-box div[style*="background:rgba(20, 15, 4, 0.7)"] {
    background: #f8fafc !important;
    border: 1px solid rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .preview-box div[style*="background: rgba(20, 15, 4, 0.5)"],
body.light-mode .preview-box div[style*="background:rgba(20, 15, 4, 0.5)"],
body.light-mode div[style*="background: rgba(20, 15, 4, 0.5)"],
body.light-mode div[style*="background:rgba(20, 15, 4, 0.5)"] {
    background: #fefce8 !important;
    border: 1.5px dashed rgba(202, 138, 4, 0.3) !important;
}

body.light-mode .preview-box div[style*="background: rgba(250, 204, 21, 0.1)"] {
    background: #fefce8 !important;
    border: 1px solid rgba(202, 138, 4, 0.25) !important;
}

body.light-mode .preview-box div[style*="background: rgba(250, 204, 21, 0.1)"] div[style*="color: #ffffff"] {
    color: #0f172a !important;
}

body.light-mode .form-card input[type="text"],
body.light-mode .form-card input[type="file"],
body.light-mode .form-card select,
body.light-mode .form-card textarea,
body.light-mode input[type="text"],
body.light-mode select,
body.light-mode textarea {
    background: #ffffff !important;
    border: 1.5px solid rgba(202, 138, 4, 0.25) !important;
    color: #0f172a !important;
}

body.light-mode .form-card input[type="text"]:focus,
body.light-mode .form-card select:focus,
body.light-mode .form-card textarea:focus,
body.light-mode input[type="text"]:focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
    border-color: #ca8a04 !important;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .table-custom th,
body.light-mode .form-card table th,
body.light-mode th {
    background: #fef08a !important;
    color: #78350f !important;
    border-bottom: 2px solid #ca8a04 !important;
}

body.light-mode .table-custom td,
body.light-mode .form-card table td,
body.light-mode td {
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

body.light-mode .table-custom tr:hover td,
body.light-mode .form-card table tr:hover td {
    background: #fefce8 !important;
}

body.light-mode .btn-cancel {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

body.light-mode .btn-cancel:hover {
    background: #e2e8f0 !important;
    color: #1e293b !important;
}

/* Light mode overrides for Jalur & Academic cards */
body.light-mode .detail-val[style*="color: #38bdf8"] {
    color: #0284c7 !important;
}

body.light-mode .badge[style*="color: #38bdf8"] {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
}

/* Light mode overrides for student links in tables / cards */
body.light-mode a[href*="mahasiswa_detail"],
body.light-mode .mhs-pa-name-link {
    color: #92400e !important;
    font-weight: 700 !important;
}
body.light-mode a[href*="mahasiswa_detail"]:hover,
body.light-mode .mhs-pa-name-link:hover {
    color: #b45309 !important;
    text-decoration: underline !important;
}

/* ======================================================== */
/* FOOTER WIDGET AREA & COPYRIGHT BAR                     */
/* ======================================================== */
.footer-widget-area {
    background: linear-gradient(180deg, rgba(22, 17, 4, 0.96) 0%, rgba(12, 9, 2, 0.99) 100%);
    border-top: 1px solid rgba(250, 204, 21, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.footer-widget-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 20px 35px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.15fr 0.95fr;
    gap: 32px;
}

.footer-widget-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.footer-brand-title h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fde68a;
    letter-spacing: 0.5px;
}

.footer-brand-title span {
    display: block;
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-brand-title small {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 18px;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.footer-contact-row i {
    color: #facc15;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.footer-contact-row a {
    color: #fde68a;
    text-decoration: none;
    transition: 0.2s;
}

.footer-contact-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Headings */
.footer-widget-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fde68a;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(250, 204, 21, 0.2);
    padding-bottom: 8px;
}

/* Links */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.22s ease;
}

.footer-link-list li a i:first-child {
    color: #facc15;
    width: 16px;
    text-align: center;
    transition: transform 0.2s;
}

.footer-ext-icon {
    margin-left: auto;
    font-size: 0.68rem;
    opacity: 0.5;
    color: #94a3b8;
}

.footer-link-list li a:hover {
    background: rgba(250, 204, 21, 0.12);
    color: #fde68a;
    transform: translateX(4px);
}

.footer-link-list li a:hover i:first-child {
    transform: scale(1.15);
}

.footer-link-list li a:hover .footer-ext-icon {
    opacity: 1;
    color: #facc15;
}

/* Social & Hours */
.footer-social-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: all 0.22s ease;
}

.footer-social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.ig-card:hover {
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(236, 72, 153, 0.1);
}
.ig-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.fb-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}
.fb-icon {
    background: #1877f2;
}

.footer-social-meta {
    display: flex;
    flex-direction: column;
}

.soc-label {
    font-size: 0.72rem;
    color: #94a3b8;
}

.soc-name {
    font-size: 0.85rem;
    color: #fde68a;
}

.footer-hours-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(250, 204, 21, 0.08);
    border: 1px dashed rgba(250, 204, 21, 0.3);
    border-radius: 12px;
    padding: 12px;
    color: #cbd5e1;
    font-size: 0.78rem;
}

.footer-hours-card i {
    font-size: 1.2rem;
    color: #facc15;
    flex-shrink: 0;
}

.footer-hours-card strong {
    display: block;
    color: #fde68a;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

/* Copyright Bar */
.footer-copyright-bar {
    background: #0a0802;
    border-top: 1px solid rgba(250, 204, 21, 0.15);
    padding: 16px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
    position: relative;
    z-index: 2;
    margin-top: auto !important;
}

.footer-copyright-bar p {
    margin: 0;
    line-height: 1.5;
}

.footer-copyright-bar strong {
    color: #facc15;
}

/* LIGHT MODE SUPPORT */
body.light-mode .footer-widget-area {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%) !important;
    border-top: 2px solid rgba(202, 138, 4, 0.28) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .footer-brand-title h4 {
    color: #854d0e !important;
}

body.light-mode .footer-brand-title span {
    color: #334155 !important;
}

body.light-mode .footer-brand-title small {
    color: #64748b !important;
}

body.light-mode .footer-desc {
    color: #64748b !important;
}

body.light-mode .footer-contact-row {
    color: #334155 !important;
}

body.light-mode .footer-contact-row i {
    color: #ca8a04 !important;
}

body.light-mode .footer-contact-row a {
    color: #854d0e !important;
}

body.light-mode .footer-contact-row a:hover {
    color: #ca8a04 !important;
}

body.light-mode .footer-widget-heading {
    color: #854d0e !important;
    border-bottom: 1px solid rgba(202, 138, 4, 0.2) !important;
}

body.light-mode .footer-link-list li a {
    color: #334155 !important;
}

body.light-mode .footer-link-list li a i:first-child {
    color: #ca8a04 !important;
}

body.light-mode .footer-link-list li a:hover {
    background: rgba(250, 204, 21, 0.15) !important;
    color: #854d0e !important;
}

body.light-mode .footer-social-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-mode .soc-name {
    color: #1e293b !important;
}

body.light-mode .footer-hours-card {
    background: #fefce8 !important;
    border: 1px dashed rgba(202, 138, 4, 0.35) !important;
    color: #475569 !important;
}

body.light-mode .footer-hours-card strong {
    color: #854d0e !important;
}

body.light-mode .footer-hours-card i {
    color: #ca8a04 !important;
}

body.light-mode .footer-copyright-bar {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

body.light-mode .footer-copyright-bar strong {
    color: #854d0e !important;
}

/* Responsive Footer Breakpoints */
@media (max-width: 992px) {
    .footer-widget-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 35px 20px 25px;
    }
}

@media (max-width: 600px) {
    .footer-widget-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 16px 20px;
    }
    .footer-brand-header {
        align-items: flex-start;
    }
}

/* ======================================================== */
/* GLOBAL RUNNER PRELOADER ANIMATION                        */
/* ======================================================== */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #1e1706 0%, #0a0802 85%, #050401 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
}

@media (min-width: 992px) {
    .site-preloader {
        width: calc(100vw / 1.01) !important;
        height: calc(100vh / 1.01) !important;
        min-width: calc(100vw / 1.01) !important;
        min-height: calc(100vh / 1.01) !important;
    }
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-backdrop-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.22) 0%, rgba(202, 138, 4, 0.08) 45%, transparent 70%);
    filter: blur(50px);
    animation: preloaderPulse 3s infinite alternate ease-in-out;
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 40px;
    max-width: 520px;
}

.preloader-logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.preloader-solo-logo {
    height: 95px;
    max-width: 125px;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(250, 204, 21, 0.6)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
    animation: preloaderLogoPulse 2.4s ease-in-out infinite alternate;
}

@keyframes preloaderLogoPulse {
    0% {
        transform: scale(0.96);
        filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.4)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    }
    100% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 32px rgba(250, 204, 21, 0.8)) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.85));
    }
}

.preloader-brand {
    margin-bottom: 22px;
}

.preloader-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #fef08a 40%, #facc15 80%, #ca8a04 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.preloader-subtitle {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
}

.preloader-runner-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.preloader-runner-box {
    position: relative;
    width: 320px;
    max-width: 85vw;
    padding-top: 38px;
    padding-bottom: 8px;
}

.runner-avatar-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 3;
    animation: runnerSprintTrack 2s cubic-bezier(0.35, 0.05, 0.25, 1) infinite;
}

.runner-figure {
    font-size: 2.2rem;
    color: #facc15;
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.9)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    animation: runnerStride 0.4s infinite ease-in-out;
    transform-origin: bottom center;
    display: inline-block;
}

.runner-wind-trails {
    position: absolute;
    right: 85%;
    top: 45%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.runner-dust-puff {
    position: absolute;
    left: -6px;
    bottom: 4px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: dustBurst 0.4s infinite ease-out;
}

.runner-track-line {
    width: 100%;
    height: 6px;
    background: rgba(250, 204, 21, 0.12);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.5);
}

.runner-track-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ca8a04 0%, #facc15 65%, #ffffff 100%);
    border-radius: 50px;
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.9);
    animation: trackProgressFill 2s cubic-bezier(0.35, 0.05, 0.25, 1) infinite;
}

.runner-goal-flag {
    position: absolute;
    right: -6px;
    top: 10px;
    font-size: 1.35rem;
    color: #fde047;
    filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.8));
    animation: flagWiggle 1.4s infinite ease-in-out;
}

.preloader-status-text {
    font-size: 0.84rem;
    color: #facc15;
    font-weight: 600;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 4px;
}

.preloader-dot-pulse {
    width: 7px;
    height: 7px;
    background: #facc15;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #facc15;
    animation: dotPulse 1.2s infinite ease-in-out;
}
