/* ============================================================
   HSEA TRAINING LMS — Professional Design System
   Brand: Navy #12284c | Gold #c6a15b | BG #f4f6f8
   ============================================================ */

:root {
    --primary:        #12284c;
    --primary-light:  #1d3f73;
    --primary-dark:   #08182f;
    --primary-pale:   #e8eef6;
    --gold:           #c6a15b;
    --gold-light:     #d7b977;
    --gold-pale:      #fbf6ea;
    --accent:         #2f5f9f;
    --bg:             #f4f6f8;
    --white:          #ffffff;
    --text-dark:      #172033;
    --text-muted:     #667085;
    --border:         #d9e0ea;
    --danger:         #b42318;
    --warning:        #b54708;
    --success:        #067647;
    --info:           #175cd3;
    --shadow-xs:      0 1px 2px rgba(16,24,40,0.06);
    --shadow-sm:      0 1px 3px rgba(16,24,40,0.08);
    --shadow:         0 8px 18px rgba(16,24,40,0.10);
    --shadow-lg:      0 14px 30px rgba(16,24,40,0.14);
    --sidebar-width:  260px;
    --navbar-h:       60px;
    --radius:         6px;
    --radius-lg:      8px;
    --radius-xl:      8px;
    --transition:     all 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 15px; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-xs);
}

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

.btn-success { background: var(--success); border-color: var(--success); }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--gold) !important; }

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.hsea-navbar {
    background: var(--primary);
    border-bottom: 2px solid var(--gold);
    height: var(--navbar-h);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(8,24,47,0.24);
    gap: 1rem;
}

/* Brand / Logo */
.hsea-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: white !important;
    flex-shrink: 0;
}

.brand-logo {
    background: var(--gold);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    padding: 0 0.65rem;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: white;
    letter-spacing: 0.2px;
}

