.admin-body {
  background: #f0ede8;
  display: flex;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 220px;
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand-mark-sm {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 6px 10px;
  border-radius: 6px;
}
.sidebar-title { font-size: 13px; font-weight: 500; color: #fff; }
.sidebar-sub { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.nav-section-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  padding: 14px 20px 6px;
  text-transform: uppercase;
}
.sidebar-item {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.15s;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.sidebar-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
.sidebar-item.active { color: var(--gold); border-left-color: var(--gold); background: rgba(200,169,110,0.06); }
.sidebar-footer { padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.06); }

/* ── MAIN ── */
.admin-main {
  margin-left: 220px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
}
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-date { font-size: 12px; color: var(--muted); }
.admin-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── TABS ── */
.tab-content { display: none; padding: 24px 28px; }
.tab-content.active { display: block; }

/* ── STAT GRID ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
}
.stat-icon { font-size: 28px; }
.stat-value { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.stat-badge { margin-left: auto; font-size: 11px; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
.stat-badge.up { background: #e8f5e9; color: #2e7d32; }
.stat-badge.down { background: #ffebee; color: #c62828; }

/* ── DASHBOARD GRID ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── ADMIN CARD ── */
.admin-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--border);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; }
.card-btn {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-light);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

/* ── TABLES ── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.admin-table td { padding: 10px 10px; border-bottom: 1px solid var(--border); color: var(--ink); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf9f6; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.badge.confirmed { background: #e8f5e9; color: #2e7d32; }
.badge.pending { background: #fff8e1; color: #f57f17; }
.badge.cancelled { background: #ffebee; color: #c62828; }
.badge.gold { background: linear-gradient(135deg, #fdf3d0, #f5d77a); color: #7a5000; }

/* ── ACTION BUTTONS ── */
.action-btns { display: flex; gap: 6px; }
.action-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.action-btn:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.action-btn.danger:hover { background: #ffebee; border-color: #ffcdd2; }

/* ── MENU RANKINGS ── */
.menu-rank-list { display: flex; flex-direction: column; gap: 14px; }
.menu-rank-item { display: flex; align-items: center; gap: 10px; }
.rank-num { font-size: 11px; color: var(--muted); width: 16px; text-align: right; }
.rank-emoji { font-size: 24px; }
.rank-info { flex: 0 0 130px; }
.rank-name { font-size: 13px; font-weight: 500; }
.rank-count { font-size: 11px; color: var(--muted); }
.rank-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.rank-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #a07840); border-radius: 2px; }

/* ── REVIEWS ── */
.review-list { display: flex; flex-direction: column; gap: 0; }
.review-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.reviewer { font-size: 13px; font-weight: 500; }
.review-stars-sm { font-size: 12px; }
.review-text { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.review-date { font-size: 11px; color: rgba(138,130,120,0.6); }

/* ── FILTERS ── */
.filter-select, .filter-input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--ink);
  background: var(--card-bg);
  outline: none;
}
.filter-input { width: 200px; }

.cta-btn-sm {
  padding: 8px 16px;
  background: var(--ink); color: var(--gold);
  border: none; border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.2s;
}
.cta-btn-sm:hover { background: var(--gold); color: var(--ink); }

/* ── NOTIFICATIONS ── */
.notif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.notif-form { display: flex; flex-direction: column; gap: 14px; }
.channel-opts { display: flex; gap: 10px; }
.channel-opt {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px; font-size: 12px;
  cursor: pointer; transition: all 0.15s;
  background: var(--card-bg);
}
.channel-opt.selected { border-color: var(--gold); background: #fdf8f0; }
.channel-opt input { display: none; }

.notif-history { display: flex; flex-direction: column; gap: 0; }
.notif-hist-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.notif-hist-item:last-child { border-bottom: none; }
.nh-icon { font-size: 22px; }
.nh-info { flex: 1; }
.nh-title { font-size: 13px; font-weight: 500; }
.nh-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.nh-stat { font-size: 11px; color: #2e7d32; font-weight: 500; white-space: nowrap; }

/* ── TOGGLE SM ── */
.toggle-sm {
  width: 36px; height: 20px;
  background: #ddd; border-radius: 10px;
  position: relative; cursor: pointer; transition: background 0.2s;
}
.toggle-sm.on { background: var(--gold); }
.toggle-sm::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.toggle-sm.on::after { transform: translateX(16px); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--ink);
  color: var(--gold);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─── TODAY'S PICKS EDITOR ─── */
.pick-editor {
  background: var(--bone);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.pe-top { display: flex; gap: 12px; align-items: flex-start; }
.pe-emoji { font-size: 32px; width: 44px; text-align: center; flex-shrink: 0; padding-top: 4px; }
.pe-main { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pe-field-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.pe-input, .pe-select {
  width: 100%; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: var(--ink); background: #fff; outline: none;
}
.pe-input:focus, .pe-select:focus { border-color: var(--gold); }
.pe-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pe-price-display { font-size: 15px; font-weight: 500; padding: 8px 0; color: var(--muted); text-decoration: line-through; }
.pe-price-input-wrap {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--gold); border-radius: 8px;
  padding: 0 10px; background: #fdf8f0;
}
.pe-dollar { font-size: 14px; color: var(--gold); font-weight: 600; }
.pe-price-input {
  border: none; outline: none; background: transparent;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--ink); width: 100%; padding: 8px 0;
}
.pe-del {
  background: none; border: none; color: var(--muted);
  font-size: 16px; cursor: pointer; padding: 4px;
  flex-shrink: 0; transition: color 0.15s;
}
.pe-del:hover { color: var(--red); }

/* ─── EMPTY STATE ─── */
.empty-state {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 32px;
  font-style: italic;
}

/* ─── MENU MANAGER ─── */
.cat-filter-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--card-bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  color: var(--muted);
}
.cat-filter-btn:hover { background: #f0ede8; color: var(--ink); }
.cat-filter-btn.active { background: var(--ink); color: var(--gold); border-color: var(--ink); }
