@import "tailwindcss";

@theme {
  --color-surface: #ffffff;
  --color-surface-raised: #f9fafb;
  --color-surface-overlay: #f3f4f6;
  --color-border: #e5e7eb;
  --color-border-subtle: #f3f4f6;
  --color-text-primary: #111827;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-text-inverse: #ffffff;
  --color-accent: #4f46e5;
  --color-accent-hover: #4338ca;
  --color-accent-subtle: rgba(79, 70, 229, 0.1);
  --color-success: #059669;
  --color-success-dot: #34d399;
  --color-danger: #ef4444;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-surface: #0a0a0f;
    --color-surface-raised: #111118;
    --color-surface-overlay: #1a1a24;
    --color-border: #1e1e2a;
    --color-border-subtle: #16161f;
    --color-text-primary: #f0f0f5;
    --color-text-secondary: #8b8b9e;
    --color-text-muted: #5a5a6e;
    --color-text-inverse: #111827;
    --color-accent: #6366f1;
    --color-accent-hover: #818cf8;
    --color-accent-subtle: rgba(99, 102, 241, 0.12);
    --color-success: #059669;
    --color-success-dot: #34d399;
    --color-danger: #ef4444;
  }
}

body {
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  font-family: system-ui, -apple-system, sans-serif;
}
