@import 'tailwindcss';

/* Define brand palette for Tailwind v4 utility tokens */
@theme {
  --color-brand-50: #fef2f2;
  --color-brand-100: #fee2e2;
  --color-brand-200: #fecaca;
  --color-brand-300: #fca5a5;
  --color-brand-400: #f87171;
  --color-brand-500: #ef4444;
  --color-brand-600: #dc2626;
  --color-brand-700: #b91c1c;
  --color-brand-800: #991b1b;
  --color-brand-900: #7f1d1d;
}

:root {
  --radius: 8px;
}

html, body, #root { height: 100%; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #ffffff;
  color: #000000;
}
.dark body { background-color: #000000; color: #ffffff; }
a { color: #dc2626; }
a:hover { color: #b91c1c; }

.focus-ring { outline: none; box-shadow: 0 0 0 2px rgba(220,38,38,1), 0 0 0 4px var(--focus-offset, #ffffff); }
.dark .focus-ring { box-shadow: 0 0 0 2px rgba(220,38,38,1), 0 0 0 4px #000000; }

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.1);
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.dark .card {
  background-color: #000000;
  border-color: rgba(255,255,255,0.2);
}