/* ============================================================
   Admin Panel Styles — Abu Zar Venture
   ============================================================ */

/* ── Variables (reuse brand palette) ─────────────────────── */
:root {
  --bg:         #F5F3EE;
  --white:      #FFFFFF;
  --text:       #1A1818;
  --text-mid:   #5A5955;
  --text-light: #8A8A85;
  --accent:     #3A5F50;
  --accent-d:   #2A4A3C;
  --accent-pale:#EAF0ED;
  --warm:       #C28A48;
  --border:     #E0DFDB;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --radius:     4px;
  --radius-lg:  8px;
  --sidebar-w:  240px;
  --transition: 0.25s ease;
  --danger:     #DC2626;
  --success:    #16A34A;
  --warning:    #D97706;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Login page ──────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  background-image: radial-gradient(ellipse at 30% 50%, rgba(29,53,104,0.3) 0%, transparent 60%);
  padding: 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.login-logo img { height: 52px; width: auto; }
.login-logo h1 { font-size: 1.2rem; color: var(--text); }
.login-logo p  { font-size: 0.8rem; color: var(--text-light); }
.login-form    { display: flex; flex-direction: column; gap: 20px; }

/* ── Admin layout ────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  background: #111111;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sidebar-logo img  { height: 32px; width: auto; }
.sidebar-logo span { font-size: 0.9rem; font-weight: 700; color: #fff; }
.sidebar-nav       { padding: 16px 0; flex: 1; }
.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 8px 20px 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  border-left: 2px solid transparent;
  cursor: pointer;
}
.sidebar-link:hover    { color: #fff; background: rgba(255,255,255,0.05); }
.sidebar-link.active   { color: #fff; background: rgba(58,95,80,0.3); border-left-color: var(--accent); }
.sidebar-link i        { width: 16px; text-align: center; font-size: 0.9rem; }
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-ext-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  padding: 6px 0;
  transition: color var(--transition);
}
.sidebar-ext-link:hover { color: rgba(255,255,255,0.8); }
.sidebar-ext-link i { width: 14px; text-align: center; font-size: 0.8rem; }

/* Main content */
.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h2 { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.admin-topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-badge {
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 40px;
}
.admin-content { padding: 32px; flex: 1; }

/* ── Cards ───────────────────────────────────────────────── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-card-icon.green { background: var(--accent-pale); color: var(--accent); }
.stat-card-icon.warm  { background: #FEF3C7; color: var(--warning); }
.stat-card-icon.blue  { background: #EFF6FF; color: #2563EB; }
.stat-card-num  { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-card-label{ font-size: 0.8rem; color: var(--text-light); font-weight: 500; margin-top: 4px; }

.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}
.admin-card-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-card-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.admin-card-body { padding: 24px; }

/* ── Table ───────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 11px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFAF7; }
.table-cover {
  width: 56px; height: 40px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg);
}
.table-cover-placeholder {
  width: 56px; height: 40px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 1rem;
}
.table-actions { display: flex; gap: 8px; }
.table-title { font-weight: 600; color: var(--text); font-size: 0.9rem; }

/* ── Badge / pill ────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-green  { background: #DCFCE7; color: #166534; }
.badge-gray   { background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.badge-warm   { background: #FEF3C7; color: #92400E; }
.badge-blue   { background: #EFF6FF; color: #1D4ED8; }

/* ── Star rating ─────────────────────────────────────────── */
.star-rating { color: #F59E0B; font-size: 0.8rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-danger   { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #B91C1C; border-color: #B91C1C; }
.btn-sm { padding: 7px 14px; font-size: 0.78rem; }
.btn-icon-only { padding: 7px 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Forms ───────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,95,80,0.1);
}
.form-hint { font-size: 0.75rem; color: var(--text-light); }

.site-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.site-controls-panel {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.site-controls-panel details {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.site-controls-panel details + details {
  margin-top: 8px;
}

.site-controls-panel summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.site-controls-panel summary::-webkit-details-marker {
  display: none;
}

.site-controls-panel details .form-grid,
.site-controls-panel details .site-toggle-list {
  margin-top: 10px;
}

.site-controls-panel h4 {
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.site-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-controls-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.site-controls-actions .badge {
  margin-right: auto;
}

/* Toggle / checkbox */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.toggle-wrap input[type=checkbox] { display: none; }
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 12px;
  position: relative;
  transition: background var(--transition);
  flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle-wrap input:checked + .toggle-switch { background: var(--accent); }
.toggle-wrap input:checked + .toggle-switch::after { transform: translateX(20px); }
.toggle-label { font-size: 0.85rem; font-weight: 500; color: var(--text-mid); }

/* Image upload area */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-pale);
}
.upload-zone i  { font-size: 2rem; color: var(--text-light); margin-bottom: 10px; }
.upload-zone p  { font-size: 0.85rem; color: var(--text-mid); }
.upload-zone small { font-size: 0.75rem; color: var(--text-light); display: block; margin-top: 4px; }
#imageFileInput { display: none; }

/* Image preview grid */
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}
.image-preview-item img { width:100%; height:100%; object-fit:cover; }
.image-preview-item .remove-img {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.image-preview-item .set-cover-btn {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(58,95,80,0.85);
  color: #fff;
  border: none;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px;
  cursor: pointer;
  text-align: center;
}
.image-preview-item:hover .set-cover-btn { display: block; }
.image-preview-item.is-cover { border-color: var(--accent); border-width: 2px; }
.image-preview-item.is-cover::before {
  content: 'Cover';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Media library */
.media-library-toolbar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.media-library-toolbar strong {
  font-size: 0.85rem;
  color: var(--text);
}
.media-library-toolbar input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
}
.media-library-wrap {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 10px;
}
.media-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.media-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.media-item.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(58,95,80,0.12);
}
.media-item img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  background: var(--bg);
}
.media-item-actions {
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.media-item-actions .btn {
  width: 100%;
}
.media-empty {
  text-align: center;
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 16px;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  margin: auto;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 1rem; font-weight: 700; }
.modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: var(--text-light);
  transition: color var(--transition);
  padding: 4px;
}
.modal-close:hover { color: var(--text); }
.modal-body   { padding: 28px 24px; }

/* ── Rich Text Editor ─────────────────────────────────────── */
.rt-editor {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}
.rt-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--border);
  background: #faf9f6;
}
.rt-select {
  height: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  padding: 0 8px;
  color: var(--text);
  font-size: 0.8rem;
}
.rt-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.rt-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
}
.rt-content {
  min-height: 170px;
  max-height: 320px;
  overflow-y: auto;
  padding: 14px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
}
.rt-content:focus { outline: none; }
.rt-content:empty::before {
  content: attr(data-placeholder);
  color: var(--text-light);
}
.rt-content h2 {
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 8px;
}
.rt-content h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  margin: 0 0 8px;
}
.rt-content p { margin: 0 0 10px; }
.rt-content ul,
.rt-content ol {
  margin: 0 0 10px 22px;
}
.rt-content a {
  color: #0f5dbf;
  text-decoration: underline;
}
.rt-size-sm { font-size: 0.86rem; }
.rt-size-md { font-size: 1rem; }
.rt-size-lg { font-size: 1.15rem; }

