/* auth.css — login / signup / account / admin (light, aligné sur la DA du site vitrine) */

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body:has(.auth-shell) { background: var(--bg); }

/* ── Topbar ─────────────────────────────────────────── */
.auth-topbar {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.auth-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.auth-topbar a.auth-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-topbar-spacer { flex: 1; }
.auth-topbar a.auth-link,
.auth-topbar button.auth-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.auth-topbar a.auth-link:hover,
.auth-topbar button.auth-link:hover { color: var(--text); background: var(--bg-alt); }

/* ── Pages d'auth (login/signup) ────────────────────── */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 64px 16px;
  position: relative;
  overflow: hidden;
}
.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(109, 40, 217, 0.08), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.05), transparent 50%);
  pointer-events: none;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: 0 20px 60px -20px rgba(20, 20, 18, 0.12), 0 4px 12px rgba(20, 20, 18, 0.04);
  position: relative;
  z-index: 1;
}
.auth-card h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}
.auth-card h1 .accent {
  background: linear-gradient(135deg, var(--purple), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-card .auth-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ── Champs ─────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-light); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ── Boutons ────────────────────────────────────────── */
.auth-btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--purple);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  margin-top: 8px;
}
.auth-btn:hover { background: #5b21b6; box-shadow: 0 8px 24px rgba(109, 40, 217, 0.28); }
.auth-btn:active { transform: scale(0.98); }
.auth-btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.auth-btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.auth-btn.secondary:hover { background: var(--bg-alt); border-color: var(--purple); color: var(--purple); box-shadow: none; }

.auth-btn.danger {
  background: var(--surface);
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}
.auth-btn.danger:hover { background: #FEF2F2; box-shadow: none; }

.auth-btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.auth-btn-google:hover { background: var(--bg-alt); border-color: var(--purple); box-shadow: 0 6px 16px rgba(20, 20, 18, 0.06); transform: translateY(-1px); }
.auth-btn-google:active { transform: translateY(0); }
.auth-btn-google:disabled { opacity: 0.55; cursor: not-allowed; }
.auth-btn-google svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-divider span { white-space: nowrap; }

.auth-footer-link {
  text-align: center;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 14px;
}
.auth-footer-link a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.auth-footer-link a:hover { color: #5b21b6; text-decoration: underline; }

/* ── Alertes ────────────────────────────────────────── */
.auth-error,
.auth-success {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
  font-weight: 500;
  border: 1px solid transparent;
}
.auth-error.show,
.auth-success.show { display: block; }
.auth-error {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: #FCA5A5;
}
.auth-success {
  background: #F0FDF4;
  color: #15803D;
  border-color: #86EFAC;
}

/* ── Mode toggle (appel / message) ─────────────────── */
.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 22px;
}
.mode-btn {
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mode-btn .mode-ico { flex-shrink: 0; opacity: 0.7; transition: opacity 0.18s; }
.mode-btn.active {
  background: var(--surface);
  color: var(--purple);
  box-shadow: 0 2px 8px rgba(20, 20, 18, 0.08);
}
.mode-btn.active .mode-ico { opacity: 1; }
.mode-btn:not(.active):hover { color: var(--text); }

/* ── Date strip (sélecteur de jour) ────────────────── */
.date-strip-wrap {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.date-strip {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
@media (max-width: 640px) {
  .date-strip { grid-template-columns: repeat(4, minmax(60px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .date-strip::-webkit-scrollbar { height: 4px; }
  .date-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
}
.date-strip-arrow {
  flex-shrink: 0;
  width: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.12s;
}
.date-strip-arrow:hover:not(:disabled) {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
}
.date-strip-arrow:active:not(:disabled) { transform: scale(0.94); }
.date-strip-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.date-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.18s;
  scroll-snap-align: start;
  min-width: 0;
}
.date-pill .dp-day {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.date-pill .dp-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.date-pill .dp-month {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.date-pill:hover {
  border-color: var(--purple);
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(109, 40, 217, 0.12);
}
.date-pill:hover .dp-day,
.date-pill:hover .dp-num,
.date-pill:hover .dp-month { color: var(--purple); }
.date-pill.selected {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
}
.date-pill.selected .dp-day,
.date-pill.selected .dp-num,
.date-pill.selected .dp-month { color: #fff; }
.date-pill.selected .dp-day { color: rgba(255, 255, 255, 0.85); }
.date-pill.selected .dp-month { color: rgba(255, 255, 255, 0.7); }

/* ── Slot buttons ──────────────────────────────────── */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.slot-btn {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-body);
}
.slot-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-light);
  transform: translateY(-1px);
}
.slot-btn.selected {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.25);
}
.slot-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  color: var(--text-light);
}
.slot-btn:disabled:hover { transform: none; border-color: var(--border); background: var(--surface); color: var(--text-light); }

/* ── Dashboard ─────────────────────────────────────── */
.dashboard {
  flex: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.dashboard h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.05;
}
.dashboard h1 .accent {
  background: linear-gradient(135deg, var(--purple), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dashboard .dash-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.dash-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(20, 20, 18, 0.04);
  transition: box-shadow 0.2s;
}
.dash-card:hover { box-shadow: 0 12px 32px rgba(20, 20, 18, 0.06); }
.dash-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 6px;
}
.dash-card h2 + .dash-sub { margin-bottom: 20px; font-size: 14px; }

/* Profile rows */
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.profile-row:last-of-type { border-bottom: none; }
.profile-row .pr-label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.profile-row .pr-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* ── Liste demandes ────────────────────────────────── */
.call-list { display: flex; flex-direction: column; gap: 10px; }
.call-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.call-item:hover { border-color: var(--purple); box-shadow: 0 6px 16px rgba(109, 40, 217, 0.08); transform: translateY(-1px); }
.call-item .ci-when {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.call-item .ci-ico { color: var(--purple); flex-shrink: 0; }
.call-item .ci-topic {
  color: var(--text-muted);
  font-size: 13px;
  flex: 1;
  min-width: 120px;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  border: 1px solid;
}
.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-pending   { background: var(--gold-light); color: #B45309; border-color: #FCD34D; }
.status-confirmed { background: #DBEAFE; color: #1D4ED8; border-color: #93C5FD; }
.status-done      { background: #DCFCE7; color: #15803D; border-color: #86EFAC; }
.status-cancelled { background: #FEE2E2; color: #B91C1C; border-color: #FCA5A5; }

/* ── Admin layout & responsive ─────────────────────── */
.admin-dashboard { max-width: 1280px !important; }
.admin-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-badge {
  display: inline-block;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  background: var(--purple-light);
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .auth-link-hide-mobile { display: none !important; }
  .admin-dashboard { padding: 24px 16px 64px !important; }
  .admin-dashboard h1 { font-size: 28px !important; }
  .auth-topbar-inner { padding: 14px 16px; gap: 8px; }
  .auth-topbar a.auth-logo { font-size: 17px; }
  .stat-bar { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
  .stat-pill { padding: 16px 18px; }
  .stat-pill .sp-num { font-size: 28px; }
}

/* ── Pane toolbar ──────────────────────────────────── */
.pane-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pane-toolbar-filters {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.pane-toolbar-filters .field { flex: 1; max-width: 260px; }

/* ── Admin tabs ────────────────────────────────────── */
.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab {
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.18s, border-color 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active {
  color: var(--purple);
  border-color: var(--purple);
}

/* ── Tables responsive (cards on mobile) ───────────── */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-cards { display: none; flex-direction: column; gap: 10px; }

@media (max-width: 800px) {
  .data-table-desktop { display: none; }
  .data-cards { display: flex; }
}

.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.data-card:hover { border-color: var(--purple); box-shadow: 0 4px 12px rgba(109, 40, 217, 0.08); }
.data-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.data-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.data-card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.data-card-row .dc-label {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.data-card-row .dc-val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  min-width: 0;
}
.data-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.data-card-actions .btn-mini { margin-right: 0; }

/* ── Availability layout ───────────────────────────── */
.av-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.av-controls .av-help {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 16px;
}
.av-buttons { display: flex; flex-direction: column; gap: 8px; }
.av-buttons .btn-mini { margin-right: 0; }
.av-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

@media (max-width: 800px) {
  .av-grid { grid-template-columns: 1fr; gap: 20px; }
  .av-controls { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
}

/* ── Stats pills ───────────────────────────────────── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.stat-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(20, 20, 18, 0.06);
}
.stat-pill .sp-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-pill .sp-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

/* ── Tables admin ──────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
}
.data-table th {
  background: var(--bg-alt);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-alt); }

/* Mini buttons */
.btn-mini {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  transition: all 0.15s;
  margin-right: 4px;
}
.btn-mini:hover { background: var(--purple-light); color: var(--purple); border-color: var(--purple); }
.btn-mini.primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.btn-mini.primary:hover { background: #5b21b6; box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25); }
.btn-mini.danger { color: #B91C1C; border-color: #FCA5A5; }
.btn-mini.danger:hover { background: #FEF2F2; color: #991B1B; border-color: #F87171; }

/* ── Empty state ───────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

/* ── Spinner ───────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }
