/* ════════════════════════════════════════════════════
   BLOOM BLOG — Admin Dashboard Stylesheet
   ════════════════════════════════════════════════════ */

:root {
  --pink:         #D4387A;
  --pink-dark:    #A82860;
  --pink-light:   #E8799C;
  --pink-pale:    #FCE8F0;
  --pink-ghost:   #FFF5F8;
  --pink-glow:    rgba(212,56,122,0.16);

  --silver:       #C0BBCA;
  --silver-light: #E8E5EE;
  --silver-pale:  #F5F4F7;

  --ink:          #1A1424;
  --ink-muted:    #6B6478;
  --ink-faint:    #9B96A4;

  --white:        #FFFFFF;
  --surface:      #F8F7FA;

  --grad-pink:    linear-gradient(135deg, #D4387A 0%, #E8799C 100%);
  --grad-sidebar: linear-gradient(180deg, #1A1424 0%, #2D1F3D 100%);

  --sh-xs:        0 1px 3px rgba(26,20,36,0.06);
  --sh-sm:        0 2px 8px rgba(26,20,36,0.09);
  --sh-md:        0 6px 24px rgba(26,20,36,0.11);
  --sh-pink:      0 4px 20px rgba(212,56,122,0.28);

  --r-xs:         4px;
  --r-sm:         8px;
  --r-md:         12px;
  --r-lg:         18px;
  --r-pill:       9999px;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;

  --sidebar-w:    248px;
  --topbar-h:     62px;

  /* Utility aliases */
  --card-bg:      #FFFFFF;
  --border:       #E8E5EE;
  --r-xl:         24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ──────────────────────────────────────── */
.admin-wrap {
  display: block;
  min-height: 100vh;
}

.admin-main { overflow: auto; margin-left: var(--sidebar-w); min-height: 100vh; }

.topbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--sh-xs);
}

.topbar-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-site-link {
  font-size: 0.8rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--silver-light);
  transition: all 0.2s;
}
.topbar-site-link:hover { border-color: var(--pink); color: var(--pink); }

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.topbar-avatar img { width: 100%; height: 100%; object-fit: cover; }

.page-body { padding: 32px 28px; }

/* ── Sidebar ──────────────────────────────────────── */
.admin-sidebar {
  background: var(--grad-sidebar);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  overflow-y: auto;
  z-index: 30;
}

.sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-subtitle {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.sidebar-nav { flex: 1; padding: 20px 12px; }

.nav-group { margin-bottom: 28px; }

.nav-group-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 0 10px;
  margin-bottom: 8px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: background 0.2s, color 0.2s;
  margin-bottom: 2px;
}

.admin-nav-link .nav-icon {
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.admin-nav-link:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); }

.admin-nav-link.active {
  background: rgba(212, 56, 122, 0.25);
  color: var(--pink-light);
}

.admin-nav-link.active .nav-icon { color: var(--pink-light); }

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.sidebar-footer a:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7); }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--silver-light);
  box-shadow: var(--sh-xs);
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
}

.card-body { padding: 24px; }

/* ── Stats Grid ───────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--silver-light);
  box-shadow: var(--sh-xs);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--pink);
  flex-shrink: 0;
}

.stat-icon.blue   { background: #EEF2FF; color: #4F46E5; }
.stat-icon.green  { background: #EDFAF4; color: #0F7945; }
.stat-icon.orange { background: #FEF3E7; color: #D97706; }

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label { font-size: 0.78rem; color: var(--ink-faint); }

/* ── Dashboard Grid ──────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}

/* ── Table ───────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--silver-light);
  background: var(--surface);
}

.data-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.data-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }

.data-table td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--silver-light);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--pink-ghost); }

.data-table td strong { color: var(--ink); font-weight: 600; }

.table-thumbnail {
  width: 46px;
  height: 36px;
  border-radius: var(--r-xs);
  object-fit: cover;
  background: var(--silver-pale);
}

.table-actions { display: flex; align-items: center; gap: 8px; }

/* ── Badges / Status ─────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-published { background: #EDFAF4; color: #0F7945; }
.badge-draft     { background: var(--silver-pale); color: var(--ink-faint); }
.badge-scheduled { background: #FEF3E7; color: #D97706; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--r-md);
  padding: 9px 18px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-pink);
  color: white;
  box-shadow: var(--sh-pink);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  background: var(--white);
  color: var(--ink-muted);
  border: 1.5px solid var(--silver-light);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink); }

.btn-danger {
  background: #FEE8E8;
  color: #B91C1C;
  border: 1px solid #F5AFAF;
}
.btn-danger:hover { background: #B91C1C; color: white; }

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0;
}

.btn-icon.edit   { background: #EEF2FF; color: #4F46E5; }
.btn-icon.edit:hover { background: #4F46E5; color: white; }

.btn-icon.delete { background: #FEE8E8; color: #B91C1C; }
.btn-icon.delete:hover { background: #B91C1C; color: white; }

.btn-icon.view   { background: var(--pink-pale); color: var(--pink); }
.btn-icon.view:hover { background: var(--pink); color: white; }

/* ── Forms ───────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-label .required { color: var(--pink); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-glow);
}

.form-control::placeholder { color: var(--ink-faint); }
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 100px; resize: vertical; }

.form-help { font-size: 0.75rem; color: var(--ink-faint); margin-top: 5px; }

/* ── Rich Text Editor ────────────────────────────── */
.ql-toolbar.ql-snow {
  border: 1.5px solid var(--silver-light) !important;
  border-bottom: none !important;
  border-radius: var(--r-md) var(--r-md) 0 0 !important;
  background: var(--surface) !important;
}

.ql-container.ql-snow {
  border: 1.5px solid var(--silver-light) !important;
  border-radius: 0 0 var(--r-md) var(--r-md) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.95rem !important;
}

