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

/* ========================================
   FONT FACES
   ======================================== */
@font-face {
  font-family: "Scorekard";
  src: url("../Scorekard/Scorekard-Regular.woff2") format("woff2"),
    url("../Scorekard/Scorekard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Scorekard";
  src: url("../Scorekard/Scorekard-Semibold.woff2") format("woff2"),
    url("../Scorekard/Scorekard-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Scorekard";
  src: url("../Scorekard/Scorekard-Bold.woff2") format("woff2"),
    url("../Scorekard/Scorekard-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

: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; */
  --blue-950: #00c;
  --blue-900: #00f;

  /* ========================================
     COLORS - Pink (Accent)
     ======================================== */
  --pink-300: #f9a8d4;

  /* ========================================
     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-sans: "Scorekard", sans-serif;
  --font-family-serif: "Inter", sans-serif;

  /* Font sizes */
  --font-size-xs: 13px;
  --font-size-sm: 15px;
  --font-size-base: 18px;
  --font-size-lg: 21px;
  --font-size-xl: 24px;
  --font-size-2xl: 30px;

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

  /* Line heights */
  --line-height-none: 1;
  --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;
}
