/**
 * SystemDR Theme - CSS Custom Properties
 * Centralized design tokens for consistency
 */

:root {
    /* === Primary Color Palette === */
    --sdc-primary: #0056d2;
    --sdc-primary-light: #4285f4;
    --sdc-primary-dark: #004494;
    --sdc-primary-hover: #003d9e;
    --sdc-primary-rgb: 0, 86, 210;
    
    /* === Secondary Colors === */
    --sdc-secondary: #e8f0fe;
    --sdc-secondary-dark: #c3e7f5;
    
    /* === Semantic Colors === */
    --sdc-success: #10b981;
    --sdc-success-light: #d1fae5;
    --sdc-success-dark: #059669;
    
    --sdc-warning: #ffc107;
    --sdc-warning-light: #fff3cd;
    --sdc-warning-dark: #f59e0b;
    
    --sdc-danger: #dc3545;
    --sdc-danger-light: #fee2e2;
    --sdc-danger-dark: #b91c1c;
    
    --sdc-info: #0ea5e9;
    --sdc-info-light: #e0f2fe;
    --sdc-info-dark: #0284c7;
    
    /* === Text Colors === */
    --sdc-text-primary: #2d3748;
    --sdc-text-secondary: #4a5568;
    --sdc-text-tertiary: #718096;
    --sdc-text-light: #a0aec0;
    --sdc-text-muted: #cbd5e0;
    
    /* === Background Colors === */
    --sdc-bg-primary: #ffffff;
    --sdc-bg-secondary: #f7fafc;
    --sdc-bg-tertiary: #f8fafc;
    --sdc-bg-elevated: #fafbfc;
    --sdc-bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* === Border Colors === */
    --sdc-border-light: #f1f5f9;
    --sdc-border: #e2e8f0;
    --sdc-border-dark: #cbd5e0;
    --sdc-border-focus: #4285f4;
    
    /* === Typography === */
    --sdc-font-sans: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sdc-font-mono: 'Fira Code', 'Courier New', monospace;
    
    /* Font Sizes */
    --sdc-text-xs: 12px;
    --sdc-text-sm: 13px;
    --sdc-text-base: 14px;
    --sdc-text-md: 15px;
    --sdc-text-lg: 16px;
    --sdc-text-xl: 18px;
    --sdc-text-2xl: 20px;
    --sdc-text-3xl: 24px;
    --sdc-text-4xl: 28px;
    --sdc-text-5xl: 32px;
    --sdc-text-6xl: 40px;
    
    /* Font Weights */
    --sdc-weight-normal: 400;
    --sdc-weight-medium: 500;
    --sdc-weight-semibold: 600;
    --sdc-weight-bold: 700;
    --sdc-weight-extrabold: 800;
    
    /* Line Heights */
    --sdc-leading-tight: 1.25;
    --sdc-leading-snug: 1.375;
    --sdc-leading-normal: 1.5;
    --sdc-leading-relaxed: 1.6;
    --sdc-leading-loose: 1.8;
    
    /* === Spacing === */
    --sdc-space-xs: 4px;
    --sdc-space-sm: 8px;
    --sdc-space-md: 12px;
    --sdc-space-lg: 16px;
    --sdc-space-xl: 20px;
    --sdc-space-2xl: 24px;
    --sdc-space-3xl: 32px;
    --sdc-space-4xl: 40px;
    --sdc-space-5xl: 48px;
    
    /* === Border Radius === */
    --sdc-radius-sm: 4px;
    --sdc-radius: 6px;
    --sdc-radius-md: 8px;
    --sdc-radius-lg: 12px;
    --sdc-radius-xl: 16px;
    --sdc-radius-2xl: 24px;
    --sdc-radius-full: 9999px;
    
    /* === Transitions === */
    --sdc-transition-fast: 0.15s;
    --sdc-transition: 0.2s;
    --sdc-transition-slow: 0.3s;
    --sdc-easing: cubic-bezier(0.4, 0.0, 0.2, 1);
    --sdc-easing-in: cubic-bezier(0.4, 0.0, 1, 1);
    --sdc-easing-out: cubic-bezier(0.0, 0.0, 0.2, 1);
    
    /* === Shadows === */
    --sdc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --sdc-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --sdc-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --sdc-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --sdc-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* === Z-Index Scale === */
    --sdc-z-dropdown: 1000;
    --sdc-z-sticky: 1020;
    --sdc-z-fixed: 1030;
    --sdc-z-modal-backdrop: 1040;
    --sdc-z-modal: 1050;
    --sdc-z-popover: 1060;
    --sdc-z-tooltip: 1070;
}

/* === Dark Mode Support (Optional) === */
@media (prefers-color-scheme: dark) {
    :root {
        --sdc-bg-primary: #1a202c;
        --sdc-bg-secondary: #2d3748;
        --sdc-text-primary: #f7fafc;
        --sdc-text-secondary: #e2e8f0;
        --sdc-border: #4a5568;
    }
}

