/* Extracted from base_admin_dashboard.html by extract_inline_css.py */

:root {
            --primary-color: #4f46e5;
            --primary-light: #818cf8;
            --primary-dark: #4338ca;
            --secondary-color: #7c3aed;
            --secondary-light: #a78bfa;
            --secondary-dark: #6d28d9;
            --accent-color: #06b6d4;
            --accent-dark: #0891b2;
            --text-color: #0f172a;
            --text-light: #475569;
            --bg-white: #ffffff;
            --bg-light: #eceef0;
            --bg-gray: #f1f5f9;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --info-color: #06b6d4;
            --sidebar-width: 220px;
            --sidebar-collapsed-width: 60px;
            --top-nav-height: 50px;
            --border-color: #e2e8f0;
        }

        /* ═══ Dark theme overrides ═══ */
        [data-theme="dark"] {
            --primary-color: #6366f1;
            --primary-light: #818cf8;
            --primary-dark: #4f46e5;
            --secondary-color: #8b5cf6;
            --secondary-light: #a78bfa;
            --secondary-dark: #7c3aed;
            --text-color: #e2e8f0;
            --text-light: #94a3b8;
            --bg-white: #1e293b;
            --bg-light: #0f172a;
            --bg-gray: #1e293b;
            --border-color: #334155;
            --success-color: #10b981;
            --warning-color: #f59e0b;
            --danger-color: #ef4444;
            --info-color: #06b6d4;
        }

        /* ═══ Dark theme — component-level overrides ═══ */
        [data-theme="dark"] body {
            background-color: var(--bg-light);
            color: var(--text-color);
        }
        [data-theme="dark"] .admin-top-nav {
            background: linear-gradient(135deg, #312e81 0%, #5b21b6 100%);
        }
        [data-theme="dark"] .admin-search input {
            background: rgba(30, 41, 59, 0.95);
            color: #e2e8f0;
        }
        [data-theme="dark"] .admin-search input::placeholder { color: #64748b; }
        [data-theme="dark"] .admin-search .search-icon { color: #64748b; }

        /* Sidebar */
        [data-theme="dark"] .admin-wbts-ok-sidemenu {
            background: var(--bg-white);
            border-right-color: var(--border-color);
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-profile {
            background: #172033;
            border-bottom-color: var(--border-color);
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-profile-details h6 { color: var(--text-color); }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-profile-details p { color: var(--text-light); }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-nav-section-title {
            color: var(--text-light);
            background: #172033;
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-nav-section-title:hover {
            background: #1e293b;
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu .nav-link {
            color: var(--text-light);
            background: #172033;
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu .nav-link:hover {
            color: #fff;
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu .nav-link.active {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: #fff;
        }

        /* Dropdown menu */
        [data-theme="dark"] .adm-dropdown-menu {
            background: var(--bg-white) !important;
            box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
        }
        [data-theme="dark"] .adm-dropdown-section-label {
            color: var(--text-light);
            background: #172033;
        }
        [data-theme="dark"] .adm-dropdown-item {
            color: var(--text-color) !important;
        }
        [data-theme="dark"] .adm-dropdown-item:hover {
            background: #172033 !important;
            color: var(--primary-light) !important;
        }
        [data-theme="dark"] .adm-dropdown-col:first-child { border-right-color: var(--border-color); }
        [data-theme="dark"] .adm-dropdown-divider { background: var(--border-color); }

        /* Admission helpers */
        [data-theme="dark"] .admission-filters {
            background: var(--bg-white);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .admission-stat-card {
            background: var(--bg-white);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .admission-stat-card .number { color: var(--text-color); }
        [data-theme="dark"] .admission-stat-card .label { color: var(--text-light); }

        /* Footer */
        [data-theme="dark"] .admin-footer {
            background: #172033;
            border-top-color: var(--border-color);
            color: var(--text-light);
        }
        [data-theme="dark"] .admin-footer a { color: var(--text-light); }
        [data-theme="dark"] .admin-footer a:hover { color: var(--primary-light); }

        /* Bootstrap overrides for dark mode */
        [data-theme="dark"] .card,
        [data-theme="dark"] .form-control,
        [data-theme="dark"] .form-select {
            background-color: var(--bg-white);
            border-color: var(--border-color);
            color: var(--text-color);
        }
        [data-theme="dark"] .form-control::placeholder { color: #64748b; }
        [data-theme="dark"] .table {
            --bs-table-color: var(--text-color);
            --bs-table-bg: var(--bg-white);
            --bs-table-border-color: var(--border-color);
            --bs-table-striped-bg: #172033;
            --bs-table-striped-color: var(--text-color);
            --bs-table-hover-bg: #1e293b;
            --bs-table-hover-color: var(--text-color);
        }
        [data-theme="dark"] .table thead th { border-bottom-color: var(--border-color); }
        [data-theme="dark"] .text-muted { color: var(--text-light) !important; }
        [data-theme="dark"] .text-dark { color: var(--text-color) !important; }
        [data-theme="dark"] .bg-light { background-color: var(--bg-gray) !important; }
        [data-theme="dark"] .bg-white { background-color: var(--bg-white) !important; }
        [data-theme="dark"] .border { border-color: var(--border-color) !important; }
        [data-theme="dark"] .modal-content {
            background-color: var(--bg-white);
            border-color: var(--border-color);
            color: var(--text-color);
        }
        [data-theme="dark"] .dropdown-menu {
            background-color: var(--bg-white);
            border-color: var(--border-color);
        }
        [data-theme="dark"] .dropdown-item { color: var(--text-color); }
        [data-theme="dark"] .dropdown-item:hover,
        [data-theme="dark"] .dropdown-item:focus {
            background-color: #172033;
            color: var(--primary-light);
        }
        [data-theme="dark"] .list-group-item {
            background-color: var(--bg-white);
            border-color: var(--border-color);
            color: var(--text-color);
        }
        [data-theme="dark"] .alert {
            border-color: var(--border-color);
        }
        [data-theme="dark"] a { color: var(--primary-light); }

        /* Theme toggle button */
        .theme-toggle {
            display: flex; align-items: center; justify-content: center;
            width: 36px; height: 36px; border-radius: 6px; border: none;
            background: rgba(255,255,255,0.12); color: #fff; cursor: pointer;
            transition: all 0.2s ease; font-size: 15px;
        }
        .theme-toggle:hover { background: rgba(255,255,255,0.22); }
        .theme-toggle .fa-sun { display: none; }
        .theme-toggle .fa-moon { display: inline; }
        [data-theme="dark"] .theme-toggle .fa-sun { display: inline; }
        [data-theme="dark"] .theme-toggle .fa-moon { display: none; }

        /* ═══ Dark theme — admission-* components ═══ */
        [data-theme="dark"] .admission-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }
        [data-theme="dark"] .admission-filters {
            background: var(--bg-white); border-color: var(--border-color);
        }
        [data-theme="dark"] .admission-stat-card {
            background: var(--bg-white); border-color: var(--border-color);
        }
        [data-theme="dark"] .admission-stat-card .number { color: var(--text-color); }
        [data-theme="dark"] .admission-stat-card .label { color: var(--text-light); }
        [data-theme="dark"] .admission-table {
            background: var(--bg-white); border-color: var(--border-color);
        }
        [data-theme="dark"] .admission-table th {
            background: #172033; color: var(--text-light);
        }
        [data-theme="dark"] .admission-table td {
            border-bottom-color: var(--border-color); color: var(--text-color);
        }
        [data-theme="dark"] .admission-table tbody tr:hover { background: #172033; }
        [data-theme="dark"] .admission-btn.outline {
            border-color: var(--border-color); color: var(--text-light);
            background: transparent;
        }
        [data-theme="dark"] .admission-btn.outline:hover {
            border-color: var(--primary-color); color: var(--primary-light);
        }
        [data-theme="dark"] .admin-wbts-ok-sidemenu-collapse-toggle {
            background: var(--bg-white); border-color: var(--border-color); color: var(--text-light);
        }

        /* ═══ Dark theme — inline style overrides via attribute selectors ═══ */
        /* These target common hardcoded colors used in inline style="" attributes */
        /* Dark text colors → light text in dark mode */
        [data-theme="dark"] [style*="color: #1e293b"],
        [data-theme="dark"] [style*="color:#1e293b"],
        [data-theme="dark"] [style*="color: #0f172a"],
        [data-theme="dark"] [style*="color:#0f172a"],
        [data-theme="dark"] [style*="color: #334155"],
        [data-theme="dark"] [style*="color:#334155"] { color: var(--text-color) !important; }

        [data-theme="dark"] [style*="color: #475569"],
        [data-theme="dark"] [style*="color:#475569"],
        [data-theme="dark"] [style*="color: #64748b"],
        [data-theme="dark"] [style*="color:#64748b"],
        [data-theme="dark"] [style*="color: #94a3b8"],
        [data-theme="dark"] [style*="color:#94a3b8"] { color: var(--text-light) !important; }

        /* Light backgrounds → dark backgrounds in dark mode */
        [data-theme="dark"] [style*="background: #fff"],
        [data-theme="dark"] [style*="background:#fff"],
        [data-theme="dark"] [style*="background: white"],
        [data-theme="dark"] [style*="background:white"],
        [data-theme="dark"] [style*="background: #ffffff"],
        [data-theme="dark"] [style*="background:#ffffff"] { background: var(--bg-white) !important; }

        [data-theme="dark"] [style*="background: #f8f9fa"],
        [data-theme="dark"] [style*="background:#f8f9fa"],
        [data-theme="dark"] [style*="background: #f8fafc"],
        [data-theme="dark"] [style*="background:#f8fafc"],
        [data-theme="dark"] [style*="background: #f1f5f9"],
        [data-theme="dark"] [style*="background:#f1f5f9"],
        [data-theme="dark"] [style*="background: #eceef0"],
        [data-theme="dark"] [style*="background:#eceef0"] { background: #172033 !important; }

        [data-theme="dark"] [style*="background: #eef2ff"],
        [data-theme="dark"] [style*="background:#eef2ff"],
        [data-theme="dark"] [style*="background: #e0e7ff"],
        [data-theme="dark"] [style*="background:#e0e7ff"] { background: #1e1b4b !important; }

        /* Light border colors → dark borders in dark mode */
        [data-theme="dark"] [style*="border: 1px solid #e2e8f0"],
        [data-theme="dark"] [style*="border:1px solid #e2e8f0"],
        [data-theme="dark"] [style*="border: 1px solid #f1f5f9"],
        [data-theme="dark"] [style*="border:1px solid #f1f5f9"] { border-color: var(--border-color) !important; }

        [data-theme="dark"] [style*="border-bottom: 1px solid #e2e8f0"],
        [data-theme="dark"] [style*="border-bottom:1px solid #e2e8f0"],
        [data-theme="dark"] [style*="border-bottom: 1px solid #f1f5f9"],
        [data-theme="dark"] [style*="border-bottom:1px solid #f1f5f9"] { border-bottom-color: var(--border-color) !important; }

        [data-theme="dark"] [style*="border-top: 1px solid #e2e8f0"],
        [data-theme="dark"] [style*="border-top:1px solid #e2e8f0"] { border-top-color: var(--border-color) !important; }

        /* ═══ Dark theme — catch-all for common text patterns ═══ */
        [data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
        [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
            color: var(--text-color);
        }
        [data-theme="dark"] h1 a, [data-theme="dark"] h2 a, [data-theme="dark"] h3 a,
        [data-theme="dark"] h4 a, [data-theme="dark"] h5 a, [data-theme="dark"] h6 a {
            color: var(--text-color);
        }
        [data-theme="dark"] .fw-bold, [data-theme="dark"] .fw-semibold,
        [data-theme="dark"] .fw-bolder, [data-theme="dark"] strong {
            color: var(--text-color);
        }
        [data-theme="dark"] .text-dark { color: var(--text-color) !important; }
        [data-theme="dark"] .text-secondary { color: var(--text-light) !important; }
        [data-theme="dark"] .text-muted { color: var(--text-light) !important; }
        [data-theme="dark"] .small, [data-theme="dark"] small { color: var(--text-light); }
        [data-theme="dark"] code {
            background: #172033; color: var(--primary-light); padding: 2px 6px; border-radius: 4px;
        }
        [data-theme="dark"] .breadcrumb { --bs-breadcrumb-divider-color: var(--text-light); }
        [data-theme="dark"] .breadcrumb-item { color: var(--text-light); }
        [data-theme="dark"] .breadcrumb-item.active { color: var(--text-color); }
        [data-theme="dark"] .page-link {
            background-color: var(--bg-white); border-color: var(--border-color); color: var(--text-color);
        }
        [data-theme="dark"] .page-item.active .page-link {
            background-color: var(--primary-color); border-color: var(--primary-color); color: #fff;
        }
        [data-theme="dark"] .page-item.disabled .page-link {
            background-color: var(--bg-white); border-color: var(--border-color); color: var(--text-light);
        }
        [data-theme="dark"] .btn-outline-secondary {
            color: var(--text-light); border-color: var(--border-color);
        }
        [data-theme="dark"] .btn-outline-secondary:hover {
            background: var(--bg-gray); color: var(--text-color);
        }
        [data-theme="dark"] .btn-secondary { background: #334155; border-color: #334155; }
        [data-theme="dark"] .btn-light { background: var(--bg-gray); color: var(--text-color); border-color: var(--border-color); }
        [data-theme="dark"] .btn-light:hover { background: #334155; color: var(--text-color); }
        [data-theme="dark"] .input-group-text {
            background-color: #172033; border-color: var(--border-color); color: var(--text-light);
        }
        [data-theme="dark"] .accordion-button {
            background-color: var(--bg-white); color: var(--text-color);
        }
        [data-theme="dark"] .accordion-button:not(.collapsed) {
            background-color: #1e1b4b; color: var(--primary-light);
        }
        [data-theme="dark"] .accordion-collapse { background-color: var(--bg-white); }
        [data-theme="dark"] .nav-tabs .nav-link {
            color: var(--text-light); border-color: var(--border-color);
        }
        [data-theme="dark"] .nav-tabs .nav-link.active {
            background-color: var(--bg-white); color: var(--primary-light); border-color: var(--border-color);
        }
        [data-theme="dark"] .progress { background-color: #172033; }
        [data-theme="dark"] .badge.bg-secondary { background-color: #334155 !important; }
        [data-theme="dark"] .badge.bg-light { background-color: var(--bg-gray) !important; color: var(--text-color) !important; }
        [data-theme="dark"] .toast { background-color: var(--bg-white); color: var(--text-color); }
        [data-theme="dark"] .toast-header { background-color: #172033; color: var(--text-light); }

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

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-color);
            line-height: 1.6;
        }

        .admin-container {
            display: flex;
            min-height: 100vh;
        }

        /* Compact Top Navigation - Matching Management App */
        .admin-top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 50px;
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            color: white;
            z-index: 1000;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(10px);
        }

        .nav-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 100%;
            padding: 0 16px;
            max-width: 1400px;
            margin: 0 auto;
            gap: 12px;
        }

        .nav-left {
            display: flex;
            align-items: center;
            flex-shrink: 0;
        }

        .nav-left .logo {
            font-size: 20px;
            font-weight: 700;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .nav-left .logo img {
            height: 30px;
            width: auto;
            object-fit: contain;
        }

        .nav-center {
            flex: 1;
            max-width: 400px;
            margin: 0 12px;
        }

        .admin-search {
            position: relative;
        }

        .admin-search .search-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            z-index: 2;
            font-size: 14px;
        }

        .admin-search input {
            width: 100%;
            padding: 8px 10px 8px 32px;
            border: none;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.95);
            font-size: 14px;
            color: #334155;
        }

        .admin-search input:focus {
            outline: none;
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .nav-link {
            color: #ffffff;
            text-decoration: none;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff !important;
        }

        .admin-user-profile {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            color: white;
            text-decoration: none;
            height: 36px;
        }

        .admin-user-profile:hover {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .admin-user-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .admin-user-avatar-fallback {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 12px;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        /* Admin Profile Dropdown */
        .adm-dropdown-menu {
            border: none !important; border-radius: 14px !important;
            box-shadow: 0 12px 40px rgba(15,23,42,0.18) !important;
            padding: 0 !important; overflow: hidden; min-width: 480px !important; max-width: 560px !important;
            margin-top: 6px !important; animation: admDropdownSlide 0.2s ease;
        }
        @keyframes admDropdownSlide {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .adm-dropdown-header {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            padding: 18px 16px 14px; color: white; position: relative;
        }
        .adm-dropdown-header::after {
            content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        }
        .adm-dropdown-header .adm-dd-avatar {
            width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
            border: 3px solid rgba(255,255,255,0.25); margin-bottom: 8px;
        }
        .adm-dropdown-header .adm-dd-avatar-fallback {
            width: 48px; height: 48px; border-radius: 12px;
            background: rgba(255,255,255,0.2); border: 3px solid rgba(255,255,255,0.25);
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 18px; color: white; margin-bottom: 8px;
        }
        .adm-dropdown-header .adm-dd-name {
            font-size: 15px; font-weight: 700; margin: 0; line-height: 1.3;
        }
        .adm-dropdown-header .adm-dd-email {
            font-size: 12px; color: rgba(255,255,255,0.75); margin: 2px 0 0;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .adm-dropdown-header .adm-dd-badge {
            display: inline-block; margin-top: 8px; font-size: 9px; font-weight: 700;
            padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
            letter-spacing: 0.5px; background: rgba(255,255,255,0.2); color: white;
        }
        .adm-dropdown-section-label {
            font-size: 10px; font-weight: 700; text-transform: uppercase;
            letter-spacing: 0.08em; color: #94a3b8; padding: 8px 14px 4px;
            background: #f8fafc;
        }
        .adm-dropdown-body { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
        .adm-dropdown-col { padding: 8px 6px; }
        .adm-dropdown-col:first-child { border-right: 1px solid #f1f5f9; }
        .adm-dropdown-col:last-child { border-right: none; }
        @media (max-width: 768px) {
            .adm-dropdown-menu { min-width: 260px !important; max-width: 300px !important; }
            .adm-dropdown-body { grid-template-columns: 1fr !important; }
            .adm-dropdown-col { border-right: none !important; border-bottom: 1px solid #f1f5f9; }
            .adm-dropdown-col:last-child { border-bottom: none; }
        }
        .adm-dropdown-item {
            display: flex !important; align-items: center; gap: 10px;
            padding: 9px 12px !important; border-radius: 10px;
            font-size: 13px !important; font-weight: 600; color: #334155 !important;
            text-decoration: none !important; transition: all 0.15s ease;
            margin-bottom: 2px;
        }
        .adm-dropdown-item:hover {
            background: #f1f5f9 !important; color: #4f46e5 !important;
        }
        .adm-dropdown-item i {
            width: 30px; height: 30px; border-radius: 8px; display: flex;
            align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
        }
        .adm-dropdown-item .ic-profile { background: #eef2ff; color: #4f46e5; }
        .adm-dropdown-item .ic-edit { background: #ecfdf5; color: #059669; }
        .adm-dropdown-item .ic-activity { background: #fff7ed; color: #ea580c; }
        .adm-dropdown-item .ic-admin { background: #f0f9ff; color: #0284c7; }
        .adm-dropdown-item .ic-platform { background: #f5f3ff; color: #7c3aed; }
        .adm-dropdown-item .ic-tenant { background: #ecfdf5; color: #059669; }
        .adm-dropdown-item .ic-logout { background: #fef2f2; color: #dc2626; }
        .adm-dropdown-item:hover .ic-profile,
        .adm-dropdown-item:hover .ic-edit,
        .adm-dropdown-item:hover .ic-activity,
        .adm-dropdown-item:hover .ic-admin,
        .adm-dropdown-item:hover .ic-platform,
        .adm-dropdown-item:hover .ic-tenant { background: #4f46e5; color: white; }
        .adm-dropdown-item:hover .ic-logout { background: #dc2626; color: white; }
        .adm-dropdown-item.logout-item:hover { background: #fef2f2 !important; color: #dc2626 !important; }
        .adm-dropdown-divider { height: 1px; background: #f1f5f9; margin: 6px 8px !important; border: none !important; padding: 0 !important; }

        /* Admin WBTS Sidebar - Clean Simple Design */
        .admin-wbts-ok-sidemenu {
            position: fixed;
            top: 50px;
            left: 0;
            width: var(--sidebar-width);
            height: calc(100vh - 50px);
            background: white;
            border-right: 1px solid var(--border-color);
            transition: width 0.3s ease;
            z-index: 999;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .admin-wbts-ok-sidemenu::-webkit-scrollbar {
            display: none;
        }

        .admin-wbts-ok-sidemenu ul {
            list-style: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .admin-wbts-ok-sidemenu li {
            list-style: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .admin-wbts-ok-sidemenu li::before,
        .admin-wbts-ok-sidemenu li::after {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu-profile {
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
            flex-shrink: 0;
            position: relative;
        }

        .admin-wbts-ok-sidemenu-profile::before {
            display: none;
        }

        .admin-wbts-ok-sidemenu-profile-info {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            flex: 1;
            min-width: 0;
        }

        .admin-wbts-ok-sidemenu-profile-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }

        .admin-wbts-ok-sidemenu-profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .admin-wbts-ok-sidemenu-profile-avatar-fallback {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .admin-wbts-ok-sidemenu-profile-details {
            flex: 1;
            min-width: 0;
        }

        .admin-wbts-ok-sidemenu-profile-details h6 {
            margin: 0;
            font-weight: 600;
            color: #1e293b;
            font-size: 0.8rem;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .admin-wbts-ok-sidemenu-profile-details p {
            margin: 0;
            font-size: 0.7rem;
            color: #64748b;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 100px;
        }

        .admin-wbts-ok-sidemenu-profile-details .badge {
            margin-top: 0.2rem;
            font-size: 0.6rem;
            padding: 0.2rem 0.4rem;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .admin-wbts-ok-sidemenu-profile-details .badge.bg-danger {
            background-color: #ef4444 !important;
            color: white !important;
        }

        .admin-wbts-ok-sidemenu-profile-details .badge.bg-success {
            background-color: #10b981 !important;
            color: white !important;
        }

        /* Modern WBTS Sidebar Navigation */
        .admin-wbts-ok-sidemenu-nav {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 0.75rem 0;
            position: relative;
            width: 100%;
            /* Hide scrollbars while keeping scroll functionality */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
        }

        .admin-wbts-ok-sidemenu-nav::-webkit-scrollbar {
            display: none; /* WebKit browsers */
        }

        .admin-wbts-ok-sidemenu-nav {
            display: flex;
            flex-direction: column;
        }

        .admin-wbts-ok-sidemenu-nav::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border-color), transparent);
        }

        /* Modern WBTS Section Headers */
        .admin-wbts-ok-sidemenu-nav-section {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        
        .admin-wbts-ok-sidemenu-nav-section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0.75rem 0.4rem 0.75rem;
            font-size: 0.7rem;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            position: relative;
            margin-bottom: 0.4rem;
            background: #f8fafc;
            border-radius: 6px;
            margin: 0.25rem 0.5rem 0.4rem 0.5rem;
            border-left: 2px solid transparent;
            transition: all 0.2s ease;
            width: calc(100% - 1rem);
            box-sizing: border-box;
            cursor: pointer;
        }
        
        .admin-wbts-ok-sidemenu-nav-section-title i {
            font-size: 0.75rem;
            opacity: 1;
            display: inline-block !important;
            vertical-align: middle;
            color: #4f46e5;
            font-weight: 600;
            position: relative;
            z-index: 2;
            flex-shrink: 0;
            margin-left: 0.25rem;
        }
        
        .admin-wbts-ok-sidemenu-nav-section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            border-radius: 0 2px 2px 0;
        }

        .admin-wbts-ok-sidemenu-nav-section:first-child .admin-wbts-ok-sidemenu-nav-section-title {
            margin-top: 0.5rem;
        }
        
        .admin-wbts-ok-sidemenu-nav-section-title:hover {
            background: #eef2ff;
            transform: translateY(-1px);
        }

        .admin-wbts-ok-sidemenu-nav-list {
            list-style: none !important;
            margin: 0 !important;
            padding: 0 !important;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
        }

        .admin-wbts-ok-sidemenu-nav-list li {
            list-style: none !important;
            margin: 0 !important;
            padding: 0 !important;
            width: 100%;
        }

        .admin-wbts-ok-sidemenu-nav-list li::before {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu-nav-list li::after {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu-nav-item {
            flex: 1;
            display: flex;
            align-items: center;
            position: relative;
            width: 100%;
        }

        .admin-wbts-ok-sidemenu-nav-section {
            width: 100%;
        }

        .admin-wbts-ok-sidemenu-nav-item:last-child {
            margin-bottom: 0;
        }

        .admin-wbts-ok-sidemenu-nav-item .nav-link {
            flex: 1;
            justify-content: center;
            margin: 0.15rem 0.5rem;
        }

        /* Modern WBTS Navigation Links */
        .admin-wbts-ok-sidemenu .nav-link {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.6rem 0.875rem;
            border-radius: 6px;
            color: #64748b;
            background: #f8fafc;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.825rem;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
            width: calc(100% - 1rem);
            box-sizing: border-box;
        }
        
        .admin-wbts-ok-sidemenu .nav-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            transition: width 0.3s ease;
            z-index: -1;
        }
        
        .admin-wbts-ok-sidemenu .nav-link:hover {
            color: white;
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
        }
        
        .admin-wbts-ok-sidemenu .nav-link:hover::before {
            width: 100%;
        }
        
        .admin-wbts-ok-sidemenu .nav-link.active {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
            transform: translateX(4px);
        }
        
        .admin-wbts-ok-sidemenu .nav-link.active::before {
            width: 100%;
        }
        
        .admin-wbts-ok-sidemenu .nav-link i {
            width: 18px;
            min-width: 18px;
            text-align: center;
            font-size: 0.9rem;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .admin-wbts-ok-sidemenu .nav-link span {
            flex: 1;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }

        /* Footer */
        .admin-footer {
            margin-top: auto;
            padding: 16px 0;
            border-top: 1px solid var(--border-color);
            background: #f8fafc;
            text-align: center;
            font-size: 12px;
            color: #94a3b8;
        }
        .admin-footer a {
            color: #64748b;
            text-decoration: none;
            transition: color 0.2s;
        }
        .admin-footer a:hover {
            color: var(--primary-color);
        }

        /* Main Content */
        .admin-main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            margin-left: var(--sidebar-width);
            margin-top: 50px;
            padding: 20px;
            transition: margin-left 0.3s ease;
            width: calc(100vw - var(--sidebar-width));
            box-sizing: border-box;
            overflow-x: hidden;
            min-height: calc(100vh - 50px);
        }

        .admin-main-content.admin-wbts-ok-sidemenu-collapsed {
            margin-left: var(--sidebar-collapsed-width);
            width: calc(100vw - var(--sidebar-collapsed-width));
        }

        /* Collapsed Sidebar */
        .admin-wbts-ok-sidemenu.collapsed {
            width: 60px !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-profile-details {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-nav-section-title {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .nav-link span {
            display: none !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .nav-link {
            justify-content: center !important;
            padding: 0.75rem !important;
            width: calc(100% - 1rem) !important;
            margin: 0.125rem 0.5rem !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .nav-link i {
            font-size: 1.2rem !important;
            width: auto !important;
            min-width: auto !important;
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-collapse-toggle {
            right: -14px;
            top: 50%;
            transform: translateY(-50%);
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-collapse-toggle:hover {
            transform: translateY(-50%) scale(1.1);
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-collapse-toggle i {
            transform: rotate(180deg);
        }

        .admin-wbts-ok-sidemenu.collapsed .admin-wbts-ok-sidemenu-collapse-toggle:hover i {
            transform: rotate(180deg) scale(1.1);
        }

        /* Shared Admission-style UI helpers */
        .admission-header {
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: white;
            padding: 16px;
            border-radius: 8px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
        }

        .admission-header h1 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
        }

        .admission-header .subtitle {
            margin: 4px 0 0 0;
            font-size: 12px;
            opacity: 0.9;
        }

        .admission-filters {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            padding: 12px;
            margin-bottom: 16px;
        }

        .admission-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 8px;
            margin-bottom: 16px;
        }

        .admission-stat-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            padding: 12px;
            text-align: center;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .admission-stat-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .admission-stat-card .number {
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
            margin: 0;
        }

        .admission-stat-card .label {
            font-size: 10px;
            color: #64748b;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 2px 0 0 0;
        }

        .admission-stat-card.primary { border-left: 3px solid var(--primary-color); }
        .admission-stat-card.success { border-left: 3px solid var(--success-color); }
        .admission-stat-card.warning { border-left: 3px solid var(--warning-color); }
        .admission-stat-card.danger { border-left: 3px solid var(--danger-color); }
        .admission-stat-card.info { border-left: 3px solid var(--info-color); }

        .admission-table {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            overflow: hidden;
            margin-bottom: 16px;
        }

        .admission-table table {
            width: 100%;
            margin: 0;
            font-size: 12px;
        }

        .admission-table th {
            background: #f8f9fa;
            border: none;
            padding: 8px 12px;
            font-weight: 600;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #64748b;
        }

        .admission-table td {
            border: none;
            padding: 8px 12px;
            vertical-align: middle;
            border-bottom: 1px solid #f1f5f9;
        }

        .admission-table tbody tr:hover {
            background: #f8f9fa;
        }

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

        .admission-actions {
            display: flex;
            gap: 4px;
            align-items: center;
        }

        .admission-btn {
            padding: 4px 8px;
            border: none;
            border-radius: 3px;
            font-size: 10px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }

        .admission-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .admission-btn.primary { background: var(--primary-color); color: white; }
        .admission-btn.success { background: var(--success-color); color: white; }
        .admission-btn.warning { background: var(--warning-color); color: white; }
        .admission-btn.outline { background: transparent; border: 1px solid #e2e8f0; color: #64748b; }

        .admin-wbts-ok-sidemenu-collapse-toggle {
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid #e2e8f0;
            color: #64748b;
            cursor: pointer;
            padding: 6px;
            border-radius: 6px;
            transition: all 0.3s ease;
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            pointer-events: auto;
            user-select: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .admin-wbts-ok-sidemenu-collapse-toggle:hover {
            background: var(--primary-color);
            color: white;
            box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
            transform: translateY(-50%) scale(1.1);
        }

        .admin-wbts-ok-sidemenu-collapse-toggle i {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

        .admin-wbts-ok-sidemenu-collapse-toggle:active {
            transform: translateY(-50%) scale(0.95);
        }

        .admin-wbts-ok-sidemenu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
        }

        .admin-wbts-ok-sidemenu-overlay.show {
            display: block;
        }

        /* Mobile sidebar toggle button (in top nav) */
        .admin-wbts-ok-sidemenu-toggle {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: none;
            padding: 8px 10px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .admin-wbts-ok-sidemenu-toggle:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        /* Analytics Dashboard Styles */
        .analytics-dashboard {
            display: grid;
            gap: 20px;
        }
        
        .analytics-header {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            color: white;
            padding: 24px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.2);
        }
        
        .analytics-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .analytics-stat-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .analytics-stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }
        
        .analytics-stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }
        
        .analytics-stat-card .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 16px;
        }
        
        .analytics-stat-card.primary .stat-icon {
            background: rgba(79, 70, 229, 0.1);
            color: var(--primary-color);
        }
        
        .analytics-stat-card.success .stat-icon {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }
        
        .analytics-stat-card.warning .stat-icon {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .analytics-stat-card.danger .stat-icon {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        
        .analytics-stat-card .stat-value {
            font-size: 32px;
            font-weight: 700;
            color: #1e293b;
            margin: 0 0 8px 0;
            line-height: 1;
        }
        
        .analytics-stat-card .stat-label {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
            margin: 0;
        }
        
        .analytics-stat-card .stat-change {
            font-size: 12px;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .analytics-stat-card .stat-change.positive {
            color: var(--success-color);
        }
        
        .analytics-stat-card .stat-change.negative {
            color: var(--danger-color);
        }
        
        .analytics-charts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }
        
        .analytics-chart-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .analytics-chart-card h3 {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
            margin: 0 0 20px 0;
        }
        
        .analytics-table-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .analytics-table-card h3 {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
            margin: 0 0 20px 0;
        }
        
        .analytics-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .analytics-table th {
            background: #f8fafc;
            padding: 12px;
            text-align: left;
            font-weight: 600;
            font-size: 12px;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .analytics-table td {
            padding: 12px;
            border-bottom: 1px solid #f1f5f9;
            font-size: 14px;
        }
        
        .analytics-table tbody tr:hover {
            background: #f8fafc;
        }
        
        .badge-analytics {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }
        
        .badge-analytics.success {
            background: rgba(16, 185, 129, 0.1);
            color: var(--success-color);
        }
        
        .badge-analytics.warning {
            background: rgba(245, 158, 11, 0.1);
            color: var(--warning-color);
        }
        
        .badge-analytics.danger {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger-color);
        }
        
        .payment-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .payment-summary-card {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 16px;
            text-align: center;
        }
        
        .payment-summary-card .amount {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin: 0 0 4px 0;
        }
        
        .payment-summary-card .label {
            font-size: 12px;
            color: #64748b;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        @media (max-width: 768px) {
            .analytics-stats-grid {
                grid-template-columns: 1fr;
            }
            
            .analytics-charts-grid {
                grid-template-columns: 1fr;
            }
            
            .analytics-stat-card .stat-value {
                font-size: 24px;
            }
        }

        /* Sidebar Icon Colors */
        .admin-wbts-ok-sidemenu .nav-link i.fa-graduation-cap { color: #4f46e5; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-layer-group { color: #7c3aed; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-building { color: #06b6d4; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-tags { color: #f59e0b; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-credit-card { color: #10b981; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-tachometer-alt { color: #ef4444; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-chart-pie { color: #8b5cf6; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-chart-area { color: #06b6d4; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-chart-line { color: #10b981; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-dollar-sign { color: #f59e0b; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-sliders-h { color: #ef4444; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-users-cog { color: #7c3aed; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-user-tag { color: #06b6d4; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-lock { color: #ef4444; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-users { color: #8b5cf6; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-user-plus { color: #10b981; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-envelope { color: #f59e0b; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-paper-plane { color: #06b6d4; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-history { color: #6b7280; }
        .admin-wbts-ok-sidemenu .nav-link i.fa-user { color: #8b5cf6; }
        
        /* Section header icons */
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-globe { color: #4f46e5; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-chart-bar { color: #10b981; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-coins { color: #f59e0b; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-user-shield { color: #7c3aed; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-users { color: #06b6d4; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-envelope { color: #ef4444; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-history { color: #6b7280; }
        .admin-wbts-ok-sidemenu-nav-section-title i.fa-user { color: #8b5cf6; }
        
        /* Active state icon colors */
        .admin-wbts-ok-sidemenu .nav-link.active i {
            color: white !important;
        }

        /* ── Mobile Bottom Navigation ────────────────────────────────── */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 56px;
            background: #fff;
            border-top: 1px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: space-around;
            z-index: 1001;
            box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        }
        .mbn-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            flex: 1;
            height: 100%;
            background: none;
            border: none;
            color: #64748b;
            text-decoration: none;
            font-size: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: color 0.2s;
            padding: 0;
        }
        .mbn-item i { font-size: 18px; }
        .mbn-item.active { color: #4f46e5; }
        .mbn-item:active { color: #4f46e5; }

        /* ── Improved Responsive Breakpoints ─────────────────────────── */
        /* Tablet and below */
        @media (max-width: 991px) {
            .admin-main-content {
                margin-left: 0;
                width: 100vw;
                padding: 12px 12px 70px 12px; /* bottom padding for mobile nav */
            }
            .admin-wbts-ok-sidemenu {
                transform: translateX(-100%);
                width: 260px;
                box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
            }
            .admin-wbts-ok-sidemenu.show {
                transform: translateX(0);
            }
            .admin-wbts-ok-sidemenu-collapse-toggle {
                display: none !important; /* no collapse on mobile, it's off-canvas */
            }
            .nav-center {
                display: none;
            }
            .admin-wbts-ok-sidemenu-profile {
                padding: 0.6rem;
            }
            .admin-wbts-ok-sidemenu-profile-avatar,
            .admin-wbts-ok-sidemenu-profile-avatar-fallback {
                width: 34px;
                height: 34px;
                font-size: 0.85rem;
            }
            .admin-wbts-ok-sidemenu-profile-details h6 {
                font-size: 0.75rem;
            }
            .admin-wbts-ok-sidemenu-profile-details p {
                font-size: 0.6rem;
                max-width: 80px;
            }
            .admin-wbts-ok-sidemenu-nav {
                padding: 0.5rem 0;
            }
            .admin-wbts-ok-sidemenu-nav-section-title {
                padding: 0.4rem 0.6rem 0.3rem 0.6rem;
                font-size: 0.65rem;
                margin: 0.2rem 0.4rem 0.3rem 0.4rem;
            }
            .admin-wbts-ok-sidemenu-nav-section-title i {
                font-size: 0.7rem;
            }
            .admin-wbts-ok-sidemenu .nav-link {
                padding: 0.6rem 0.85rem;
                font-size: 0.85rem;
                margin: 0.12rem 0.5rem;
                width: calc(100% - 1rem);
            }
            .admin-wbts-ok-sidemenu .nav-link i {
                width: 20px;
                min-width: 20px;
                font-size: 1rem;
            }
            .admin-wbts-ok-sidemenu .nav-link span {
                font-size: 0.85rem;
            }
        }

        /* Phone */
        @media (max-width: 480px) {
            .admin-top-nav { height: 48px; }
            .admin-main-content {
                margin-top: 48px;
                padding: 10px 8px 68px 8px;
            }
            .admin-wbts-ok-sidemenu {
                width: 85vw;
                max-width: 300px;
                top: 48px;
                height: calc(100vh - 48px);
            }
            .nav-left .logo { font-size: 16px; }
            .nav-left .logo img { height: 26px; }
            .admin-user-profile { padding: 4px 8px; }
            .admin-user-profile span { display: none !important; }
            .admin-user-avatar,
            .admin-user-avatar-fallback {
                width: 28px;
                height: 28px;
                font-size: 11px;
            }
            .mobile-bottom-nav { height: 56px; }
            .mbn-item { font-size: 9px; }
            .mbn-item i { font-size: 16px; }

            /* Dashboard content adjustments */
            .stats-row {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 6px;
            }
            .platform-stats-row {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 6px;
            }
            .sec-grid {
                grid-template-columns: 1fr !important;
                gap: 8px;
            }
            .actions-row {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 6px;
            }
            .tenant-subscription-row {
                flex-direction: column;
            }
            .tenant-subscription-row > .tenant-card-simple,
            .tenant-subscription-row > .subscription-card-simple {
                flex: 1 1 100%;
            }
            .st-card { padding: 10px 8px; }
            .st-val { font-size: 15px; }
            .st-label { font-size: 9px; }
            .st-icon { width: 26px; height: 26px; font-size: 11px; }
            .db-header { padding: 14px 12px; }
            .db-title { font-size: 18px; }
            .db-subtitle { font-size: 12px; }
            .sec-card { padding: 10px; }
            .act-card { padding: 10px; }
            .act-title { font-size: 11px; }
            .act-desc { font-size: 9px; }

            /* Tables: make horizontally scrollable with sticky first column */
            .table-responsive {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            .table-compact { font-size: 10px; }
            .table-compact th { font-size: 9px; padding: 4px 6px; }
            .table-compact td { padding: 4px 6px; }

            /* Footer */
            .admin-footer { font-size: 10px; padding: 8px 0; }
        }

        /* Very small phones */
        @media (max-width: 360px) {
            .stats-row { grid-template-columns: 1fr !important; }
            .platform-stats-row { grid-template-columns: 1fr !important; }
            .actions-row { grid-template-columns: 1fr !important; }
            .st-card { padding: 8px; }
            .st-val { font-size: 14px; }
        }

        /* Desktop: hide mobile bottom nav, show normal sidebar */
        @media (min-width: 992px) {
            .mobile-bottom-nav { display: none !important; }
        }