:root {
    --font-sans: "Space Grotesk", "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --bg: #edf4f6;
    --bg-elevated: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.68);
    --bg-soft: #e7eef1;
    --line: #d8e4e8;
    --line-strong: #c4d2d8;

    --text: #101828;
    --text-muted: #526071;
    --text-soft: #76859a;

    --primary: #145dff;
    --primary-hover: #0f4fdc;
    --secondary-soft: #e8f0ff;

    --success: #10b981;
    --danger: #ef4444;
    --warning: #f97316;
    --muted: #64748b;

    --radius-sm: 12px;
    --radius-md: 14px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.11), 0 2px 4px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.16), 0 10px 22px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
    --bg: #050b1f;
    --bg-elevated: #0f1730;
    --bg-glass: rgba(9, 16, 34, 0.92);
    --bg-soft: #111d3a;
    --line: #24325a;
    --line-strong: #334579;

    --text: #edf2ff;
    --text-muted: #c8d3ef;
    --text-soft: #95a7cf;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: radial-gradient(1200px 700px at -10% -10%, #d7ecf7 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #d7e0ff 0%, transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(249, 115, 22, 0.12) 0%, transparent 55%),
    var(--bg);
}

body.mobile-menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
}

.bg-orb {
    position: fixed;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.bg-grid,
.bg-scanline {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(18, 24, 38, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 24, 38, 0.05) 1px, transparent 1px);
    background-size: 110px 110px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.7), transparent 88%);
}

.bg-scanline {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 18%, transparent 82%, rgba(15,23,42,0.04));
}

.orb-a {
    width: 240px;
    height: 240px;
    background: #a5c4ff;
    top: 80px;
    left: -50px;
    opacity: 0.35;
}

.orb-b {
    width: 280px;
    height: 280px;
    background: #9de7ff;
    right: -90px;
    top: 220px;
    opacity: 0.35;
}

.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 72px;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    padding: 0 18px;
}

[data-theme="dark"] .topbar {
    border-bottom-color: rgba(91, 119, 191, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    transition: all .22s ease;
    font-size: 12px;
    font-weight: 700;
}

.theme-toggle--disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.theme-toggle:hover {
    border-color: #4b6fbe;
}

.theme-toggle--disabled:hover {
    border-color: var(--line-strong);
}

.theme-toggle-track {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: #9ab7ff;
    position: relative;
}

.theme-toggle-track::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform .22s ease;
}

[data-theme="dark"] .theme-toggle-track {
    background: #2d3f72;
}

[data-theme="dark"] .theme-toggle-track::after {
    transform: translateX(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #0f172a;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563ff, #22c1ee);
    box-shadow: var(--shadow-sm);
}

.brand-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
}

.brand-divider {
    width: 1px;
    height: 48px;
    background: rgba(15, 23, 42, 0.18);
    flex: 0 0 auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    min-width: 0;
}

.brand-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.brand-script {
    font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: .92;
}


.brand-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: #e69a00;
    font-weight: 800;
    letter-spacing: 0.01em;
    font-style: italic;
    text-transform: none;
}

