/* ===================== SGITI MOCK TEST — Global Styles ===================== */
:root {
    --primary:    #4f46e5;
    --primary-hover: #4338ca;
    --secondary:  #f43f5e;
    --purple:     #8b5cf6;
    --purple-light: #a78bfa;
    --accent:     #f59e0b;
    --bg:         #f8fafc;
    --white:      #ffffff;
    --text:       #0f172a;
    --text-muted: #64748b;
    --border:     #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --glass-bg:   rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --radius:     16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    height: auto;
}

/* ===================== LOGO ===================== */
.nimi-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.nimi-logo .l1  { color: #e53e3e; }
.nimi-logo .l2  { color: #dd6b20; }
.nimi-logo .l3  { color: #d69e2e; }
.nimi-logo .l4  { color: #38a169; }
.nimi-logo .sp  { color: #fff; margin: 0 2px; }
.nimi-logo .l5  { color: #3182ce; }
.nimi-logo .l6  { color: #805ad5; }
.nimi-logo .l7  { color: #d53f8c; }
.nimi-logo .l8  { color: #e53e3e; }
.nimi-logo .sp2 { color: #fff; margin: 0 2px; }
.nimi-logo .l9  { color: #dd6b20; }
.nimi-logo .l10 { color: #d69e2e; }
.nimi-logo .l11 { color: #38a169; }
.nimi-logo .l12 { color: #3182ce; }

/* ===================== NAVBAR ===================== */
.nimi-navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-dashboard {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-dashboard:hover { background: #283593; color: #fff; }

.btn-logout {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-logout:hover { background: #b02a37; color: #fff; }

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--border);
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar .avatar-icon { font-size: 1.2rem; color: #64748b; }

/* ===================== BREADCRUMB BAR ===================== */
.breadcrumb-bar {
    background: var(--primary);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.breadcrumb-bar .page-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}
.breadcrumb-nav a { color: #f97316; text-decoration: none; font-weight: 500; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav .separator { color: #94a3b8; }
.breadcrumb-nav .current { color: var(--white); font-weight: 600; }

/* ===================== MAIN CONTENT ===================== */
.main-content {
    padding: 36px 24px 100px 24px; /* Added bottom padding for nav bar */
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================== IMAGE SLIDER ===================== */
.premium-slider-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 20px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}
.premium-slider-container::-webkit-scrollbar {
    display: none;
}
.slider-item {
    scroll-snap-align: center;
    flex: 0 0 92%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.slider-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* ===================== DASHBOARD CARDS ===================== */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.dash-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: block;
}
.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 70, 229, 0.3);
}

.dash-card-illustration {
    padding: 20px 16px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    background: #fafafa;
}
.dash-card-illustration svg,
.dash-card-illustration img {
    max-width: 100px;
    max-height: 100px;
}

.dash-card-label {
    background: var(--purple);
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================== STAT CARDS ===================== */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(79, 70, 229, 0.3);
}
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.stat-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.stat-icon.green  { background: #dcfce7; color: #15803d; }
.stat-icon.orange { background: #ffedd5; color: #c2410c; }
.stat-icon.purple { background: #f3e8ff; color: #7c3aed; }
.stat-icon.red    { background: #fee2e2; color: #b91c1c; }

.stat-info h3 { font-size: 1.3rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-info p  { font-size: 0.75rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ===================== SECTION CARD ===================== */
.section-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.section-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.section-card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-card-header h5 { font-size: 1rem; font-weight: 700; margin: 0; }
.section-card-body { padding: 20px; }

/* ===================== TABLE ===================== */
.nimi-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.nimi-table th {
    background: #f8fafc;
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}
.nimi-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.nimi-table tr:last-child td { border-bottom: none; }
.nimi-table tr:hover td { background: #f8fafc; }

/* ===================== BADGES ===================== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success  { background: #dcfce7; color: #15803d; }
.badge-danger   { background: #fee2e2; color: #b91c1c; }
.badge-warning  { background: #fef9c3; color: #854d0e; }
.badge-info     { background: #dbeafe; color: #1d4ed8; }
.badge-purple   { background: #f3e8ff; color: #7c3aed; }
.badge-gray     { background: #f1f5f9; color: #475569; }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.4;
    justify-content: center;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; border-radius: 8px; }
.btn-primary   { background: var(--primary);  color: #fff; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }
.btn-primary:hover   { background: var(--primary-hover); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); transform: translateY(-2px); }
.btn-danger    { background: var(--secondary); color: #fff; box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3); }
.btn-danger:hover    { background: #e11d48; color: #fff; transform: translateY(-2px); }
.btn-success   { background: #10b981; color: #fff; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.btn-success:hover   { background: #059669; color: #fff; transform: translateY(-2px); }
.btn-warning   { background: #f59e0b; color: #fff; }
.btn-warning:hover   { background: #d97706; color: #fff; transform: translateY(-2px); }
.btn-purple    { background: var(--purple); color: #fff; }
.btn-purple:hover    { background: #7c3aed; color: #fff; transform: translateY(-2px); }
.btn-outline   { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover   { border-color: var(--primary); color: var(--primary); background: #f8fafc; }
.btn-icon { padding: 8px; border-radius: 10px; }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form-control:focus { 
    background: #fff;
    border-color: #818cf8; 
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15); 
}
.form-control.error { border-color: var(--secondary); }
.form-error { color: var(--secondary); font-size: 0.8rem; margin-top: 4px; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ===================== LOGIN PAGE ===================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 50%, #fae8ff 100%);
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}
.login-page::before, .login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float 10s infinite ease-in-out alternate;
}
.login-page::before {
    background: rgba(139, 92, 246, 0.4);
    top: -100px;
    left: -100px;
}
.login-page::after {
    background: rgba(244, 63, 94, 0.3);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}
.login-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    margin: auto;
    animation: slideUpFade 0.6s ease-out forwards;
}
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.login-logo { text-align: center; margin-bottom: 8px; }
.login-logo .nimi-logo .sp, .login-logo .nimi-logo .sp2 { color: #0f172a; }
.login-subtitle { text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 32px; font-weight: 500; }
.login-box h2 { text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; color: var(--text); letter-spacing: -0.5px; }

/* ===================== ALERT ===================== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-danger  { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-info    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ===================== ADMIN SIDEBAR ===================== */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 240px;
    background: var(--primary);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-logo .nimi-logo .sp, .sidebar-logo .nimi-logo .sp2 { color: rgba(255,255,255,0.5); }
.sidebar-nav { padding: 12px 0; flex: 1; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-left: 3px solid #f97316;
}
.sidebar-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.sidebar-section {
    padding: 10px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.admin-main {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===================== MODAL ===================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.modal-header h5 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
    padding: 2px;
}
.modal-close:hover { color: var(--secondary); }

/* ===================== QUIZ / TEST TAKING ===================== */
.quiz-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.quiz-timer {
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: monospace;
}
.quiz-timer.warning { background: #dc3545; }

.question-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}
.question-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.question-text { font-size: 1rem; font-weight: 600; line-height: 1.6; margin-bottom: 20px; }
.option-list { display: flex; flex-direction: column; gap: 10px; }
.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}
.option-item:hover { border-color: var(--primary); background: #f0f3ff; }
.option-item.selected { border-color: var(--primary); background: #e8edf9; }
.option-item.correct  { border-color: #16a34a; background: #dcfce7; }
.option-item.wrong    { border-color: #dc3545; background: #fee2e2; }
.option-bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.option-item.selected .option-bullet { background: var(--primary); color: #fff; }
.option-item.correct  .option-bullet  { background: #16a34a; color: #fff; }
.option-item.wrong    .option-bullet  { background: #dc3545; color: #fff; }

.question-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px;
}
.q-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.q-btn.answered { background: #16a34a; color: #fff; border-color: #16a34a; }
.q-btn.current  { background: var(--primary); color: #fff; border-color: var(--primary); }
.q-btn.skipped  { background: #f59e0b; color: #fff; border-color: #f59e0b; }

/* ===================== PROGRESS BAR ===================== */
.progress-bar-wrap { background: #e2e8f0; border-radius: 99px; overflow: hidden; height: 8px; }
.progress-bar-fill { height: 100%; border-radius: 99px; background: var(--primary); transition: width 0.4s; }

/* ===================== RESULT PAGE ===================== */
.result-score-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 8px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.result-score-circle .score-num { font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.result-score-circle .score-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }

/* ===================== FOOTER / BOTTOM NAV ===================== */
.nimi-footer {
    display: none !important;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-bottom: 90px; /* Space for bottom nav */
}

/* Premium Bottom Navigation */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 4px;
    flex: 1;
}
.nav-item.active {
    color: var(--primary);
}
.nav-item .nav-icon {
    font-size: 1.4rem;
    transition: transform 0.2s;
}
.nav-item:hover .nav-icon {
    transform: translateY(-2px);
    color: var(--primary);
}
.nav-item.center-btn {
    flex: 0 0 auto;
    margin-top: -30px;
}
.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid #f8fafc;
}
.nav-item.center-btn:hover .fab-btn {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.fw-bold { font-weight: 700; }
.text-muted { color: var(--text-muted); font-size: 0.875rem; }
.d-none { display: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .sidebar { width: 0; overflow: hidden; }
    .sidebar.open { width: 240px; }
    .admin-main { margin-left: 0; }
    .dashboard-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .login-box { padding: 32px 24px; }
    .breadcrumb-bar { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; }
    .premium-breadcrumb { flex-direction: row; align-items: center; justify-content: space-between; padding: 12px 16px; }
    .main-content { padding: 16px 12px 90px 12px; } /* Space for bottom nav on mobile */
    .nimi-table th, .nimi-table td { padding: 8px 10px; font-size: 0.8rem; }
}