/* ── Banner Upload ────────────────────────────────────────── */
.banner-upload-area {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px dashed var(--border);
  background: var(--bg);
  transition: border-color var(--transition);
}
.banner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 120px;
  cursor: pointer;
  padding: 20px;
  transition: background var(--transition);
}
.banner-placeholder:hover {
  background: var(--accent-pale);
  border-color: var(--accent);
}
.banner-placeholder i { font-size: 2rem; color: var(--text-light); }
.banner-placeholder p { font-size: 0.85rem; color: var(--text-mid); margin: 0; }
.banner-placeholder small { font-size: 0.75rem; color: var(--text-light); }

.banner-preview-wrap {
  display: none;
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.banner-preview-wrap.dragging { cursor: grabbing; }
.banner-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  pointer-events: none;
  display: block;
}
.banner-drag-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.banner-preview-wrap.dragging .banner-drag-hint { opacity: 0; }
.banner-actions {
  display: none;
  gap: 8px;
  margin-top: 8px;
}

/* ── Client Photo Preview ───────────────────────────────── */
.client-photo-preview {
  width: 100%;
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg);
}
.client-photo-preview:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}
.client-photo-preview i {
  font-size: 2.5rem;
  color: var(--text-light);
}
.client-photo-preview p {
  font-size: 0.85rem;
  color: var(--text-mid);
  text-align: center;
}
.client-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── Toast ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  min-width: 260px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.toast.success { background: #DCFCE7; color: #166534; }
.toast.error   { background: #FEE2E2; color: #991B1B; }
.toast.info    { background: #EFF6FF; color: #1D4ED8; }
.toast i       { font-size: 1rem; flex-shrink: 0; }
.toast-text    { flex: 1; }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-light);
}
.empty-state i { font-size: 3rem; display: block; margin-bottom: 16px; }
.empty-state h4 { color: var(--text-mid); margin-bottom: 8px; font-size: 1rem; }
.empty-state p  { font-size: 0.88rem; margin-bottom: 20px; }

/* ── Loading ─────────────────────────────────────────────── */
.table-loading {
  text-align: center;
  padding: 48px;
  color: var(--text-light);
}
.table-loading .loading-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .site-controls-grid { grid-template-columns: 1fr; }
  .data-table .hide-mobile { display: none; }
}
@media (max-width: 640px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-100%); width: 240px; transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); --sidebar-w: 240px; }
  .admin-main { margin-left: 0; }
  .admin-content { padding: 20px 16px; }
  .stat-cards { grid-template-columns: 1fr; }
  .admin-topbar { padding: 0 16px; }
}
