/* Yannm dashboard — design tokens Carbon dark
   Palette inspirée du template Carbon : fond profond, accents orange.
*/

:root {
  /* ── Surface (fonds) ─────────────────────────────────────────────── */
  --surface-0: #0a0b11;        /* fond app le plus profond */
  --surface-1: #0e0f17;        /* fond principal */
  --surface-2: #161823;        /* cards */
  --surface-3: #1f2231;        /* cards hover, inputs */
  --surface-4: #2a2e3f;        /* éléments levés */

  /* ── Bordures & overlays ─────────────────────────────────────────── */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --overlay: rgba(10, 11, 17, 0.72);

  /* ── Texte ───────────────────────────────────────────────────────── */
  --text-primary: #f3f4f8;
  --text-secondary: #a8acba;
  --text-muted: #6b6f80;
  --text-inverse: #0a0b11;

  /* ── Accents ─────────────────────────────────────────────────────── */
  --accent: #ff6b1a;            /* orange Carbon */
  --accent-hover: #ff8543;
  --accent-soft: rgba(255, 107, 26, 0.12);
  --accent-ring: rgba(255, 107, 26, 0.35);

  /* ── États ───────────────────────────────────────────────────────── */
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.12);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, 0.12);

  /* ── Typographie ─────────────────────────────────────────────────── */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, "SF Mono", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-loose: 1.75;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ── Espaces ─────────────────────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ── 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.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 0 4px var(--accent-ring);

  /* ── Layout ──────────────────────────────────────────────────────── */
  --sidebar-width: 240px;
  --topbar-height: 56px;
  --container-max: 1400px;

  /* ── Transitions ─────────────────────────────────────────────────── */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