@media (max-width: 640px) {
    .brand {
        gap: 12px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-divider {
        height: 38px;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 11px;
    }
}

.user-pill {
    font-size: 11px;
    font-weight: 700;
    color: #133578;
    background: #e8efff;
    border: 1px solid #cad8ff;
    border-radius: 999px;
    padding: 6px 10px;
}

[data-theme="dark"] .user-pill {
    color: #dbe8ff;
    background: #1a2b58;
    border-color: #334579;
}

.app-layout {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    display: block;
}

.sidebar {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: #111318;
}

.sidebar-body {
    padding: 16px 12px 12px;
}

.sidebar-body--user {
    padding: 16px 12px 12px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 0 4px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f97316;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    flex: 0 0 auto;
}

.sidebar-brand__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-brand__title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.sidebar-brand__subtitle {
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-link.active {
    background: #f97316;
    color: #ffffff;
}

.sidebar-link__icon {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.36);
    flex: 0 0 auto;
    transition: color 0.15s ease;
}

.sidebar-link:hover .sidebar-link__icon {
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-link.active .sidebar-link__icon {
    color: #ffffff;
}

.sidebar-link__icon svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-nav[hidden],
.mobile-menu-overlay[hidden] {
    display: none !important;
}

.sidebar-link__label {
    min-width: 0;
    line-height: 1;
}

.sidebar-foot {
    padding: 14px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-foot--user {
    margin-top: auto;
}

.sidebar-user-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-user-card__main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-user-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f97316;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    flex: 0 0 auto;
}

.sidebar-user-card__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-card__name {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.15;
}

.sidebar-user-card__plan {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    line-height: 1.2;
}

.sidebar-user-card__logout {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, max-height 0.15s ease;
}

.sidebar-user-card:hover .sidebar-user-card__logout,
.sidebar-user-card:focus-within .sidebar-user-card__logout,
.sidebar-user-card__logout.is-visible {
    opacity: 1;
    max-height: 28px;
    pointer-events: auto;
}

.sidebar-logout-button {
    border: 0;
    background: transparent;
    color: #fca5a5;
    font-size: 10px;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
}

.sidebar-logout-button:hover {
    color: #fecaca;
}

.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    bottom: 0;
    z-index: 50;
    width: min(84vw, 260px);
    display: flex;
    flex-direction: column;
    background: #111318;
    transform: translateX(-100%);
    transition: transform 0.18s ease;
    box-shadow: 18px 0 32px rgba(0, 0, 0, 0.28);
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav__head,
.mobile-nav__foot,
.mobile-nav__body {
    padding-left: 14px;
    padding-right: 14px;
}

.mobile-nav__head {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__body {
    padding-top: 16px;
    padding-bottom: 16px;
    overflow-y: auto;
}

.mobile-nav__foot {
    margin-top: auto;
    padding-top: 14px;
    padding-bottom: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 72px 0 0;
    z-index: 45;
    background: rgba(8, 10, 14, 0.6);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
}

.mobile-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-button__icon {
    width: 16px;
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-menu-button__icon span {
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-menu-button__label {
    font-size: 12px;
}

.desktop-user-name {
    display: none;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: all 220ms ease;
    box-shadow: none;
    user-select: none;
    -webkit-user-select: none;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(2px);
    box-shadow: none;
}

.nav-item.active {
    background: #f97316;
    color: #ffffff;
    border-color: transparent;
}

[data-theme="dark"] .sidebar {
    background: #1a1d23;
}

[data-theme="dark"] .nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

[data-theme="dark"] .nav-item.active {
    background: #f97316;
    color: #ffffff;
    border-color: transparent;
}

[data-theme="dark"] .nav-item {
    border-color: rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.68);
    box-shadow: none;
}

.main-content {
    min-height: calc(100vh - 72px);
    min-width: 0;
}

.page-wrap {
    width: min(100%, 1820px);
    margin: 0 auto;
    padding: 24px 22px 56px;
}

.page-intro {
    margin-bottom: 24px;
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.46));
    box-shadow: 0 20px 38px rgba(15,23,42,0.07);
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .page-intro {
    border-color: rgba(91, 119, 191, 0.34);
    background: linear-gradient(135deg, rgba(12, 21, 43, 0.96), rgba(17, 29, 58, 0.92));
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .page-intro__eyebrow {
    color: #7dd3fc;
}

.page-intro__eyebrow {
    color: #f97316;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.page-intro__row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 10px;
}

.page-intro__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--text);
}

.page-intro__subtitle {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 780px;
}

.page-intro__metric {
    flex: 0 0 auto;
    min-width: 190px;
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(20,93,255,0.92));
    color: white;
    box-shadow: 0 18px 30px rgba(20, 93, 255, 0.18);
}

.page-intro__metric span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.page-intro__metric strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 20px;
    transition: box-shadow 260ms ease, transform 260ms ease, border-color 260ms ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

[data-theme="dark"] .card {
    background: #0f1730;
    border-color: #2f447a;
}

.btn {
    border: 1px solid transparent;
    border-radius: 12px;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease, border-color 240ms ease, color 240ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0f172a, var(--primary));
    box-shadow: 0 14px 28px rgba(20, 93, 255, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #111827, var(--primary-hover));
    box-shadow: 0 18px 34px rgba(20, 93, 255, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    border-color: var(--line-strong);
    background: #fff;
    color: var(--text-muted);
}

[data-theme="dark"] .btn-secondary {
    background: #131f3f;
    color: #d8e4ff;
}

.btn-secondary:hover {
    border-color: #c8d5ea;
    background: #f8fbff;
    color: var(--text);
}

@media (max-width: 960px) {
    .app-layout {
        display: block;
    }

    .page-wrap {
        padding: 16px 14px 34px;
    }

    .page-intro {
        padding: 1rem 1rem 1.1rem;
    }

    .page-intro__row {
        flex-direction: column;
        align-items: stretch;
    }

    .page-intro__metric {
        min-width: 0;
    }
}

[data-theme="dark"] .btn-secondary:hover {
    background: #1a2b58;
    border-color: #3f5ca8;
}

.btn-soft {
    border-color: #d6e3fb;
    background: var(--secondary-soft);
    color: #27437a;
}

.btn-soft:hover {
    background: #e1ecff;
}

.chip-btn,
.chip-btn-muted,
.chip-btn-danger {
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    transition: all 220ms ease;
}

.chip-btn {
    background: #e8efff;
    color: #1e3a8a;
}

.chip-btn:hover {
    background: #dce8ff;
}

.chip-btn-muted {
    background: #eef2f8;
    color: #334155;
}

.chip-btn-muted:hover {
    background: #e1e8f2;
}

.chip-btn-danger {
    background: #fee2e2;
    color: #991b1b;
}

.chip-btn-danger:hover {
    background: #fecaca;
}

.alert {
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid;
    font-size: 14px;
}

.alert-success {
    color: #065f46;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.alert-danger {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

[data-theme="dark"] .alert-success {
    color: #d1fae5;
    background: rgba(6, 78, 59, 0.46);
    border-color: rgba(52, 211, 153, 0.35);
}

[data-theme="dark"] .alert-danger {
    color: #fee2e2;
    background: rgba(127, 29, 29, 0.45);
    border-color: rgba(248, 113, 113, 0.32);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    background: #fbfcff;
}

[data-theme="dark"] th {
    background: #121c37;
}

tbody tr:hover {
    background: #f8fbff;
}

[data-theme="dark"] tbody tr:hover {
    background: #172549;
}

.stat-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.stat-card h3 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.02em;
}

.stat-card p {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.dashboard-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.9));
    border-color: rgba(96, 165, 250, 0.35);
}

