:root {
    color-scheme: light;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-rgb: 37, 99, 235;
    --primary-soft: #eff4ff;
    --primary-border: #bfdbfe;
    --on-primary: #ffffff;
    --dark: #0c1222;
    --dark-light: #172033;
    --text: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --muted: var(--text-muted);
    --text-light: #f8fafc;
    --white: #ffffff;
    --bg: #f4f6fb;
    --surface: #ffffff;
    --surface-muted: #f1f4f9;
    --hover: #eef2f7;
    --border: #e6e8ef;
    --danger: #dc2626;
    --danger-text: #b91c1c;
    --danger-soft: #fef2f2;
    --danger-border: #fecaca;
    --success: #047857;
    --success-text: #047857;
    --success-soft: #ecfdf5;
    --warning: #d97706;
    --info: #0284c7;
    --sidebar: #0c1222;
    --sidebar-text: #f8fafc;
    --sidebar-muted: #94a3b8;
    --sidebar-accent: #93c5fd;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active: rgba(37, 99, 235, 0.22);
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-pop: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --ring: rgba(37, 99, 235, 0.22);
    --danger-ring: rgba(220, 38, 38, 0.18);
    --login-start: #0c1222;
    --login-end: #1e3a8a;
    --login-glow: rgba(37, 99, 235, 0.45);
    --sidebar-width: 240px;
    --sidebar-collapsed-width: 72px;
    --topbar-height: 64px;
    --radius: 10px;
}

[data-theme="dark"] {
    color-scheme: dark;
    --primary: #3b82f6;
    --primary-dark: #60a5fa;
    --primary-rgb: 59, 130, 246;
    --primary-soft: rgba(59, 130, 246, 0.16);
    --primary-border: rgba(147, 197, 253, 0.45);
    --on-primary: #ffffff;
    --dark: #070b12;
    --dark-light: #121826;
    --text: #e8edf7;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-faint: #64748b;
    --text-light: #f8fafc;
    --bg: #0b0f17;
    --surface: #141b29;
    --surface-muted: #1c2536;
    --hover: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --danger: #f87171;
    --danger-text: #fca5a5;
    --danger-soft: rgba(248, 113, 113, 0.12);
    --danger-border: rgba(248, 113, 113, 0.4);
    --success: #34d399;
    --success-text: #6ee7b7;
    --success-soft: rgba(52, 211, 153, 0.12);
    --warning: #fbbf24;
    --info: #38bdf8;
    --sidebar: #070b12;
    --sidebar-text: #f8fafc;
    --sidebar-muted: #94a3b8;
    --sidebar-accent: #93c5fd;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active: rgba(59, 130, 246, 0.24);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
    --ring: rgba(59, 130, 246, 0.35);
    --danger-ring: rgba(248, 113, 113, 0.28);
    --login-start: #05070c;
    --login-end: #10182c;
    --login-glow: rgba(59, 130, 246, 0.28);
}
