/* === Design System Variables === */
:root {
  /* Colors - Dark Mode */
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1e293b;
  --bg-card-hover: #253349;
  --bg-input: #0f172a;
  --bg-header: rgba(10, 14, 26, 0.85);
  --bg-bottom-nav: rgba(17, 24, 39, 0.92);

  /* Brand */
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.3);
  --primary-dark: #2563eb;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.2);

  /* Semantic */
  --income: #10b981;
  --income-bg: rgba(16, 185, 129, 0.12);
  --expense: #f43f5e;
  --expense-bg: rgba(244, 63, 94, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders */
  --border: #1e293b;
  --border-light: #334155;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-card: linear-gradient(145deg, #1e293b 0%, #111827 100%);
  --gradient-income: linear-gradient(135deg, #10b981, #059669);
  --gradient-expense: linear-gradient(135deg, #f43f5e, #e11d48);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--primary-glow);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

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

  /* Typography */
  --font-primary: 'Inter', 'Pretendard', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 56px;
  --bottom-nav-height: 64px;
  --max-width: 480px;
}

[data-theme="light"] {
  --bg-primary: #f4f6f9;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-input: #f8fafc;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f4f6f9 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --primary-glow: rgba(59, 130, 246, 0.1);
  --bg-header: rgba(244, 246, 249, 0.85);
  --bg-bottom-nav: rgba(255, 255, 255, 0.92);
}
