/* AERIS Dashboard - Design Tokens */

:root {
    /* Brand Colors */
    --navy: #0a0a2e;
    --navy-light: #12123d;
    --navy-medium: #1a1a4a;
    --navy-bright: #252560;

    --red: #cb989f;
    --red-light: #f1b3bc;
    --red-dark: #5a1520;
    --red-glow: rgba(139, 35, 50, 0.3);

    --gold: #c9a227;
    --gold-light: #e0b82e;
    --gold-dark: #8a7015;
    --gold-glow: rgba(201, 162, 39, 0.2);

    --green: #2d8a6e;
    --green-light: #3aa882;
    --green-dark: #1d5a48;
    --green-glow: rgba(45, 138, 110, 0.2);

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic Colors */
    --success: var(--green);
    --warning: var(--gold);
    --danger: var(--red);
    --info: #3b82f6;

    /* Text Colors */
    --text-primary: var(--white);
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-inverse: var(--navy);

    /* Background Colors */
    --bg-primary: var(--navy);
    --bg-secondary: var(--navy-light);
    --bg-tertiary: var(--navy-medium);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Border Colors */
    --border-default: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-active: var(--gold);

    /* Spacing Scale */
    --space-0: 0;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow-red: 0 0 30px var(--red-glow);
    --shadow-glow-gold: 0 0 30px var(--gold-glow);
    --shadow-glow-green: 0 0 30px var(--green-glow);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;

    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-tooltip: 400;
    --z-toast: 500;

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
    --content-max-width: 1400px;
}

/* Dark mode is default - but support light overrides if needed */
@media (prefers-color-scheme: light) {
    :root {
        /* Keep dark theme - AERIS is always dark */
    }
}
