/* ============================================================
   DT-DUD — Daerat Toloba Data Update Portal
   Green Light Theme Design System
   ============================================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
    /* Primary Palette - Green */
    --primary:         #16a34a;
    --primary-dark:    #15803d;
    --primary-darker:  #166534;
    --primary-light:   #4ade80;
    --primary-lighter: #bbf7d0;
    --primary-50:      #f0fdf4;
    --primary-100:     #dcfce7;
    --primary-200:     #bbf7d0;

    /* Accent */
    --accent:          #059669;
    --accent-light:    #34d399;

    /* Surfaces */
    --bg:              #f0fdf4;
    --bg-alt:          #f8fdf9;
    --surface:         #ffffff;
    --surface-hover:   #f7fdf9;
    --surface-elevated:#ffffff;
    --border:          #d1fae5;
    --border-strong:   #86efac;

    /* Text */
    --text-primary:    #1a1a2e;
    --text-secondary:  #6b7280;
    --text-muted:      #9ca3af;
    --text-on-primary: #ffffff;

    /* Status */
    --success:         #22c55e;
    --danger:          #dc2626;
    --danger-light:    #fef2f2;
    --warning:         #f59e0b;
    --info:            #3b82f6;

    /* Shadows */
    --shadow-sm:       0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:       0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg:       0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl:       0 20px 50px -12px rgba(0,0,0,0.12);
    --shadow-green:    0 4px 14px -3px rgba(22,163,74,0.3);

    /* Radius */
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

.text-muted { color: var(--text-secondary) !important; }
.text-primary-green { color: var(--primary) !important; }
.text-danger { color: var(--danger) !important; }

/* ---------- Layout Utilities ---------- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

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

.card-header {
    background: linear-gradient(135deg, var(--primary-50), var(--surface));
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Green accent card */
.card-accent {
    border-left: 4px solid var(--primary);
}

/* Stat card */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    animation: slideUp 0.4s ease-out forwards;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: white;
    font-size: 1.4rem;
    box-shadow: var(--shadow-green);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Buttons ---------- */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    line-height: 1.4;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-on-primary);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    box-shadow: 0 6px 20px -4px rgba(22,163,74,0.45);
    transform: translateY(-1px);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-1px);
    color: white;
}

.btn-light {
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

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

.btn-sm {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* ---------- Forms ---------- */
.form-control {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    display: block;
}

.form-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-right: 3rem;
}

/* ---------- OTP Input ---------- */
.otp-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.otp-input {
    width: 50px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
    outline: none;
}

/* ---------- Tables ---------- */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--primary-200);
    white-space: nowrap;
}

.table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    vertical-align: middle;
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--primary-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ---------- Toggle Switch ---------- */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d1d5db;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all var(--transition-fast);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* ---------- Status Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.badge-active {
    background: var(--primary-100);
    color: var(--primary-darker);
}

.badge-inactive {
    background: #fef2f2;
    color: #dc2626;
}

.badge-info {
    background: #eff6ff;
    color: #2563eb;
}

/* ---------- Login Page ---------- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
    padding: 1rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 2.5rem;
    animation: slideUp 0.5s ease-out;
    border: 1px solid var(--border);
}

.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo .logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-green);
}

.login-logo h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.login-logo p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-jamaat-badge {
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-jamaat-badge .jamiat-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.login-jamaat-badge .jamaat-name {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ---------- Admin Layout ---------- */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #166534, #15803d);
    color: white;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transition: width var(--transition-normal);
    position: relative;
}

/* Collapsed class for desktop view */
.admin-sidebar.collapsed {
    width: 70px;
}

.admin-sidebar.collapsed .sidebar-text {
    display: none !important;
}

.admin-sidebar.collapsed .sidebar-header {
    padding: 1.5rem 0;
    text-align: center;
}

.admin-sidebar.collapsed .sidebar-header h2 {
    justify-content: center;
}

.admin-sidebar.collapsed .sidebar-header h2 i {
    font-size: 1.4rem;
}

.admin-sidebar.collapsed .nav-link {
    padding: 0.75rem 0;
    justify-content: center;
    border-left-width: 0;
}

.admin-sidebar.collapsed .sidebar-footer {
    padding: 1rem 0;
    text-align: center;
}

/* Desktop Collapse Button */
.desktop-collapse-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.desktop-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.admin-sidebar.collapsed .desktop-collapse-btn i {
    transform: rotate(180deg);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-header .app-subtitle {
    font-size: 0.7rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

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

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-nav .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white;
    border-left-color: var(--primary-light);
    font-weight: 700;
}

.sidebar-nav .nav-link i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer .user-info {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.sidebar-footer .user-name {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 1;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg);
    overflow-y: auto;
}

.admin-page-header {
    margin-bottom: 2rem;
}

.admin-page-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.admin-page-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---------- Members Page (Normal User) ---------- */
.members-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-green);
}

.members-header h1 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.members-header .subtitle {
    opacity: 0.85;
    font-size: 0.85rem;
}

.members-header .btn-light {
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.members-header .btn-light:hover {
    background: rgba(255,255,255,0.3);
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-50), var(--surface));
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
}

/* ---------- Toast / Alert ---------- */
.alert {
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideUp 0.3s ease-out;
}

.alert-success {
    background: var(--primary-100);
    color: var(--primary-darker);
    border: 1px solid var(--primary-200);
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fed7aa;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* ---------- Upload Area ---------- */
.upload-area {
    border: 2px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
    background: var(--primary-50);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-100);
}

.upload-area .upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.upload-area h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ---------- Coordinator URL Card ---------- */
.url-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition-normal);
    animation: slideUp 0.4s ease-out forwards;
}

.url-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.url-card .url-text {
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--primary-dark);
    word-break: break-all;
    margin: 0.5rem 0;
}

.btn-copy {
    background: var(--primary-100);
    color: var(--primary-dark);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--primary);
    color: white;
}

/* ---------- Pagination ---------- */
.pagination .page-link {
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin: 0 2px;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    transition: all var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--primary-50);
    border-color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ---------- Loading Spinner ---------- */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

.spinner-green {
    border: 2.5px solid var(--primary-200);
    border-top-color: var(--primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Search Bar ---------- */
.search-bar {
    position: relative;
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-bar .form-control {
    padding-left: 2.75rem;
}

/* ---------- Coordinator Login Tabs ---------- */
.login-tabs {
    display: flex;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.login-tab {
    flex: 1;
    padding: 0.6rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.login-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-green);
}

/* ---------- Responsive ---------- */
.mobile-top-bar {
    display: none;
}

@media (max-width: 768px) {
    .admin-wrapper {
        padding-top: 60px;
        flex-direction: column;
    }

    .admin-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 1050;
        transition: left var(--transition-normal);
        width: 260px !important; /* Force original width on mobile */
    }

    .admin-sidebar.show {
        left: 0;
    }

    .admin-sidebar.show .sidebar-text {
        display: block !important;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        display: none;
    }

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

    .admin-content {
        padding: 1rem;
    }

    .members-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .login-card {
        padding: 1.5rem;
    }

    .otp-input {
        width: 42px;
        height: 48px;
        font-size: 1.2rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card .stat-value {
        font-size: 1.5rem;
    }

    /* Mobile Top Bar style to fix overlapping menu toggle issue */
    .mobile-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, #166534, #15803d);
        color: white;
        padding: 0 1rem;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .mobile-menu-toggle-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-md);
        transition: background var(--transition-fast);
    }

    .mobile-menu-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-top-title {
        font-weight: 700;
        font-size: 1.1rem;
    }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary-50);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-200);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}