/**
 * TMngO - Variables CSS Globales
 * Version: 1.0
 * Date: 11 février 2026
 * 
 * Variables centralisées pour tout le projet
 * Fichier : 120 lignes
 */

:root {
    /* ========================================
       CODES COULEURS FONCTIONNELS
       ======================================== */
    
    /* Enregistrement - Bleu Électrique */
    --color-enr-primary: #3b82f6;
    --color-enr-secondary: #60a5fa;
    --color-enr-light: #93c5fd;
    --color-enr-dark: #2563eb;
    --color-enr-gradient: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #3b82f6 100%);
    --color-enr-gradient-reverse: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
    
    /* Historique - Vert Mint */
    --color-hist-primary: #10b981;
    --color-hist-secondary: #34d399;
    --color-hist-light: #6ee7b7;
    --color-hist-dark: #059669;
    --color-hist-gradient: linear-gradient(135deg, #6ee7b7 0%, #34d399 50%, #10b981 100%);
    --color-hist-gradient-reverse: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    
    /* Paramètres/Réglages - Orange Clair */
    --color-param-primary: #f59e0b;
    --color-param-secondary: #fbbf24;
    --color-param-light: #fcd34d;
    --color-param-dark: #d97706;
    --color-param-gradient: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #f59e0b 100%);
    --color-param-gradient-reverse: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    
    /* Métallique - Gris Moderne */
    --metal-lightest: #ffffff;
    --metal-light: #f0f4f8;
    --metal-mid: #d1d9e0;
    --metal-dark: #b8c6d4;
    --metal-darker: #8f9fb0;
    --metal-gradient: linear-gradient(145deg, #f0f4f8 0%, #d1d9e0 50%, #b8c6d4 100%);
    
    /* Couleurs Système */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Texte */
    --text-primary: #2c3e50;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: #ffffff;
    
    /* Backgrounds */
    --bg-body: linear-gradient(135deg, #84b3edff 0%, #4c7cedff 100%);
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-overlay: rgba(255, 255, 255, 0.1);
    
    /* ========================================
       DIMENSIONS RESPONSIVES
       ======================================== */
    
    /* Header Heights */
    --header-height-desktop: 70px;
    --header-height-tablet: 56px;   /* 80% de desktop */
    --header-height-mobile: 42px;   /* 60% de desktop */
    
    /* Footer Heights */
    --footer-height-desktop: 3rem;
    --footer-height-tablet: 2rem;
    --footer-height-mobile: 2rem;
    
    /* Logo Sizes */
    --logo-height-desktop: 60px;
    --logo-height-tablet: 48px;
    --logo-height-mobile: 36px;
    
    /* ========================================
       BREAKPOINTS
       ======================================== */
    
    --bp-mobile: 480px;
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
    --bp-wide: 1440px;
    
    /* ========================================
       SPACING
       ======================================== */
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* ========================================
       TYPOGRAPHY
       ======================================== */
    
    --font-family-base: -apple-system, 'Segoe UI', Roboto, Oxygen, Cantarell, sans-serif;
    --font-family-mono: 'Courier New', monospace;
    
    --font-size-xs: 0.7rem;
    --font-size-sm: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* ========================================
       TRANSITIONS
       ======================================== */
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========================================
       BORDER RADIUS
       ======================================== */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* ========================================
       SHADOWS
       ======================================== */
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    /* Shadow métallique */
    --shadow-metal: 
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    
    --shadow-metal-hover: 
        0 3px 6px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 -1px 1px rgba(0, 0, 0, 0.15);
    
    /* ========================================
       Z-INDEX LAYERS
       ======================================== */
    
    --z-dropdown: 1000;
    --z-header: 1000;
    --z-modal: 2000;
    --z-notification: 3000;
    --z-tooltip: 4000;
}
