:root {
  /* Dynamic Tokens (Light Mode) */
  --canvas: #ffffff;
  --surface: #f3f4f6;
  --primary-text: #111827;
  --secondary-text: #4b5563;
  --accent: #6d28d9;
  --on-accent: #ffffff;
  --focus: #4f46e5;
  --success: #059669;
  --warning: #b45309;
  --error: #dc2626;
  --info: #0284c7;
  --border: #e5e7eb;
  --info-bg: #dbeafe;
  --success-bg: #dcfce7;
  --warning-bg: #fef3c7;
  --error-bg: #fee2e2;


  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.15);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --border-width: 1px;
}

[data-theme="dark"] {
  /* Dynamic Tokens (Dark Mode) */
  --canvas: #111827;
  --surface: #1f2937;
  --primary-text: #f9fafb;
  --secondary-text: #9ca3af;
  --accent: #a78bfa;
  --on-accent: #111827;
  --focus: #818cf8;
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --info: #38bdf8;
  --border: #374151;
  --info-bg: #1e3a5f;
  --success-bg: #14532d;
  --warning-bg: #78350f;
  --error-bg: #7f1d1d;

}
