/* =============================================
   Extracted design tokens & utility classes
   from the original style + index-3BpEG6q6.css
============================================= */

:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-border: #e2e8f0;
  --muted: #64748b;
  --muted-foreground: #94a3b8;
  --border: #e2e8f0;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
}

[data-theme="dark"] {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #1e293b;
  --card-border: #334155;
  --muted: #475569;
  --muted-foreground: #94a3b8;
  --border: #334155;
}

/* Containers */
.container-wide {
  @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Cards */
.card {
  @apply bg-card border border-[var(--card-border)] rounded-xl shadow-sm overflow-hidden;
}

.card-hover:hover {
  @apply shadow-md transition-shadow duration-200;
}

/* Buttons */
.btn-primary {
  @apply bg-[var(--primary)] text-[var(--primary-foreground)] font-medium rounded-lg py-2.5 px-5 hover:bg-[var(--primary-dark)] transition-colors;
}

.btn-outline {
  @apply border border-[var(--border)] text-foreground hover:bg-muted/20 rounded-lg py-2.5 px-5 transition-colors;
}

.btn-destructive {
  @apply bg-[var(--destructive)] text-[var(--destructive-foreground)] rounded-lg py-2.5 px-5 hover:bg-red-700 transition-colors;
}

/* Typography */
.text-title {
  @apply text-2xl md:text-3xl font-bold tracking-tight;
}

.text-subtitle {
  @apply text-muted-foreground mt-1.5;
}

/* Grid helpers */
.grid-stats {
  @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5 md:gap-6;
}

.grid-actions {
  @apply grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4;
}