/* Spendless Design System - CSS Variables */

:root {
  /* Colors - Primary */
  --color-primary: #8B5FBF;
  --color-primary-hover: #7c3aed;
  --color-primary-light: #c084fc;
  --color-primary-dark: #6d42a1;

  /* Colors - Text */
  --color-text-primary: #18181b;
  --color-text-secondary: #71717a;
  --color-text-tertiary: #a1a1aa;
  --color-text-inverse: #ffffff;

  /* Colors - Status */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;

  /* Colors - Background */
  --color-bg-page: #fafafa;
  --color-bg-surface: #ffffff;
  --color-bg-dark: #18181b;
  --color-bg-purple-light: #f5f3ff;

  /* Colors - Borders */
  --color-border-light: #e4e4e7;
  --color-border-medium: #d4d4d8;

  /* Typography - Font Family */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, 'Helvetica Neue', Arial, sans-serif;

  /* Typography - Font Sizes */
  --font-size-h1: 48px;
  --font-size-h1-mobile: 32px;
  --font-size-h2: 36px;
  --font-size-h2-mobile: 28px;
  --font-size-h3: 24px;
  --font-size-h3-mobile: 20px;
  --font-size-h4: 20px;
  --font-size-body: 16px;
  --font-size-body-large: 18px;
  --font-size-body-small: 14px;

  /* Typography - Font Weights */
  --font-weight-black: 900;
  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  /* Typography - Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;

  /* Spacing Scale (8px base) */
  --space-0: 0;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 56px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-14: 112px;
  --space-16: 128px;
  --space-20: 160px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Shadow - Purple accent for hover effects */
  --shadow-purple: 0 10px 25px -5px rgba(139, 95, 191, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 350ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;

  /* Container Max Width */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);

  /* Breakpoints (for reference in JS) */
  --breakpoint-mobile: 767px;
  --breakpoint-tablet: 1023px;
  --breakpoint-desktop: 1024px;
}

/* Dark mode variables (optional for future) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-bg-page: #18181b;
    --color-bg-surface: #27272a;
  }
}
