/* ============================================================
   ADMIN CONSOLE — reuses venue.css layout primitives + own bits
   ============================================================ */

body { background: radial-gradient(ellipse 100% 40% at 50% 0%, rgba(31,75,67,0.10), transparent 60%), var(--black); min-height: 100vh; }

.v-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid rgba(244,232,209,0.08);
  position: sticky; top: 0; background: rgba(11,9,8,0.85); backdrop-filter: blur(16px);
  z-index: 80; flex-wrap: wrap; gap: var(--sp-3);
}
.v-header-left { display: flex; align-items: center; gap: var(--sp-3); }
.v-logo { width: 36px; height: 36px; object-fit: contain; }
.v-venue-name { font-size: 22px; }
.v-date { font-size: 12px; }
.v-header-right { display: flex; gap: 8px; flex-wrap: wrap; }

.v-main { max-width: 1280px; margin: 0 auto; padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-5); }
.v-footer { max-width: 1280px; margin: 0 auto; padding: var(--sp-5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.stat-cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--sp-3); }
@media (max-width: 860px) { .stat-cards-grid { grid-template-columns: repeat(2, 1fr); } }
.v-stat-card { padding: var(--sp-4); }
.v-stat-card .vs-label { font-size: 12px; color: var(--cream-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.v-stat-card .vs-value { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); margin-top: 6px; }
.v-stat-card .vs-sub { font-size: 12px; color: var(--cream-faint); margin-top: 4px; }

.v-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-5); align-items: start; }
.v-grid-2 > * { min-width: 0; }
@media (max-width: 980px) { .v-grid-2 { grid-template-columns: 1fr; } }

.flex-col { min-width: 0; }
.v-section { padding: var(--sp-4) var(--sp-4) var(--sp-5); min-width: 0; }
.v-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-3); flex-wrap: wrap; gap: 8px; }
.v-section-head h3 { font-size: 20px; }

/* ---------- Approval cards ---------- */
.approval-row {
  display: flex; gap: var(--sp-3); align-items: center; padding: 14px 0;
  border-bottom: 1px solid rgba(244,232,209,0.06);
  flex-wrap: wrap;
}
.approval-row:last-child { border-bottom: none; }
.approval-row .ap-img { width: 56px; height: 56px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
.approval-row .ap-body { flex: 1; min-width: 180px; }
.approval-row h4 { font-size: 16px; }
.approval-row .ap-meta { font-size: 12px; color: var(--cream-faint); margin-top: 3px; }
.approval-row .ap-actions { display: flex; gap: 8px; }
.approval-row.resolved { opacity: 0.55; }

/* ---------- Activity feed ---------- */
.activity-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(244,232,209,0.06); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex-shrink: 0; }
.activity-item .ai-text { font-size: 13.5px; line-height: 1.5; }
.activity-item .ai-time { font-size: 11px; color: var(--cream-faint); margin-top: 2px; }

/* ---------- Feature flags ---------- */
.flag-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(244,232,209,0.06); gap: var(--sp-3); }
.flag-row:last-child { border-bottom: none; }
.flag-row .fl-name { font-size: 14px; font-weight: 600; }
.flag-row .fl-desc { font-size: 12px; color: var(--cream-faint); margin-top: 2px; }

.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-track {
  position: absolute; cursor: pointer; inset: 0; border-radius: var(--r-full);
  background: rgba(244,232,209,0.12); transition: background var(--t-fast) var(--ease);
  border: 1px solid rgba(244,232,209,0.15);
}
.switch-track::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 2px; top: 2px;
  border-radius: 50%; background: var(--cream); transition: transform var(--t-fast) var(--ease);
}
.switch input:checked + .switch-track { background: var(--emerald-bright); border-color: var(--emerald-bright); }
.switch input:checked + .switch-track::before { transform: translateX(18px); background: #fff; }

/* ---------- Venue directory mini table ---------- */
.venue-mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(244,232,209,0.05); font-size: 13.5px; }
.venue-mini-row:last-child { border-bottom: none; }
.venue-mini-row .vm-img { width: 34px; height: 34px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.venue-mini-row .vm-name { flex: 1; }