[data-theme="dark"] .dashboard-hero {
    background: linear-gradient(135deg, rgba(11, 24, 52, 0.96), rgba(20, 38, 79, 0.92));
    border-color: rgba(96, 165, 250, 0.4);
}

[data-theme="dark"] .dashboard-hero .text-slate-500 {
    color: #9fb4e7 !important;
}

[data-theme="dark"] .dashboard-hero .text-slate-600 {
    color: #d5e2ff !important;
}

input, select, textarea {
    background: #fff;
    border: 1px solid var(--line-strong);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    outline: none;
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #0d1734;
    color: #edf2ff;
    border-color: #36508f;
}

input:focus, select:focus, textarea:focus {
    border-color: #9ec5ff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

/* Dark mode compatibility layer for Tailwind utility classes used in views */
[data-theme="dark"] .text-slate-900,
[data-theme="dark"] .text-gray-900,
[data-theme="dark"] .text-slate-800,
[data-theme="dark"] .text-gray-800,
[data-theme="dark"] .text-slate-700,
[data-theme="dark"] .text-gray-700 {
    color: #edf2ff !important;
}

[data-theme="dark"] .text-slate-600,
[data-theme="dark"] .text-gray-600,
[data-theme="dark"] .text-slate-500,
[data-theme="dark"] .text-gray-500 {
    color: #c8d3ef !important;
}

[data-theme="dark"] .text-slate-400,
[data-theme="dark"] .text-gray-400 {
    color: #9fb0d9 !important;
}

[data-theme="dark"] .text-blue-600,
[data-theme="dark"] .text-green-700,
[data-theme="dark"] .text-green-600,
[data-theme="dark"] .text-yellow-600 {
    color: #8db8ff !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-slate-50,
[data-theme="dark"] .bg-gray-50,
[data-theme="dark"] .bg-slate-100,
[data-theme="dark"] .bg-gray-100 {
    background-color: #111d3a !important;
}

[data-theme="dark"] .bg-cyan-50,
[data-theme="dark"] .bg-cyan-50\/60,
[data-theme="dark"] .from-slate-50,
[data-theme="dark"] .to-cyan-50,
[data-theme="dark"] .to-slate-100,
[data-theme="dark"] .from-amber-100,
[data-theme="dark"] .via-orange-50,
[data-theme="dark"] .from-sky-100,
[data-theme="dark"] .via-cyan-50 {
    background-image: none !important;
    background-color: #111d3a !important;
}

[data-theme="dark"] .border-slate-100,
[data-theme="dark"] .border-slate-200,
[data-theme="dark"] .border-gray-100,
[data-theme="dark"] .border-gray-200,
[data-theme="dark"] .border-gray-300,
[data-theme="dark"] .border-cyan-300 {
    border-color: #334579 !important;
}

[data-theme="dark"] .shadow,
[data-theme="dark"] .shadow-sm,
[data-theme="dark"] .shadow-md {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35) !important;
}

[data-theme="dark"] .hover\:bg-slate-200:hover,
[data-theme="dark"] .hover\:bg-gray-200:hover,
[data-theme="dark"] .hover\:bg-slate-100:hover {
    background-color: #1a2b58 !important;
}

[data-theme="dark"] .text-cyan-300 {
    color: #7dd3fc !important;
}

[data-theme="dark"] .text-cyan-700,
[data-theme="dark"] .text-amber-700,
[data-theme="dark"] .text-sky-700 {
    color: #93c5fd !important;
}

[data-theme="dark"] .bg-slate-900 {
    background-color: #08111f !important;
}

@media (min-width: 768px) {
    .app-layout {
        display: grid;
        grid-template-columns: 228px minmax(0, 1fr);
    }

    .sidebar {
        display: flex !important;
        position: sticky;
        top: 72px;
        height: calc(100vh - 72px);
    }

    .mobile-menu-button {
        display: none;
    }

    .desktop-user-name {
        display: inline-block;
    }

    .mobile-nav {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .page-wrap {
        padding: 24px;
    }
}

@media (min-width: 1100px) {
    .page-wrap {
        padding: 28px;
    }
}
