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

@layer base {
  body {
    @apply bg-warm-100 text-gray-900 antialiased;
  }
}

@layer components {
  .card {
    @apply bg-white rounded-xl border border-warm-300 shadow-sm;
  }
  .badge {
    @apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;
  }
  .btn-primary {
    @apply bg-brand-500 text-white px-4 py-2 rounded-lg font-medium hover:bg-brand-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed;
  }
  .btn-secondary {
    @apply bg-warm-200 text-gray-700 px-4 py-2 rounded-lg font-medium hover:bg-warm-300 transition-colors;
  }
  .btn-danger {
    @apply bg-red-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-red-700 transition-colors;
  }
  .input {
    @apply w-full px-3 py-2 border border-warm-400 rounded-lg bg-white focus:ring-2 focus:ring-brand-500 focus:border-brand-500 outline-none transition-colors;
  }
  .table-header {
    @apply px-4 py-3 text-left text-xs font-semibold text-gray-500 uppercase tracking-wider;
  }
  .table-cell {
    @apply px-4 py-3 text-sm text-gray-700;
  }
}
