/* Elite Classes — Executive Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #f59e0b;
    --accent-light: #fffbeb;
    --success: #10b981;
    --success-light: #ecfdf5;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --warning: #f59e0b;
    --warning-light: #fffbeb;
    --purple: #8b5cf6;
    --purple-light: #f5f3ff;
    --info: #06b6d4;
    --info-light: #ecfeff;
    
    --bg: #f8fafc;
    --topbar-bg: #0b1329;
    --card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    --shadow-hover: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-title {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* STICKY FIXED HEADER */
.app-header-sticky {
    position: sticky;
    top: 0;
    z-index: 150;
    width: 100%;
}

/* TOP BRAND BANNER */
.top-banner {
    background: var(--topbar-bg);
    color: #ffffff;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* OFF-WHITE TRANSPARENT SUB-HEADER BAR */
.sub-header-bar {
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.notice-ticker-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.notice-badge {
    background: var(--danger);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.marquee-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScroll 22s linear infinite;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.sub-header-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

img.brand-logo-icon {
    background: transparent;
    border: none;
}

.brand-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.brand-text span {
    color: var(--accent);
}

.brand-sub {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.admin-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    padding: 5px 14px 5px 6px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #f8fafc;
}

/* TOP BANNER USER PILL & BUTTONS */
.header-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 4px 14px 4px 5px;
    color: #ffffff;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.header-profile-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-profile-avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 10.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 5px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.header-logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.6);
}

/* MAIN CONTAINER */
.main-content {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    flex: 1;
}

.page-view {
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.page-view.active {
    display: block;
}

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

/* PAGE HEADER */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.page-title-group h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* REFINED ELEGANT STAT PALLETS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-pallet {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    position: relative;
}

.stat-pallet:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-pallet.blue .stat-icon { background: var(--primary-light); color: var(--primary); }
.stat-pallet.purple .stat-icon { background: var(--purple-light); color: var(--purple); }
.stat-pallet.info .stat-icon { background: var(--info-light); color: var(--info); }
.stat-pallet.green .stat-icon { background: var(--success-light); color: var(--success); }
.stat-pallet.orange .stat-icon { background: var(--warning-light); color: var(--warning); }

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-success { background: var(--success); color: #ffffff; }
.btn-success:hover { background: #059669; }

.btn-warning { background: var(--warning); color: #ffffff; }
.btn-warning:hover { background: #d97706; }

.btn-danger { background: var(--danger); color: #ffffff; }
.btn-danger:hover { background: #dc2626; }

.btn-outline {
    background: #ffffff;
    border-color: var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1da851;
}

/* PROFILES SWITCHER */
.profile-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
}

.profile-tab {
    padding: 7px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    border: none;
    background: transparent;
    font-family: inherit;
}

.profile-tab.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* CARDS & TABLES */
.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 24px;
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-body {
    padding: 20px;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.search-input {
    position: relative;
    flex: 1;
    min-width: 240px;
}

.search-input input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    outline: none;
    font-family: inherit;
}

.search-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-input svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-light);
}

.select-input {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    outline: none;
    background: #fff;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
}

/* CHECKLIST MULTI-SELECT GRID */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px;
    max-height: 140px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
    color: var(--text);
}

.checkbox-item:hover {
    background: #e2e8f0;
}

.checkbox-item input[type="checkbox"] {
    accent-color: var(--primary);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* DATA TABLE */
.table-wrap {
    width: 100%;
    overflow-x: auto;
}

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

th {
    background: #f8fafc;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    font-size: 13px;
    vertical-align: middle;
}

tbody tr {
    transition: background 0.15s;
}

tbody tr:hover {
    background: #f8fafc;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background: #f1f5f9 !important;
}

/* BADGES */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-info { background: var(--info-light); color: var(--info); }

/* AVATARS */
.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.avatar-sm {
    width: 26px;
    height: 26px;
    font-size: 10px;
}

/* ACTION BUTTONS */
.action-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.icon-btn.danger:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
}

.icon-btn svg {
    width: 14px;
    height: 14px;
}

/* MODAL OVERLAY & DIALOG */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: #ffffff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
    transform: scale(0.97);
    transition: transform 0.2s ease;
    overflow: hidden;
}

.modal-overlay.open .modal {
    transform: scale(1);
}

.modal-lg {
    max-width: 820px;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.modal-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--text);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
}

/* FORM GRID */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    outline: none;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0b1329;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 300;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success svg { color: var(--success); }
.toast.danger svg { color: var(--danger); }
.toast.warning svg { color: var(--warning); }

/* EMPTY STATE */
.empty-state {
    padding: 32px 16px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state svg {
    width: 40px;
    height: 40px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 13px;
    font-weight: 500;
}

/* RECEIPT FORMAT */
.receipt-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.receipt-header {
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 2px dashed var(--border);
    margin-bottom: 14px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
}

.receipt-total {
    border-top: 2px solid var(--text);
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 15px;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .top-banner {
        padding: 10px 14px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .brand-text {
        font-size: 18px;
    }

    .brand-sub {
        font-size: 9.5px;
    }

    .sub-header-bar {
        padding: 5px 12px;
        gap: 8px;
    }

    .sub-header-date {
        font-size: 11px;
        padding: 3px 6px;
    }

    .main-content {
        padding: 16px 12px;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .page-title-group h1 {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-pallet {
        padding: 14px 16px;
    }

    .card {
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .card-header {
        padding: 12px 14px;
    }

    .card-body {
        padding: 14px 12px;
    }

    .profile-switcher {
        width: 100%;
        display: flex;
        overflow-x: auto;
    }

    .profile-tab {
        flex: 1;
        padding: 6px 10px;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
    }

    .modal-overlay {
        padding: 10px;
    }

    .modal {
        max-width: 96vw;
        border-radius: 14px;
    }

    .modal-body {
        padding: 14px 12px;
    }

    .modal-footer {
        padding: 10px 14px;
    }

    .desktop-class-filter-row {
        display: none !important;
    }

    .mobile-class-filter-select {
        display: block !important;
    }
}

/* =========================================================
   STUDENT PORTAL & NOTICE BOARD RIGHT-TO-LEFT SCROLLING STYLES
   ========================================================= */

/* Notice Marquee Animation (Right to Left) */
@keyframes marqueeScrollRTL {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.notice-ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.marquee-track {
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeScrollRTL 25s linear infinite;
    font-weight: 600;
    color: var(--text-dark);
}

.marquee-content:hover {
    animation-play-state: paused;
}

/* Right-to-Left Sliding Notice Cards Slider */
.notice-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 16px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.notice-slider-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: slideRightToLeft 25s linear infinite;
}

.notice-slider-track:hover {
    animation-play-state: paused;
}

@keyframes slideRightToLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.notice-card-slide {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #e2e8f0;
}

.notice-card-slide-badge {
    display: inline-block;
    background: #f59e0b;
    color: #0f172a;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Auth Gateway Tabbed Selector */
.auth-mode-switcher {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.auth-tab-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Student Read-Only Info Card Badges */
.student-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.student-info-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.student-info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.student-info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Course & Test Series Card Layout */
.content-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.learning-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.learning-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
}

.learning-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.learning-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.learning-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 14px;
}

.progress-bar-wrap {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0 12px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.4s ease;
}

