/**
 * Design System Variables
 * 
 * Tutte le variabili CSS del progetto.
 * Usa sempre queste variabili, mai valori hardcoded.
 */

:root {
  /* ========================================
     COLORS - Grey Scale
     ======================================== */
  --grey-900: #1e293b;
  --grey-800: #334155;
  --grey-700: #475569;
  --grey-600: #64708b;
  --grey-500: #94a3b8;
  --grey-400: #cbd5e1;
  --grey-300: #e1e7ef;
  --grey-200: #f1f5f9;
  --grey-100: #f8fafc;
  --grey-50: #f7f7f8;

  /* ========================================
     COLORS - Blue (Interactive)
     ======================================== */
  --blue-950: #0241a7;
  --blue-900: #0255d9;

  /* ========================================
     COLORS - Semantic
     ======================================== */
  --white: #fcfcfd;

  /* ========================================
     SPACING SYSTEM
     ======================================== */
  --spacing-xs: 4px;
  --spacing-s: 8px;
  --spacing-m: 12px;
  --spacing-l: 16px;
  --spacing-xl: 20px;
  --spacing-xxl: 24px;
  --spacing-xxxl: 40px;

  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-family-base: "Atkinson Hyperlegible Next", sans-serif;

  /* Font sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 19px;
  --font-size-xl: 24px;
  --font-size-2xl: 30px;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* Line heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* ========================================
     COMPONENT SIZES
     ======================================== */
  --input-height: 40px;
  --button-height: 40px;
  --badge-height: 28px;

  /* ========================================
     BORDERS
     ======================================== */
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-radius-none: 0;
  --border-radius-sm: 4px;

  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-modal: 2000;
  --z-toast: 3000;
  --z-tooltip: 4000;

  /* ========================================
     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);

  /* ========================================
     TRANSITIONS
     ======================================== */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}