.brand-tagline {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Navbar centre label */
.navbar-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar-section-label {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 0.3rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Navbar right actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

/* Notification bell */
.notification-bell {
    position: relative;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.notification-bell:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ef4444;
    color: white;
    border-radius: 6px;
    width: 17px;
    height: 17px;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid var(--primary);
}

/* User menu */
.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.user-menu:hover { background: rgba(255,255,255,0.12); color: white; }

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

/* Role badges */
.role-badge {
    font-size: 0.62rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.role-student     { background: #dbeafe; color: #1e40af; }
.role-instructor  { background: #fef9c3; color: #854d0e; }
.role-admin       { background: #fee2e2; color: #991b1b; }
.role-accounting  { background: #d1fae5; color: #065f46; }

/* Mobile hamburger */
.navbar-toggler-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    padding: 0.25rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   PAGE WRAPPER / SIDEBAR
   ============================================================ */
.page-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: var(--navbar-h);
}

.sidebar {
    width: var(--sidebar-width);
    background: #0b1d38;
    position: fixed;
    left: 0;
    top: var(--navbar-h);
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.sidebar-nav { padding: 1rem 0 2rem; }

.sidebar-section {
    padding: 0.75rem 1.25rem 0.3rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.44);
    margin-top: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: var(--transition);
    position: relative;
}

.sidebar-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.07);
    color: white;
    border-left-color: rgba(201,168,76,0.5);
}

.sidebar-link.active {
    background: rgba(255,255,255,0.09);
    color: white;
    border-left-color: var(--gold);
    font-weight: 600;
}

.sidebar-link .badge {
    margin-left: auto;
    font-size: 0.65rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: calc(var(--navbar-h) + 0.5rem) 2rem 2rem;
    min-height: 100vh;
    background: var(--bg);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--gold);
    box-shadow: var(--shadow-sm);
}

.page-header h1 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.page-header p {
    opacity: 0.8;
    margin: 0;
    font-size: 0.88rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow); }

.card-header {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.card-header.gold-header {
    background: var(--gold);
    color: var(--primary-dark);
}

.card-header.light-header {
    background: var(--primary-pale);
    color: var(--primary);
}

.card-body { padding: 1.25rem; }

.card-footer {
    background: #fafafa;
    border-top: 1px solid var(--border);
    padding: 0.85rem 1.25rem;
}

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -25px;
    right: -25px;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.stat-card .stat-icon {
    font-size: 2.2rem;
    opacity: 0.85;
    line-height: 1;
}

.stat-card .stat-value {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0.25rem 0 0.1rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Stat card colour variants */
.bg-green    { background: #154734; }
.bg-gold     { background: #8a6b23; }
.bg-blue     { background: var(--primary); }
.bg-orange   { background: #9a4b17; }
.bg-purple   { background: #513b7c; }
.bg-teal     { background: #0f5f5c; }
.bg-red      { background: #8f1d1d; }
.bg-indigo   { background: #273a75; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-hsea {
    background: var(--primary);
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.btn-hsea:hover {
    background: var(--primary-light);
    color: white !important;
    box-shadow: 0 5px 15px rgba(18,40,76,0.20);
}

.btn-hsea:active { transform: translateY(0); }

.btn-gold {
    background: var(--gold);
    color: var(--primary-dark) !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-light);
    color: var(--primary-dark) !important;
    box-shadow: 0 5px 15px rgba(201,168,76,0.35);
}

.btn-outline-hsea {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.4rem 1rem;
    transition: var(--transition);
}
.btn-outline-hsea:hover {
    background: var(--primary);
    color: white;
}

.btn-xs {
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-control,
.form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: #ffffff;
    color: var(--text-dark);
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(47,95,159,0.14);
    background: white;
    outline: none;
    color: var(--text-dark);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 0.35rem;
}

.form-text { font-size: 0.78rem; }

.input-group-text {
    background: var(--primary-pale);
    border: 1.5px solid var(--border);
    color: var(--primary);
    font-size: 0.95rem;
}

/* ============================================================
   TABLES
   ============================================================ */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 0.88rem;
}

.table thead th {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: none;
    padding: 0.72rem 0.9rem;
    white-space: nowrap;
}

.table thead th:first-child { border-radius: 0; }
.table thead th:last-child  { border-radius: 0; }

.table tbody td {
    vertical-align: middle;
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #eef2f6;
    color: var(--text-dark);
}

.table tbody tr:hover td { background: #f7f9fc; }
.table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress {
    height: 7px;
    border-radius: 4px;
    background: #e5e7eb;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    border-radius: var(--radius);
    border: none;
    border-left: 4px solid;
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-success { background: #f0fdf4; color: #166534; border-left-color: #22c55e; }
.alert-danger, .alert-error { background: #fef2f2; color: #991b1b; border-left-color: #ef4444; }
.alert-warning { background: #fffbeb; color: #92400e; border-left-color: #f59e0b; }
.alert-info { background: #eff6ff; color: #1e40af; border-left-color: #3b82f6; }

/* ============================================================
   LESSON CARDS
   ============================================================ */
.lesson-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
    background: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.lesson-card:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-sm);
}

.lesson-card.locked   { opacity: 0.6; border-color: #e5e7eb; }
.lesson-card.unlocked { border-color: #93c5fd; background: #f0f7ff; }
.lesson-card.complete { border-color: #6ee7b7; background: #f0fdf4; }
.lesson-card.exam-open { border-color: #fca5a5; background: #fff5f5; }

.lesson-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lesson-icon.locked-icon   { background: #f3f4f6; color: #9ca3af; }
.lesson-icon.unlocked-icon { background: #dbeafe; color: #2563eb; }
.lesson-icon.complete-icon { background: #d1fae5; color: #059669; }
.lesson-icon.exam-icon     { background: #fee2e2; color: #dc2626; }
.lesson-icon.submitted-icon { background: #fef9c3; color: #d97706; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-locked    { color: #6b7280; }
.status-unlocked  { color: #2563eb; font-weight: 600; }
.status-submitted { color: #d97706; font-weight: 600; }
.status-approved  { color: #059669; font-weight: 600; }
.status-complete  { color: #059669; font-weight: 800; }
.status-exam-open { color: #dc2626; font-weight: 700; }

/* ============================================================
   NOTIFICATION DROPDOWN
   ============================================================ */
.notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.notification-item:hover { background: #f9fafb; }
.notification-item.unread {
    background: var(--primary-pale);
    border-left: 3px solid var(--accent);
}

/* ============================================================
   DROPDOWN MENUS
   ============================================================ */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.35rem;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 8px;
    font-size: 0.88rem;
    padding: 0.6rem 0.9rem;
    transition: background 0.15s;
}

.dropdown-item:hover { background: var(--primary-pale); color: var(--primary); }

/* ============================================================
   ENROLLMENT GATE
   ============================================================ */
.enrollment-gate {
    min-height: calc(100vh - var(--navbar-h));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-pale), #dcfce7);
}

.gate-card {
    background: white;
    border-radius: 22px;
    padding: 3rem;
    text-align: center;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--gold);
}

.gate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* ============================================================
   MODULE ACCORDION
   ============================================================ */
.module-header {
    background: linear-gradient(135deg, var(--primary-pale), white);
    border: 2px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-weight: 600;
}

.module-header:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.module-lessons {
    padding-left: 1rem;
    border-left: 3px solid #bbf7d0;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   CERTIFICATE
   ============================================================ */
.cert-preview {
    border: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 3rem;
    background: linear-gradient(135deg, #fdfaf2, #f9fdf5);
    text-align: center;
    position: relative;
}

.cert-preview::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--gold-light);
    border-radius: 10px;
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================================
   EXAM INTERFACE
   ============================================================ */
.exam-question {
    background: #fafdf9;
    border: 1.5px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.exam-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.exam-option:hover { border-color: var(--accent); background: var(--primary-pale); }

/* ============================================================
   MISCELLANEOUS UTILITIES
   ============================================================ */
.text-hsea   { color: var(--primary) !important; }
.bg-hsea     { background-color: var(--primary) !important; }
.text-gold   { color: var(--gold) !important; }
.bg-gold-cls { background-color: var(--gold) !important; }
.border-hsea { border-color: var(--primary) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* Scrollbar */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.3s ease forwards; }

/* ============================================================
   AUTH / LOGIN / REGISTER PAGES
   ============================================================ */
.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top right, rgba(201,168,76,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(76,175,113,0.15) 0%, transparent 55%),
        linear-gradient(145deg, #071a0b 0%, #1a5c2a 50%, #2d7a3d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Decorative rings */
.auth-page::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 50%;
    top: -220px;
    right: -160px;
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    bottom: -120px;
    left: -100px;
    pointer-events: none;
}

.auth-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
    animation: authSlideUp 0.45s cubic-bezier(0.16,1,0.3,1) forwards;
}

.auth-card.wide { max-width: 560px; }

@keyframes authSlideUp {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.auth-header {
    background: linear-gradient(160deg, #071a0b 0%, #1a5c2a 55%, #2d7a3d 100%);
    padding: 2.25rem 2rem 2rem;
    text-align: center;
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}

.auth-header::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    pointer-events: none;
}

.auth-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    border-radius: 12px;
    padding: 0.6rem 1.3rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
    position: relative;
    z-index: 1;
}

.auth-logo-badge .logo-text {
    font-size: 1.2rem;
    font-weight: 900;
    color: #071a0b;
    letter-spacing: 2.5px;
    line-height: 1;
}

.auth-logo-badge .logo-sep {
    width: 2px;
    height: 18px;
    background: rgba(7,26,11,0.25);
    border-radius: 2px;
}

.auth-logo-badge .logo-subtext {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1a5c2a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1;
}

.auth-header h2 {
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    position: relative;
    z-index: 1;
}

.auth-header .tagline {
    color: rgba(255,255,255,0.62);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.auth-body {
    padding: 1.85rem 2rem 1.5rem;
}

/* Auth form fields */
.auth-field {
    margin-bottom: 1.15rem;
}

.auth-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
    letter-spacing: 0.3px;
}

.auth-field .field-wrap {
    position: relative;
}

.auth-field .field-wrap > i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

/* Any input inside auth-field */
.auth-field input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.auth-field select,
.auth-field textarea,
.auth-field .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0.55rem 0.9rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.92rem;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    color: #1a202c;
    font-family: inherit;
    line-height: normal;
}

.auth-field textarea,
.auth-field textarea.form-control {
    height: auto;
    min-height: 80px;
}

/* With icon: offset text */
.auth-field .field-wrap input:not([type="submit"]),
.auth-field .field-wrap .form-control {
    padding-left: 2.75rem;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field .form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(45,122,61,0.12);
    background: #fff;
    outline: none;
    color: #1a202c;
}

/* Auth buttons */
.btn-auth-primary {
    display: block;
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(26,92,42,0.28);
    text-align: center;
    text-decoration: none !important;
    line-height: 1.4;
}

.btn-auth-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,92,42,0.38);
    color: white !important;
}

.btn-auth-primary:active { transform: translateY(0); }

.btn-auth-secondary {
    display: block;
    width: 100%;
    padding: 0.82rem 1rem;
    background: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none !important;
    line-height: 1.4;
}

.btn-auth-secondary:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
    color: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,92,42,0.14);
}

.auth-or {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.2rem 0;
    color: #a0aec0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-or::before, .auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.auth-footer-note {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 0.85rem 2rem;
    text-align: center;
    font-size: 0.73rem;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1040;
        top: 0;
        bottom: 0;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0,0,0,0.25);
    }

    .main-content {
        margin-left: 0;
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .navbar-toggler-btn { display: flex; }
    .navbar-center { display: none; }
}

@media (max-width: 768px) {
    .page-header h1 { font-size: 1.25rem; }
    .stat-card .stat-value { font-size: 1.6rem; }
    .brand-tagline { display: none; }
    .user-menu span { display: none; }
    .main-content { padding: 1rem; }
}

@media (max-width: 576px) {
    .auth-card, .auth-card.wide {
        border-radius: 16px;
        max-width: 100%;
    }
    .auth-header { padding: 1.75rem 1.25rem 1.5rem; }
    .auth-body   { padding: 1.5rem 1.25rem 1.25rem; }
    .auth-footer-note { padding: 0.75rem 1.25rem; }
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1039;
}

.sidebar-overlay.active { display: block; }

/* ============================================================
   STUDENT PORTAL — TABBED SIDEBAR NAVIGATION
   ============================================================ */
.sidebar-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.2px;
    user-select: none;
}

.sidebar-tab-header:hover {
    background: rgba(255,255,255,0.09);
    color: white;
    border-left-color: var(--gold);
}

.sidebar-tab-header.active-tab {
    background: rgba(201,168,76,0.15);
    color: var(--gold);
    border-left-color: var(--gold);
}

.sidebar-chevron {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sidebar-chevron.rotated { transform: rotate(180deg); }

.sidebar-tab-content {
    display: none;
    background: rgba(0,0,0,0.15);
    border-left: 2px solid rgba(201,168,76,0.3);
    margin-left: 0.5rem;
    overflow: hidden;
}

.sidebar-tab-content.open { display: block; }

.sidebar-sublink {
    padding-left: 2rem;
    font-size: 0.85rem;
}

.sidebar-tab-direct {
    cursor: pointer;
}

/* ============================================================
   PROFILE PHOTO
   ============================================================ */
.user-avatar-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.profile-photo-wrapper {
    position: relative;
    display: inline-block;
}

.profile-photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    display: block;
}

.profile-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
}

.profile-photo-camera {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 34px;
    height: 34px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 0.9rem;
    border: 2px solid white;
    transition: var(--transition);
    z-index: 2;
}

.profile-photo-camera:hover { background: var(--gold-light); }

/* ============================================================
   LESSON PAYMENT MODAL
   ============================================================ */
.payment-step { display: none; }
.payment-step.active { display: block; }

.invoice-box {
    background: #f8fdf9;
    border: 1px solid #d1e7d6;
    border-radius: var(--radius);
    padding: 1.25rem;
}

.invoice-header {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.invoice-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.invoice-number {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.invoice-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    border-bottom: none;
    border-top: 2px solid var(--gold);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

/* ============================================================
   ACCOUNTING / FINANCIAL PAGES
   ============================================================ */
.accounting-stat {
    background: white;
    border-radius: var(--radius);
    padding: 1.25rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.accounting-stat.gold { border-left-color: var(--gold); }
.accounting-stat.red  { border-left-color: var(--danger); }

.accounting-stat .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.accounting-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* ============================================================
   CHAT PAGE
   ============================================================ */
.chat-container {
    display: flex;
    height: calc(100vh - var(--navbar-h) - 2rem);
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.chat-sidebar {
    width: 260px;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    flex-shrink: 0;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--gold);
    flex-shrink: 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f9fbf9;
}

.chat-bubble {
    max-width: 70%;
    padding: 0.6rem 0.9rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.mine {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-bubble.theirs {
    background: white;
    color: var(--text-dark);
    align-self: flex-start;
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.chat-bubble .bubble-time {
    font-size: 0.7rem;
    opacity: 0.65;
    margin-top: 0.25rem;
    text-align: right;
}

.chat-bubble.theirs .bubble-time { text-align: left; }

.chat-input-bar {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    background: white;
}

.chat-input-bar input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.chat-input-bar input:focus { border-color: var(--primary); }

.chat-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    font-size: 0.88rem;
}

.chat-contact:hover { background: var(--primary-pale); }
.chat-contact.active { background: var(--primary-pale); border-left: 3px solid var(--primary); }

/* ============================================================
   MAIL PAGE
   ============================================================ */
.mail-container {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mail-toolbar {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--gold);
}

.mail-toolbar .folder-tabs { display: flex; gap: 0.5rem; }

.mail-folder-tab {
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.mail-folder-tab.active,
.mail-folder-tab:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.mail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.mail-row:hover { background: var(--primary-pale); }
.mail-row.unread { font-weight: 700; background: #f0f9f2; }

.mail-row .mail-sender { min-width: 160px; }
.mail-row .mail-subject { flex: 1; }
.mail-row .mail-date { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

.mail-compose-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.mail-view-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.mail-view-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--gold);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mail-view-body { padding: 1.5rem; line-height: 1.8; }

@media (max-width: 768px) {
    .chat-container { flex-direction: column; height: auto; }
    .chat-sidebar { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--border); }
    .chat-messages { height: 300px; }
    .mail-row .mail-sender { min-width: 100px; }
}

/* Hide global back button — use page-level back buttons instead */
#globalBackBtn { display: none !important; }

/* ============================================================
   CORPORATE BRAND REFRESH — shared LMS/Admin/Student/Finance UI
   ============================================================ */
:root {
    --primary:        #12345f;
    --primary-light:  #1f5f9f;
    --primary-dark:   #071b33;
    --primary-pale:   #eaf1f8;
    --gold:           #b9913d;
    --gold-light:     #d8b768;
    --gold-pale:      #fbf7ec;
    --accent:         #0f766e;
    --bg:             #f3f6fa;
    --surface:        #ffffff;
    --surface-soft:   #f8fafc;
    --text-dark:      #152238;
    --text-muted:     #667085;
    --border:         #d8e0ea;
    --danger:         #b42318;
    --warning:        #b54708;
    --success:        #067647;
    --info:           #175cd3;
    --shadow-xs:      0 1px 2px rgba(16,24,40,0.06);
    --shadow-sm:      0 4px 12px rgba(16,24,40,0.07);
    --shadow:         0 12px 28px rgba(16,24,40,0.10);
    --shadow-lg:      0 20px 48px rgba(16,24,40,0.16);
}

body {
    background:
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 42%, #eef3f8 100%);
    color: var(--text-dark);
}

.hsea-navbar {
    background: linear-gradient(90deg, #071b33 0%, #12345f 48%, #174879 100%);
    border-bottom: 1px solid rgba(185,145,61,0.75);
    box-shadow: 0 10px 28px rgba(7,27,51,0.22);
}

.hsea-brand { gap: 0.75rem; }

.brand-logo {
    width: 44px;
    height: 40px;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0d58b 0%, var(--gold) 100%);
    box-shadow: 0 8px 18px rgba(0,0,0,0.20);
}

.brand-name {
    font-size: 1rem;
    letter-spacing: 0;
}

.brand-tagline {
    max-width: 360px;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.45px;
}

.navbar-section-label,
.user-menu,
.notification-bell {
    border-color: rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.07);
}

.navbar-section-label {
    border-radius: 999px;
    padding: 0.38rem 1.05rem;
}

.user-menu:hover,
.notification-bell:hover {
    background: rgba(255,255,255,0.14);
}

.sidebar {
    background:
        linear-gradient(180deg, #071b33 0%, #0d2748 54%, #071b33 100%);
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 8px 0 28px rgba(7,27,51,0.14);
}

.sidebar-nav { padding: 1.1rem 0.75rem 2rem; }

.sidebar-section {
    padding: 1rem 0.75rem 0.35rem;
    color: rgba(255,255,255,0.48);
    letter-spacing: 1.2px;
}

.sidebar-link {
    border-left: 0;
    border-radius: 8px;
    margin: 2px 0;
    padding: 0.68rem 0.75rem;
    color: rgba(255,255,255,0.76);
}

.sidebar-link i { color: rgba(216,183,104,0.88); }

.sidebar-link:hover {
    background: rgba(255,255,255,0.09);
    color: #fff;
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(185,145,61,0.22), rgba(255,255,255,0.08));
    box-shadow: inset 3px 0 0 var(--gold);
}

#sidebarCollapseBtn {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark)) !important;
    box-shadow: 0 8px 18px rgba(7,27,51,0.18);
}

.main-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0) 180px),
        var(--bg);
}

.page-header {
    background:
        linear-gradient(135deg, #12345f 0%, #174879 70%, #0f766e 100%);
    border-left: 0;
    border-bottom: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.page-header h1 {
    letter-spacing: 0;
}

.page-header p {
    color: rgba(255,255,255,0.78);
}

.card,
.content-card,
.mail-container,
.mail-compose-card,
.mail-view-card,
.chat-container {
    border: 1px solid rgba(216,224,234,0.9);
    box-shadow: var(--shadow-sm);
}

.card:hover,
.content-card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background: linear-gradient(90deg, #12345f, #174879);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.card-header.light-header {
    background: linear-gradient(90deg, #f8fafc, #eef4fb);
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.stat-card {
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: var(--shadow);
}

.stat-card::after {
    width: 110px;
    height: 110px;
    background: rgba(255,255,255,0.10);
}

.bg-green  { background: linear-gradient(135deg, #067647, #0e8f5d); }
.bg-gold   { background: linear-gradient(135deg, #8a651d, #b9913d); }
.bg-blue   { background: linear-gradient(135deg, #12345f, #1f5f9f); }
.bg-orange { background: linear-gradient(135deg, #b54708, #d97706); }
.bg-purple { background: linear-gradient(135deg, #553c9a, #7c3aed); }
.bg-teal   { background: linear-gradient(135deg, #0f766e, #0991b2); }
.bg-red    { background: linear-gradient(135deg, #b42318, #d92d20); }
.bg-indigo { background: linear-gradient(135deg, #273a75, #3655b3); }

.btn,
.btn-hsea,
.btn-gold,
.btn-outline-hsea {
    border-radius: 7px;
    font-weight: 700;
}

.btn-primary,
.btn-hsea {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-hsea:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-color: var(--primary-dark);
}

.btn-success { background: var(--success); border-color: var(--success); }
.btn-warning { background: var(--gold); border-color: var(--gold); color: #1f2937; }
.btn-danger  { background: var(--danger); border-color: var(--danger); }
.btn-info    { background: var(--info); border-color: var(--info); color: #fff; }

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

.form-control,
.form-select {
    border: 1px solid #cfd8e3;
    background-color: #fff;
}

.form-control:hover,
.form-select:hover {
    border-color: #b9c7d8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(31,95,159,0.13);
}

.table {
    --bs-table-bg: #fff;
}

.table thead th {
    background: linear-gradient(90deg, #12345f, #174879);
    color: #fff;
    border-bottom: 0;
}

.table tbody td {
    border-bottom-color: #edf2f7;
}

.table tbody tr:hover td {
    background: #f6f9fc;
}

.table-responsive {
    border-radius: var(--radius-lg);
}

.badge {
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 0.36em 0.65em;
}

.bg-success { background-color: var(--success) !important; color: #fff !important; }
.bg-warning { background-color: var(--gold) !important; color: #1f2937 !important; }
.bg-danger  { background-color: var(--danger) !important; color: #fff !important; }
.bg-primary { background-color: var(--primary) !important; color: #fff !important; }
.bg-secondary { background-color: #667085 !important; color: #fff !important; }
.bg-info { background-color: var(--info) !important; color: #fff !important; }

.badge.bg-success {
    background-color: #d1fadf !important;
    color: #05603a !important;
}

.badge.bg-warning {
    background-color: #fef0c7 !important;
    color: #93370d !important;
}

.badge.bg-danger {
    background-color: #fee4e2 !important;
    color: #912018 !important;
}

.badge.bg-primary {
    background-color: #dbeafe !important;
    color: #12345f !important;
}

.badge.bg-secondary {
    background-color: #eef2f6 !important;
    color: #475467 !important;
}

.badge.bg-info {
    background-color: #e0f2fe !important;
    color: #075985 !important;
}

.alert {
    box-shadow: var(--shadow-xs);
}

.modal-content {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom-color: var(--border);
}

.modal-footer {
    background: #f8fafc;
    border-top-color: var(--border);
}

.dropdown-menu {
    border: 1px solid rgba(216,224,234,0.8);
}

.empty-state,
.text-center.text-muted.py-5,
.text-center.text-muted.py-4 {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-radius: var(--radius-lg);
}

.back-btn {
    border-radius: 999px !important;
    border-color: #cfd8e3 !important;
    box-shadow: var(--shadow-xs);
}

@media (max-width: 768px) {
    .hsea-navbar {
        padding: 0 0.85rem;
    }

    .brand-logo {
        width: 40px;
        height: 36px;
    }

    .brand-name {
        font-size: 0.92rem;
    }

    .main-content {
        padding: 1rem;
    }
}
