@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --bg-primary: #0f1729;
  --bg-secondary: #1a2332;
  --bg-tertiary: #1e293b;
  --bg-hover: #2d3748;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-green: #22c55e;
  --accent-yellow: #eab308;
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --accent-purple: #a855f7;
  --border: #334155;
  --border-glow: rgba(34, 211, 238, 0.2);
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Glass card */
.card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.card-glow {
  border-color: var(--border-glow);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

/* Status badges */
.badge { @apply px-2.5 py-0.5 rounded-full text-xs font-medium border; }
.badge-active { @apply bg-green-500/20 text-green-400 border-green-500/30; }
.badge-pending { @apply bg-yellow-500/20 text-yellow-400 border-yellow-500/30; }
.badge-closed { @apply bg-gray-500/20 text-gray-400 border-gray-500/30; }
.badge-hot { @apply bg-red-500/20 text-red-400 border-red-500/30; }
.badge-warm { @apply bg-orange-500/20 text-orange-400 border-orange-500/30; }
.badge-cold { @apply bg-slate-500/20 text-slate-400 border-slate-500/30; }
.badge-new { @apply bg-blue-500/20 text-blue-400 border-blue-500/30; }

/* Tabular numbers */
.num { font-variant-numeric: tabular-nums; }
