/* ============================================================
   Admin Panel Styles — Monika Shukla
   ============================================================ */

:root {
  --admin-sidebar-w: 240px;
  --admin-bg: #f5f5f3;
  --admin-card: #ffffff;
  --admin-border: #e8e8e4;
  --admin-text: #1a1a18;
  --admin-muted: #6b6b66;
  --gold: #C9A96E;
  --gold-dark: #A88450;
  --charcoal: #1A1A18;
  --danger: #c0392b;
  --success: #1a6e3a;
  --warning: #e67e22;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--admin-bg); color: var(--admin-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ── Login ───────────────────────────────────────────────────── */
.admin-login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--charcoal); }
.login-wrap { width: 100%; max-width: 400px; padding: 24px; }
.login-card { background: var(--admin-card); border-radius: 8px; padding: 48px; }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo span { font-size: 24px; font-weight: 600; display: block; }
.login-logo small { font-size: 13px; color: var(--admin-muted); letter-spacing: 1px; }
.login-back { text-align: center; margin-top: 24px; font-size: 14px; color: var(--admin-muted); }
.login-back a { color: var(--gold); }

/* ── Layout ──────────────────────────────────────────────────── */
.admin-body { display: flex; min-height: 100vh; }
.admin-sidebar { width: var(--admin-sidebar-w); background: var(--charcoal); flex-shrink: 0; display: flex; flex-direction: column; position: fixed; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-content { margin-left: var(--admin-sidebar-w); flex: 1; padding: 32px; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.admin-sidebar-logo { display: flex; align-items: center; gap: 12px; padding: 28px 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-sidebar-logo span { background: var(--gold); color: #fff; font-weight: 700; font-size: 16px; width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.admin-sidebar-logo strong { display: block; color: #fff; font-size: 14px; }
.admin-sidebar-logo small  { color: rgba(255,255,255,0.4); font-size: 12px; }
.admin-nav { padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: rgba(255,255,255,0.55); font-size: 14px; transition: all 0.2s; }
.admin-nav a:hover { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.9); }
.admin-nav a.active { background: rgba(201,169,110,0.2); color: var(--gold); }
.admin-nav hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 8px 0; }

/* ── Page Header ─────────────────────────────────────────────── */
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.admin-page-header h1 { font-size: 24px; font-weight: 600; }
.admin-page-header span { font-size: 15px; color: var(--admin-muted); }

/* ── Cards ───────────────────────────────────────────────────── */
.admin-card { background: var(--admin-card); border-radius: 8px; padding: 24px; margin-bottom: 24px; border: 1px solid var(--admin-border); }
.admin-card--full { grid-column: 1 / -1; }
.admin-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-card-header h3 { font-size: 16px; font-weight: 600; }
.admin-card-header a  { font-size: 13px; color: var(--gold); }
.admin-help { font-size: 14px; color: var(--admin-muted); margin-bottom: 24px; }

/* ── Stats Cards ─────────────────────────────────────────────── */
.stats-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--admin-card); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--admin-border); position: relative; }
.stat-card--alert { border-color: var(--danger); }
.stat-card-icon { font-size: 24px; }
.stat-card-num { font-size: 28px; font-weight: 700; line-height: 1; }
.stat-card-label { font-size: 13px; color: var(--admin-muted); }
.stat-card-link { font-size: 12px; color: var(--gold); letter-spacing: 0.5px; }

