/*
  TicketMe Design System
  A cohesive set of design tokens (colors, spacing, typography, shadows)
  used consistently across the entire application. Defining these centrally
  is what makes a UI feel "designed" rather than assembled ad-hoc.
*/

:root {
  /* ---- Color Palette ---- */
  /* A deep indigo/violet primary conveys trust + modernity (similar family
     to Stripe/Linear), paired with a warm accent for CTAs and highlights. */
  --color-bg: #0b0c14;
  --color-bg-elevated: #12131f;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.07);
  --color-border: rgba(255, 255, 255, 0.08);

  --color-text-primary: #f4f4f7;
  --color-text-secondary: #a3a3b3;
  --color-text-muted: #6b6b7d;

  --color-primary: #6366f1;
  --color-primary-hover: #818cf8;
  --color-primary-soft: rgba(99, 102, 241, 0.15);

  --color-accent: #f59e0b;

  --color-success: #10b981;
  --color-success-soft: rgba(16, 185, 129, 0.15);
  --color-danger: #ef4444;
  --color-danger-soft: rgba(239, 68, 68, 0.15);
  --color-warning: #f59e0b;

  /* ---- Typography ---- */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;

  /* ---- Spacing scale (based on 4px unit) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ---- Radii ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* ---- Shadows (soft, layered for depth without harshness) ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.3), 0 8px 24px rgba(99, 102, 241, 0.2);

  /* ---- Motion ---- */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
