/* ============================================================================
   FILE: variables.css
   PATH: public/css/variables.css
   VERSION: 1.0.0
   PURPOSE: CSS Custom Properties for the entire platform.
            Allows tenant-specific branding via overrides.
   AUTHOR: AviaSAFE Systems
   ============================================================================ */

:root {
    /* ========== PRIMARY COLORS ========== */
    --color-primary: #1a6b8a;
    --color-primary-dark: #0b2a42;
    --color-primary-light: #e8f0f8;

    /* ========== ACCENT COLORS ========== */
    --color-accent: #1a6b8a;
    --color-accent-light: #4aa8cc;
    
    /* ========== SECONDARY COLORS ========== */
    --color-secondary: #f57c00;
    --color-secondary-dark: #e65100;
    --color-secondary-light: #fff3e0;
    
    /* ========== NEUTRAL COLORS ========== */
    --color-white: #ffffff;
    --color-black: #0b2a42;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f3f4;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dadce0;
    --color-gray-400: #bdc1c6;
    --color-gray-500: #9aa0a6;
    --color-gray-600: #80868b;
    --color-gray-700: #5f6368;
    --color-gray-800: #3c4043;
    --color-gray-900: #0b2a42;
    
    /* ========== STATUS COLORS ========== */
    --color-success: #34a853;
    --color-success-bg: #e6f4ea;
    --color-warning: #f9ab00;
    --color-warning-bg: #fff3cd;
    --color-danger: #ea4335;
    --color-danger-bg: #fce8e6;
    --color-info: #1a6b8a;
    --color-info-bg: #e8f0f8;
    
    /* ========== TYPOGRAPHY ========== */
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* ========== SPACING ========== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* ========== BORDER ========== */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 9999px;
    --border-width: 1px;
    
    /* ========== SHADOWS ========== */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-xl: 0 8px 40px rgba(0,0,0,0.15);
    
    /* ========== TRANSITIONS ========== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ========== Z-INDEX ========== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;

    /* ========== BRAND (AVIATION SKY) ========== */
    /* Primary action / interactive brand color scale. brand-600 (#0284C7)
       replaces legacy hardcoded action blue across the platform. */
    --color-brand-50: #f0f9ff;
    --color-brand-100: #e0f2fe;
    --color-brand-200: #bae6fd;
    --color-brand-300: #7dd3fc;
    --color-brand-400: #38bdf8;
    --color-brand-500: #0ea5e9;
    --color-brand-600: #0284c7;
    --color-brand-700: #0369a1;
    --color-brand-800: #075985;
    --color-brand-900: #0c4a6e;

    /* ========== DEEP TEAL (DARK SURFACES) ========== */
    /* Deep-teal dark surfaces for headers / heroes / footers.
       deep-teal-900 (#072535) replaces legacy hardcoded dark navy. */
    --color-deep-teal-700: #0e3a50;
    --color-deep-teal-800: #0a2f40;
    --color-deep-teal-900: #072535;
    --color-deep-teal-950: #051a26;

    /* ========== SURFACE & BORDER ========== */
    /* Light-mode card surfaces and hairline borders (WCAG-friendly contrast
       against #ffffff for AA text). */
    --color-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-border-light: #edf2f7;

    /* ========== PAGE CANVAS & TEXT (ICAO Clean Light) ========== */
    --color-bg: #f8fafc;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --color-text-strong: #0f172a;
}