/* =====================================================
   Zyndhux Design Tokens — Core Variables
   Scope: Global
   ===================================================== */
:root {
  /* ---------------- SPACING ---------------- */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;

  /* ---------------- BORDER RADIUS ---------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* ---------------- TYPOGRAPHY ---------------- */
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ---------------- COLORS ---------------- */
  --color-bg: #0b0f14;
  --color-bg-soft: #111827;
  --color-bg-card: #0f172a;
  --color-border: #1f2937;

  --color-text-primary: #e5e7eb;
  --color-text-secondary: #9ca3af;
  --color-text-muted: #6b7280;

  /* Status colors */
  --color-operational: #22c55e;
  --color-degraded: #f59e0b;
  --color-partial: #fb923c;
  --color-major: #ef4444;
  --color-maintenance: #3b82f6;
  --color-observation: #8b5cf6;

  /* ---------------- SHADOWS / ELEVATION ---------------- */
  --elevation-1: 0 2px 6px rgba(0,0,0,0.15);
  --elevation-2: 0 4px 12px rgba(0,0,0,0.25);
  --elevation-3: 0 8px 24px rgba(0,0,0,0.35);
  --elevation-4: 0 12px 40px rgba(0,0,0,0.45);

  /* ---------------- Z-INDEX ---------------- */
  --z-dropdown: 1000;
  --z-modal: 1100;
  --z-tooltip: 1200;
  --z-toast: 1300;

  /* ---------------- TRANSITIONS ---------------- */
  --transition-fast: 120ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 360ms ease;
  --transition-xslow: 500ms ease;

  /* ---------------- OTHER TOKENS ---------------- */
  --border-color-default: var(--color-border);
  --border-color-muted: #374151;
  --border-color-active: #3b82f6;
  --opacity-disabled: 0.4;
  --opacity-hover: 0.95;
}
