/**
 * variables.css - Variables globales pour Portal SSO
 * Centralise toutes les variables CSS utilisées dans l'application
 */

 :root {
  /* ======== COULEURS ======== */
  
  /* Palette principale */
  --primary: #00628B;         /* Bleu principal */
  --primary-light: #7ABDCC;   /* Bleu clair */
  --primary-dark: #015173;    /* Bleu foncé (pour hover) */
  --primary-rgb: 0, 98, 139;  /* Format RGB pour les opacités */
  
  /* Couleurs sémantiques */
  --success: #2ECC71;         /* Vert succès */
  --success-light: #66bb6a;
  --success-dark: #388e3c;
  --success-rgb: 46, 204, 113;
  
  --warning: #F39C12;         /* Orange avertissement */
  --warning-light: #ffca28;
  --warning-dark: #ffa000;
  --warning-rgb: 243, 156, 18;
  
  --danger: #E74C3C;          /* Rouge erreur */
  --danger-light: #ef5350;
  --danger-dark: #d32f2f;
  --danger-rgb: 231, 76, 60;
  
  /* Couleurs neutres */
  --text-primary: #2C3E50;    /* Texte principal */
  --text-secondary: #7F8C8D;  /* Texte secondaire */
  --text-muted: #9e9e9e;      /* Texte atténué */
  
  /* Couleurs d'arrière-plan */
  --background: #F2F7FA;      /* Fond principal légèrement bleuté */
  --background-light: #f8f9fa;
  --card-bg: #FFFFFF;         /* Fond des cartes */
  
  /* Bordures et séparateurs */
  --border-color: #DAE6EC;    /* Couleur de bordure */
  --border-color-light: #00628B3B;    /* Couleur de bordure */
  --border-color-dark: #c1cdd3;
  
  /* États des formulaires */
  --input-bg: #ffffff;
  --input-bg-disabled: #f5f5f5;
  --input-border: var(--border-color);
  --input-border-focus: var(--primary-light);
  
  /* ======== TYPOGRAPHIE ======== */
  
  /* Famille de polices */
  --font-primary: 'Helvetica Neue', Arial, sans-serif;
  
  /* Tailles de police */
  --font-size-base: 14px;
  --font-size-sm: 12px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  
  /* Graisse de police */
  --font-weight-normal: 400;
  --font-weight-semibold: 500;
  --font-weight-bold: 600;
  
  /* Hauteur de ligne */
  --line-height-base: 1.5;
  --line-height-heading: 1.2;
  
  /* ======== ESPACEMENTS ======== */
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  
  /* ======== BORDURES ======== */
  
  --border-radius-sm: 3px;
  --border-radius-md: 5px;
  --border-radius-lg: 8px;
  
  /* ======== OMBRES ======== */
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.05);
  
  /* ======== TRANSITIONS ======== */
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* ======== POINTS DE RUPTURE ======== */
  
  --breakpoint-xs: 480px;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  
  /* ======== Z-INDEX ======== */
  
  --z-index-dropdown: 2000;
  --z-index-sticky: 2020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}