/* ===========================================
   PixelSuite Hub - Design System Variables
   Unified design tokens for consistent styling
   =========================================== */

:root {
    /* ===== Brand Colors ===== */
    --ps-blue: #0064A2;
    --ps-blue-dark: #005289;
    --ps-blue-light: #0076BF;
    --ps-light-blue: #3B96D2;
    --ps-green: #2A9D8F;
    --ps-teal: #75FFDB;

    /* ===== Semantic Colors ===== */
    --color-success: #2A9D8F;
    --color-warning: #f59e0b;
    --color-danger: #dc3545;
    --color-info: #3B96D2;
    --color-error: #FF6B6B;

    /* ===== Text Colors ===== */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --text-white: #ffffff;

    /* ===== Background Colors ===== */
    --bg-body: #f5f7fa;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-dark: #0a1628;
    --bg-dark-secondary: #1a2940;

    /* ===== Border Colors ===== */
    --border-light: #e2e8f0;
    --border-muted: #f1f5f9;
    --border-focus: var(--ps-blue);

    /* ===== Shadow Definitions ===== */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(117, 255, 219, 0.3);
    --shadow-blue: 0 4px 12px rgba(0, 100, 162, 0.3);

    /* ===== Border Radius ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ===== Spacing Scale ===== */
    --space-1: 0.25rem;  /* 4px */
    --space-2: 0.5rem;   /* 8px */
    --space-3: 0.75rem;  /* 12px */
    --space-4: 1rem;     /* 16px */
    --space-5: 1.25rem;  /* 20px */
    --space-6: 1.5rem;   /* 24px */
    --space-8: 2rem;     /* 32px */
    --space-10: 2.5rem;  /* 40px */
    --space-12: 3rem;    /* 48px */

    /* ===== Typography ===== */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;

    /* ===== Transitions ===== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* ===== Z-Index Scale ===== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ===== Gradients ===== */
    --gradient-primary: linear-gradient(135deg, var(--ps-blue) 0%, var(--ps-blue-dark) 100%);
    --gradient-teal: linear-gradient(135deg, var(--ps-teal) 0%, var(--ps-green) 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #1a2940 50%, #0d1f3a 100%);
    --gradient-card-header: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);

    /* ===== Component-Specific ===== */
    --navbar-height: 72px;
    --footer-height: 60px;
    --sidebar-width: 280px;
    --container-max: 1400px;

    /* ===== Focus Ring ===== */
    --focus-ring: 0 0 0 4px rgba(0, 100, 162, 0.15);
    --focus-ring-teal: 0 0 0 4px rgba(117, 255, 219, 0.2);
}

/* Dark mode support (future) */
@media (prefers-color-scheme: dark) {
    :root {
        /* Override variables for dark mode when needed */
    }
}