.ql-editor {
  min-height: 400px !important;
  line-height: 1.75 !important;
}

.ql-editor:focus { outline: none !important; }

.ql-container.ql-snow:focus-within {
  border-color: var(--pink) !important;
  box-shadow: 0 0 0 3px var(--pink-glow) !important;
}

/* ── Sidebar Panels (post form) ──────────────────── */
.side-panel {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--silver-light);
  margin-bottom: 20px;
  overflow: hidden;
}

.side-panel-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--silver-light);
  background: var(--surface);
}

.side-panel-body { padding: 16px 18px; }

.publish-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Featured Image ──────────────────────────────── */
.image-preview {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-md);
  border: 2px dashed var(--silver-light);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 10px;
}

.image-preview:hover { border-color: var(--pink); }

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.image-preview-placeholder svg { font-size: 1.8rem; }

/* ── Tags Input ──────────────────────────────────── */
.tags-input-wrap {
  min-height: 42px;
  padding: 6px 10px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-md);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  cursor: text;
  transition: border-color 0.2s;
}
.tags-input-wrap:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-glow); }

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 10px;
  background: var(--pink-pale);
  color: var(--pink);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-chip button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink-light);
  color: white;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tags-input {
  border: none;
  outline: none;
  font: inherit;
  font-size: 0.85rem;
  min-width: 80px;
  flex: 1;
  background: transparent;
  color: var(--ink);
}

/* ── Categories checkboxes ────────────────────────── */
.checkbox-list { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto; }
.checkbox-item { display: flex; align-items: center; gap: 8px; }
.checkbox-item input[type="checkbox"] { accent-color: var(--pink); width: 14px; height: 14px; }
.checkbox-item label { font-size: 0.85rem; color: var(--ink-muted); cursor: pointer; }

/* ── Media Library ────────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.media-item {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--silver-light);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
}
.media-item:hover { border-color: var(--pink); transform: scale(1.02); }
.media-item.selected { border-color: var(--pink); }
.media-item.selected::after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.media-item-label {
  padding: 8px;
  background: var(--white);
  font-size: 0.7rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Upload Zone ──────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--silver-light);
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--pink);
  background: var(--pink-ghost);
}
.upload-icon { font-size: 2.5rem; color: var(--pink-light); margin-bottom: 12px; }
.upload-zone p { font-size: 0.9rem; color: var(--ink-muted); }
.upload-zone strong { color: var(--pink); }

/* ── Alerts ──────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  margin-bottom: 20px;
}
.alert-success { background: #EDFAF4; color: #0F7945; border: 1px solid #A8D5B5; }
.alert-error   { background: #FEE8E8; color: #B91C1C; border: 1px solid #F5AFAF; }
.alert-info    { background: var(--pink-ghost); color: var(--pink-dark); border: 1px solid var(--pink-pale); }

/* ── Login Page ──────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-sidebar);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,56,122,0.2) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 48px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
}

.login-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 6px;
}

.login-subtitle { text-align: center; font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 36px; }

.login-card .form-group { margin-bottom: 18px; }
.login-card .btn-primary { width: 100%; justify-content: center; padding: 13px; }

/* ── Search & Filters ────────────────────────────── */
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search-input-wrap input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.search-input-wrap input:focus { border-color: var(--pink); }
.search-input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); font-size: 0.9rem; }

.filter-select {
  padding: 9px 14px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink-muted);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--pink); }

/* ── Pagination ──────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 16px 24px;
  border-top: 1px solid var(--silver-light);
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 500;
}
.pagination a { color: var(--ink-muted); border: 1.5px solid var(--silver-light); }
.pagination a:hover { border-color: var(--pink); color: var(--pink); }
.pagination .current { background: var(--grad-pink); color: white; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; width: 248px; }
  .admin-sidebar.open { transform: translateX(0); }
  .form-grid { grid-template-columns: 1fr; }
  .page-body { padding: 20px 16px; }
}

/* ═══════════════════════════════════════════
   BLOOM BLOG — Extended Admin Styles
   (appended for new admin pages)
   ═══════════════════════════════════════════ */

/* ── Content wrapper ─────────────────────────────── */
.admin-content {
  padding: 28px;
}

/* ── Page header row ─────────────────────────────── */
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-page-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 2px;
}
.admin-page-subtitle {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ── Admin card (unified panel) ──────────────────── */
.admin-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--silver-light);
  box-shadow: var(--sh-xs);
  margin-bottom: 20px;
  overflow: hidden;
}

.card-header {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding: 14px 20px;
  border-bottom: 1px solid var(--silver-light);
  background: var(--surface);
}

/* ── Admin table (alias for data-table) ──────────── */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--silver-light);
  background: var(--surface);
  white-space: nowrap;
}
.admin-table td {
  padding: 13px 16px;
  font-size: 0.875rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--silver-light);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--pink-ghost); }

.table-responsive { overflow-x: auto; }

/* ── Ghost button ────────────────────────────────── */
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--silver-light);
}
.btn-ghost:hover { border-color: var(--ink-muted); color: var(--ink); }

/* ── Extra badge colours ─────────────────────────── */
.badge-success   { background: #EDFAF4; color: #0F7945; }
.badge-warning   { background: #FEF3E7; color: #D97706; }
.badge-info      { background: #EEF2FF; color: #4F46E5; }
.badge-secondary { background: var(--silver-pale); color: var(--ink-faint); }

/* ── Empty state ─────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--ink-muted);
}
.empty-state-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--pink-light);
}
.empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

/* ── Responsive admin content ────────────────────── */
@media (max-width: 768px) {
  .admin-content { padding: 16px; }
  .admin-page-header { flex-direction: column; }
}