/* ── Quick Actions ───────────────────────────────────────────── */
.quick-actions { margin-bottom: 32px; }
.quick-actions h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.quick-actions-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.qa-btn { background: var(--admin-card); border: 1.5px solid var(--admin-border); padding: 10px 20px; border-radius: 6px; font-size: 14px; color: var(--admin-text); transition: all 0.2s; cursor: pointer; }
.qa-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── Two-col layout ──────────────────────────────────────────── */
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid-2   { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.admin-two-col > *,
.form-grid-2 > *,
.form-row > * { min-width: 0; }

/* ── Table ───────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 12px 12px; border-bottom: 2px solid var(--admin-border); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--admin-muted); font-weight: 500; }
.admin-table td { padding: 12px 12px; border-bottom: 1px solid var(--admin-border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(0,0,0,0.02); }
.admin-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.empty-row   { text-align: center; color: var(--admin-muted); padding: 40px !important; }
.row-unread  { background: #fffbf0; }
.row-unread td { font-weight: 500; }
.msg-preview { max-width: 200px; }
.read-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.read-indicator.unread { background: var(--gold); }
.read-indicator.read   { background: var(--admin-border); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 10px; border-radius: 50px; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; }
.badge--available  { background: #f0faf4; color: #1a6e3a; }
.badge--sold       { background: #fef2f2; color: #c0392b; }
.badge--reserved   { background: #fff7ed; color: #e67e22; }
.badge--upcoming   { background: #eff6ff; color: #1d4ed8; }
.badge--ongoing    { background: #fff7ed; color: #b45309; }
.badge--completed  { background: #f0faf4; color: #1a6e3a; }
.badge--cancelled  { background: #fef2f2; color: #c0392b; }
.badge--pending    { background: #fff7ed; color: #e67e22; }
.badge--confirmed  { background: #f0faf4; color: #1a6e3a; }
.badge--published  { background: #f0faf4; color: #1a6e3a; }
.badge--draft      { background: #f5f5f3; color: #6b6b66; }
.badge--paid       { background: #f0faf4; color: #1a6e3a; }
.badge--refunded   { background: #fef2f2; color: #c0392b; }

/* ── Action buttons ──────────────────────────────────────────── */
.admin-actions { display: flex; gap: 8px; align-items: center; }
.btn-sm        { padding: 6px 14px; font-size: 12px; border-radius: 4px; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; transition: all 0.2s; }
.btn-link      { background: #eff6ff; color: #1d4ed8; }
.btn-link:hover{ background: #dbeafe; }
.btn-edit      { background: #f5f0e8; color: var(--gold-dark); }
.btn-edit:hover{ background: #ede9e0; }
.btn-delete    { background: #fef2f2; color: var(--danger); }
.btn-delete:hover{ background: #fee2e2; }

/* ── Main btn ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; }
.btn-gold       { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline    { background: transparent; border: 1.5px solid var(--admin-border); color: var(--admin-text); }
.btn-outline:hover { border-color: var(--admin-text); }
.btn-full { width: 100%; }
.btn-lg   { padding: 14px 32px; font-size: 15px; }

/* ── Forms ───────────────────────────────────────────────────── */
.admin-form      { }
.form-section    { margin-bottom: 0; }
.form-section h3 { font-size: 15px; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--admin-border); }
.form-group      { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--admin-text); }
.form-group small { font-size: 12px; color: var(--admin-muted); }
.form-input { padding: 10px 12px; border: 1.5px solid var(--admin-border); border-radius: 6px; font-family: inherit; font-size: 14px; color: var(--admin-text); background: var(--admin-card); transition: border-color 0.2s; width: 100%; }
.form-input:focus { outline: none; border-color: var(--gold); }
textarea.form-input { resize: vertical; }
select.form-input {
  appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6b66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.form-input--multiple {
  min-height: 144px;
  padding-right: 12px;
  background-image: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.artwork-form-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr); }
.artwork-form-side { min-width: 0; }
.form-checkboxes { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.form-check input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--gold); }
.form-submit-row { display: flex; gap: 16px; margin-top: 24px; }
.admin-tabs { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-tab { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; padding: 12px 18px; border: 1.5px solid var(--admin-border); border-radius: 999px; color: var(--admin-muted); background: var(--admin-card); font-weight: 500; }
.admin-tab.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.current-image-preview { margin-bottom: 12px; }
.current-image-preview img { max-width: 200px; border-radius: 6px; }
.current-image-preview span { font-size: 12px; color: var(--admin-muted); display: block; margin-top: 4px; }
.gallery-thumbs-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gallery-thumb-preview  { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.gallery-thumb-item { position: relative; width: 60px; height: 60px; }
.gallery-thumb-remove { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border: none; border-radius: 50%; background: var(--charcoal); color: #fff; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.gallery-thumb-remove:hover { background: var(--danger); }
.upload-preview-card { margin-top: 12px; padding: 14px; border: 1px solid var(--admin-border); border-radius: 8px; background: #faf9f6; }
.upload-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.upload-preview-header strong { font-size: 13px; }
.upload-preview-image { width: 180px; max-width: 100%; border-radius: 6px; }
.cloudinary-upload-area { border: 2px dashed #C9A96E; padding: 20px; text-align: center; cursor: pointer; margin-bottom: 16px; border-radius: 10px; background: #faf8f2; }
.cloudinary-upload-area p { margin: 0; color: var(--admin-muted); font-size: 14px; }
.cloudinary-upload-preview { max-width: 200px; display: none; margin: 10px auto 0; border-radius: 8px; }
.cloudinary-upload-preview.is-visible { display: block; }
.cloudinary-upload-remove { display: none; position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(34, 34, 34, 0.9); color: #fff; font-size: 20px; line-height: 1; align-items: center; justify-content: center; cursor: pointer; }
.cloudinary-upload-remove.is-visible { display: inline-flex; }
.cloudinary-upload-area { position: relative; }
.cloudinary-upload-remove:hover { background: var(--danger); }
.permission-groups { display: grid; grid-template-columns: 1fr; gap: 14px; }
.permission-group-card { padding: 16px; border: 1px solid var(--admin-border); border-radius: 10px; background: #faf9f6; }
.permission-group-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; color: var(--admin-muted); }
.permission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.permission-check { padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--admin-border); }
.permission-check span { font-size: 13px; }
.permission-table-wrap { margin-top: 20px; border: 1px solid var(--admin-border); border-radius: 14px; overflow: hidden; }
.permission-table th,
.permission-table td { text-align: center; vertical-align: middle; }
.permission-table th:first-child,
.permission-table td:first-child { text-align: left; min-width: 240px; }
.permission-inline { display: inline-flex; align-items: center; justify-content: center; }
.permission-inline input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--gold); }
.permission-na { color: var(--admin-muted); font-size: 18px; line-height: 1; }
.module-form-row { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 0.6fr 0.45fr 0.65fr; gap: 14px; align-items: end; }
.module-actions-row { display: grid; grid-template-columns: repeat(4, minmax(120px, 170px)); gap: 12px; margin-top: 18px; }
.module-action-check { padding: 12px 14px; border: 1px solid var(--admin-border); border-radius: 10px; background: #faf9f6; justify-content: center; }
.social-links-admin-list { display: grid; gap: 16px; }
.social-links-admin-box { padding: 16px; border: 1px solid var(--admin-border); border-radius: 12px; background: #faf9f6; display: grid; gap: 14px; }
.social-link-row-grid--single { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.social-link-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link-action-group { min-width: 180px; }
.social-link-action-group .social-link-actions { flex-wrap: nowrap; }
.social-link-action-group .btn { min-width: 92px; }
.social-link-editor { padding-bottom: 16px; border-bottom: 1px solid var(--admin-border); }
.social-links-table { margin-top: 4px; }
.social-links-table td:last-child { width: 120px; }
.social-links-table .btn-sm { width: 38px; height: 38px; justify-content: center; padding: 0; font-size: 16px; }
.star-rating-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-rating-input label { font-size: 34px; line-height: 1; color: #ddd6c8; cursor: pointer; transition: color 0.2s ease, transform 0.2s ease; }
.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--gold); }
.star-rating-input label:hover { transform: scale(1.05); }
.star-rating-display { display: inline-flex; gap: 2px; font-size: 18px; line-height: 1; }
.star-rating-display span { color: #ddd6c8; }
.star-rating-display span.is-filled { color: var(--gold); }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border: 1.5px solid var(--admin-border); border-bottom: none; border-radius: 8px 8px 0 0; background: #faf8f2; }
.editor-toolbar button { border: 1px solid var(--admin-border); background: #fff; color: var(--admin-text); border-radius: 6px; padding: 8px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.editor-toolbar button:hover { border-color: var(--gold); color: var(--gold-dark); }
.editor-toolbar { overflow: hidden; }
.editor-toolbar button { max-width: 100%; }
.rich-editor { min-height: 420px; max-width: 100%; padding: 16px; border: 1.5px solid var(--admin-border); border-radius: 0 0 8px 8px; background: var(--admin-card); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; word-break: break-word; overflow-x: auto; }
.rich-editor:focus { outline: none; border-color: var(--gold); }
.rich-editor h2,
.rich-editor h3,
.rich-editor p,
.rich-editor ul,
.rich-editor ol,
.rich-editor blockquote { margin-bottom: 14px; }
.rich-editor * { max-width: 100%; }
.rich-editor h2 { font-size: 28px; }
.rich-editor h3 { font-size: 22px; }
.rich-editor ul,
.rich-editor ol { padding-left: 22px; }
.rich-editor blockquote { border-left: 4px solid var(--gold); padding-left: 14px; color: var(--admin-muted); font-style: italic; }
.cloudinary-upload-area,
.gallery-thumbs-preview { max-width: 100%; }

/* ── SEO ──────────────────────────────────────────────────────── */
.seo-page-block { border: 1px solid var(--admin-border); border-radius: 8px; padding: 24px; margin-bottom: 24px; background: var(--admin-card); }
.seo-page-slug { font-size: 16px; font-weight: 600; margin-bottom: 16px; color: var(--gold); font-family: monospace; }
.seo-char-count { font-size: 12px; margin-top: 4px; color: var(--admin-muted); }

/* ── Filter strip ────────────────────────────────────────────── */
.filter-strip { display: flex; gap: 8px; margin-bottom: 24px; }
.filter-pill  { padding: 8px 20px; font-size: 13px; border-radius: 50px; background: var(--admin-card); border: 1.5px solid var(--admin-border); color: var(--admin-muted); transition: all 0.2s; }
.filter-pill.active, .filter-pill:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* ── Status select ───────────────────────────────────────────── */
.status-select { padding: 6px 10px; border: 1px solid var(--admin-border); border-radius: 4px; font-size: 13px; font-family: inherit; cursor: pointer; background: var(--admin-card); }

/* ── Toggle btn ──────────────────────────────────────────────── */
.toggle-btn { padding: 6px 14px; border-radius: 50px; font-size: 12px; border: 1.5px solid var(--admin-border); background: var(--admin-bg); cursor: pointer; font-family: inherit; transition: all 0.2s; }
.toggle-btn.active { background: #f0faf4; border-color: #a8d5b7; color: #1a6e3a; }

/* ── Alert ───────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 24px; font-size: 14px; }
.alert-success { background: #f0faf4; border: 1px solid #a8d5b7; color: #1a6e3a; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: var(--danger); }
.flash-popup-overlay { position: fixed; inset: 0; z-index: 7000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(20, 19, 16, 0.5); backdrop-filter: blur(8px); }
.flash-popup { width: min(100%, 520px); position: relative; border-radius: 24px; padding: 30px 28px 24px; background: linear-gradient(180deg, #fffdf8 0%, #f8f5ed 100%); border: 1px solid rgba(201,169,110,0.28); box-shadow: 0 32px 80px rgba(26, 26, 24, 0.18); text-align: center; animation: flashPopupIn 0.22s ease-out; }
.flash-popup-overlay.is-closing .flash-popup { animation: flashPopupOut 0.22s ease-in forwards; }
.flash-popup-kicker { display: inline-block; margin-bottom: 10px; padding: 7px 12px; border-radius: 999px; background: rgba(201,169,110,0.14); color: var(--gold-dark); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.flash-popup h3 { font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.flash-popup p { font-size: 16px; line-height: 1.6; color: var(--admin-muted); margin-bottom: 20px; }
.flash-popup--error { background: linear-gradient(180deg, #fffdfd 0%, #fdf2f2 100%); border-color: rgba(192, 57, 43, 0.22); }
.flash-popup--error .flash-popup-kicker { background: rgba(192, 57, 43, 0.12); color: var(--danger); }
.flash-popup-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: none; border-radius: 999px; background: rgba(26,26,24,0.06); color: var(--admin-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.flash-popup-action { min-width: 140px; }
.flash-popup-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.reply-history-list { display: flex; flex-direction: column; gap: 12px; }
.reply-history-item { padding: 14px; border: 1px solid var(--admin-border); border-radius: 8px; background: #faf9f6; }
.reply-history-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.reply-history-text { margin-bottom: 8px; line-height: 1.6; }

@keyframes flashPopupIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flashPopupOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(10px) scale(0.96); }
}

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 8px; padding: 32px; width: 100%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 12px; right: 16px; font-size: 24px; cursor: pointer; color: var(--admin-muted); }
.modal h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
#replyTo { font-size: 14px; color: var(--admin-muted); margin-bottom: 16px; }

/* ── Quill override ──────────────────────────────────────────── */
.ql-container { font-family: inherit; font-size: 15px; }
.ql-snow .ql-toolbar { border-radius: 6px 6px 0 0; border-color: var(--admin-border); }
.ql-snow .ql-container { border-radius: 0 0 6px 6px; border-color: var(--admin-border); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-cards { grid-template-columns: repeat(3, 1fr); }
  .admin-two-col, .form-grid-2 { grid-template-columns: 1fr; }
  .artwork-form-grid { grid-template-columns: 1fr; }
  .module-form-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .admin-sidebar  { display: none; }
  .admin-content  { margin-left: 0; padding: 16px; }
  .stats-cards    { grid-template-columns: repeat(2, 1fr); }
  .form-row       { grid-template-columns: 1fr; }
  .permission-grid { grid-template-columns: 1fr; }
  .module-form-row { grid-template-columns: 1fr; }
  .module-actions-row { grid-template-columns: 1fr 1fr; }
  .social-link-row-grid--single { grid-template-columns: 1fr; }
  .social-link-action-group .social-link-actions { flex-wrap: wrap; }
  .admin-table    { display: block; overflow-x: auto; }
}
