/* css/variables.css */

:root {
  /* --- Colors (Dark Mode Default) --- */
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface-hover: #242736;
  --border: #374151;
  --text: #e4e4e7;
  --text-dim: #9ca3af;

  /* Accent Colors */
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.1);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  --blue: #3b82f6;
  --blue-bg: rgba(59, 130, 246, 0.1);
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --accent-rgb: 20, 184, 166;

  /* Warning Colors */
  --yellow: #f59e0b;
  --yellow-bg: rgba(245, 158, 11, 0.1);

  /* Shadows */
  --shadow: rgba(0, 0, 0, 0.3);

  /* Typography & Spacing */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
}

/* --- Light Theme Overrides --- */
[data-theme="light"] {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #cbd5e1;
  --text: #1e293b;
  --text-dim: #475569;

  --green: #16a34a;
  --green-bg: rgba(22, 163, 74, 0.1);
  --red: #dc2626;
  --red-bg: rgba(220, 38, 38, 0.1);
  --blue: #2563eb;
  --blue-bg: rgba(37, 99, 235, 0.1);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-rgb: 15, 118, 110;

  /* Warning Colors */
  --yellow: #d97706;
  --yellow-bg: rgba(217, 119, 6, 0.1);

  --shadow: rgba(0, 0, 0, 0.05);
}

[data-accent="teal"] {
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --accent-rgb: 20, 184, 166;
}

[data-accent="blue"] {
  --accent: #3b82f6;
  --accent-strong: #1d4ed8;
  --accent-rgb: 59, 130, 246;
}

[data-accent="green"] {
  --accent: #22c55e;
  --accent-strong: #15803d;
  --accent-rgb: 34, 197, 94;
}

[data-accent="amber"] {
  --accent: #f59e0b;
  --accent-strong: #b45309;
  --accent-rgb: 245, 158, 11;
}

[data-accent="rose"] {
  --accent: #f43f5e;
  --accent-strong: #be123c;
  --accent-rgb: 244, 63, 94;
}

[data-accent="indigo"] {
  --accent: #6366f1;
  --accent-strong: #4338ca;
  --accent-rgb: 99, 102, 241;
}

[data-accent="slate"] {
  --accent: #64748b;
  --accent-strong: #334155;
  --accent-rgb: 100, 116, 139;
}

[data-accent="orange"] {
  --accent: #f97316;
  --accent-strong: #c2410c;
  --accent-rgb: 249, 115, 22;
}

[data-accent="cyan"] {
  --accent: #06b6d4;
  --accent-strong: #0e7490;
  --accent-rgb: 6, 182, 212;
}

[data-accent="sky"] {
  --accent: #0ea5e9;
  --accent-strong: #0369a1;
  --accent-rgb: 14, 165, 233;
}

[data-accent="lime"] {
  --accent: #84cc16;
  --accent-strong: #4d7c0f;
  --accent-rgb: 132, 204, 22;
}

[data-accent="emerald"] {
  --accent: #10b981;
  --accent-strong: #047857;
  --accent-rgb: 16, 185, 129;
}

[data-accent="red"] {
  --accent: #ef4444;
  --accent-strong: #b91c1c;
  --accent-rgb: 239, 68, 68;
}

[data-accent="pink"] {
  --accent: #ec4899;
  --accent-strong: #be185d;
  --accent-rgb: 236, 72, 153;
}

[data-accent="zinc"] {
  --accent: #71717a;
  --accent-strong: #3f3f46;
  --accent-rgb: 113, 113, 122;
}
