/* static/css/dashboard.css */
/* Modern, clean styling scoped to the dashboard page */

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1f2937;

  --indigo-600: #4f46e5;
  --emerald-600: #10b981;
  --sky-600: #0ea5e9;
  --amber-600: #f59e0b;
}

.dashboard-page {
  --card-radius: 16px;
}

.dashboard-page .page-header {
  margin-bottom: 1.25rem;
}

.dashboard-page .page-header .btn {
  border-radius: 12px;
  padding: 0.6rem 1rem;
}

/* Stat cards */
.dashboard-page .stat-card {
  position: relative;
  border: 0;
  border-radius: var(--card-radius);
  background: #ffffff;
  padding: 1rem 1rem;
  min-height: 120px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-page .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

.dashboard-page .stat-card__icon {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--slate-100);
  color: var(--slate-600);
}

.dashboard-page .stat-card__title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.dashboard-page .stat-card__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
}

.dashboard-page .stat-card.is-primary .stat-card__icon {
  background: rgba(79, 70, 229, 0.1);
  color: var(--indigo-600);
}

.dashboard-page .stat-card.is-success .stat-card__icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-600);
}

.dashboard-page .stat-card.is-info .stat-card__icon {
  background: rgba(14, 165, 233, 0.12);
  color: var(--sky-600);
}

.dashboard-page .stat-card.is-warning .stat-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-600);
}

/* Generic cards within dashboard */
.dashboard-page .card {
  border: 0;
  border-radius: var(--card-radius);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.dashboard-page .card-header {
  background: linear-gradient(180deg, #ffffff, #fafafa);
  border-bottom: 1px solid var(--slate-100);
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
}

/* CTA buttons */
.dashboard-page .btn-cta {
  border-width: 2px;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s, color 0.15s, border-color 0.15s;
}

.dashboard-page .btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

/* Upload forms */
.dashboard-page form.border {
  border-radius: 12px !important;
  border-color: var(--slate-200) !important;
  background: #ffffff;
}

.dashboard-page input[type="file"] {
  display: block;
  width: 100%;
}

/* Badges */
.dashboard-page .badge {
  border-radius: 999px;
  padding: 0.45em 0.65em;
  font-weight: 600;
}

/* Danger zone tweaks */
.dashboard-page .border-danger {
  border: 1px solid rgba(220, 53, 69, 0.35) !important;
}

.dashboard-page .bg-danger {
  background: linear-gradient(180deg, #ef4444, #dc2626) !important;
} 