/* ==================== CSS VARIABLES - DESIGN SYSTEM ==================== */
/**
 * Central Design System Variables
 * Use these CSS variables across all views for consistent theming
 */

:root {
    /* ==================== COLORS ==================== */

    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-lighter: #a5b4fc;

    /* Secondary Colors */
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --secondary-lighter: #6ee7b7;

    /* Danger/Error Colors */
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #f87171;
    --danger-lighter: #fca5a5;

    /* Warning Colors */
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --warning-light: #fbbf24;
    --warning-lighter: #fcd34d;

    /* Info Colors */
    --info: #3b82f6;
    --info-dark: #2563eb;
    --info-light: #60a5fa;
    --info-lighter: #93c5fd;

    /* Success Colors */
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #34d399;
    --success-lighter: #6ee7b7;

    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: rgba(30, 41, 59, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.8);

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-disabled: #475569;

    /* Border Colors */
    --border: rgba(148, 163, 184, 0.1);
    --border-light: rgba(148, 163, 184, 0.05);
    --border-dark: rgba(148, 163, 184, 0.2);

    /* ==================== GRADIENTS ==================== */

    --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-info: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

    /* ==================== SPACING ==================== */

    --spacing-xs: 0.5rem; /* 8px */
    --spacing-sm: 1rem; /* 16px */
    --spacing-md: 1.5rem; /* 24px */
    --spacing-lg: 2rem; /* 32px */
    --spacing-xl: 3rem; /* 48px */
    --spacing-2xl: 4rem; /* 64px */
    --spacing-3xl: 6rem; /* 96px */

    /* ==================== BORDER RADIUS ==================== */

    --radius-sm: 0.5rem; /* 8px */
    --radius-md: 1rem; /* 16px */
    --radius-lg: 1.5rem; /* 24px */
    --radius-xl: 2rem; /* 32px */
    --radius-full: 9999px; /* Full round */

    /* ==================== SHADOWS ==================== */

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);

    /* Colored Shadows */
    --shadow-primary: 0 4px 15px rgba(99, 102, 241, 0.4);
    --shadow-primary-lg: 0 6px 20px rgba(99, 102, 241, 0.6);
    --shadow-secondary: 0 4px 15px rgba(16, 185, 129, 0.4);
    --shadow-secondary-lg: 0 6px 20px rgba(16, 185, 129, 0.6);
    --shadow-danger: 0 4px 15px rgba(239, 68, 68, 0.4);
    --shadow-danger-lg: 0 6px 20px rgba(239, 68, 68, 0.6);

    /* Glow Effects */
    --shadow-glow-primary: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(16, 185, 129, 0.3);
    --shadow-glow-danger: 0 0 40px rgba(239, 68, 68, 0.3);

    /* ==================== TYPOGRAPHY ==================== */

    /* Font Families */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", "Courier New", monospace;

    /* Font Sizes */
    --text-xs: 0.75rem; /* 12px */
    --text-sm: 0.875rem; /* 14px */
    --text-base: 1rem; /* 16px */
    --text-lg: 1.125rem; /* 18px */
    --text-xl: 1.25rem; /* 20px */
    --text-2xl: 1.5rem; /* 24px */
    --text-3xl: 1.875rem; /* 30px */
    --text-4xl: 2.25rem; /* 36px */
    --text-5xl: 3rem; /* 48px */
    --text-6xl: 3.75rem; /* 60px */

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;

    /* ==================== TRANSITIONS ==================== */

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ==================== Z-INDEX ==================== */

    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==================== LIGHT THEME (OPTIONAL) ==================== */
/* Uncomment and customize for light theme support */

/*
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --text-disabled: #94a3b8;
    
    --border: rgba(15, 23, 42, 0.1);
    --border-light: rgba(15, 23, 42, 0.05);
    --border-dark: rgba(15, 23, 42, 0.2);
}
*/
