:root {
  --admin-bg: #0f172a;
  --admin-panel: #1e293b;
  --admin-accent: #38bdf8;
  --admin-text: #f8fafc;
  --admin-muted: #94a3b8;
  --admin-danger: #f87171;
  --admin-success: #4ade80;
}

* { box-sizing: border-box; }

body.admin-body {
  margin: 0;
  font-family: 'Inter', 'Alata', system-ui, sans-serif;
  background: var(--admin-bg);
  color: var(--admin-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Admin login: full-height split (image | form) ---------- */
.admin-login-screen,
.admin-auth-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
}

.admin-login-screen.is-hidden {
  display: none !important;
}

.admin-login-image {
  background: url('../images/3d-art8.jpg') center center / cover no-repeat;
  height: 100%;
  position: relative;
  animation: authImageKen 18s ease-in-out infinite alternate;
}

.recovery-login-image {
  background-image: url('../images/3d-art3.jpg');
}

@keyframes authImageKen {
  from { background-position: center 40%; transform: scale(1); }
  to { background-position: center 60%; transform: scale(1.04); }
}

.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 29, 70, 0.55), rgba(36, 107, 206, 0.25));
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.auth-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 0.95rem;
  animation: authBadgeFloat 4s ease-in-out infinite;
}

@keyframes authBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.auth-panel-enter {
  animation: authPanelIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateX(24px);
}

@keyframes authPanelIn {
  to { opacity: 1; transform: translateX(0); }
}

.admin-login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  background: #061d46;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.admin-login-inner {
  width: 100%;
  max-width: 400px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-login-logo {
  border-radius: 50%;
  margin-bottom: 8px;
  width: 40px;
  height: 40px;
}

.admin-login-inner h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
}

.admin-login-sub {
  color: var(--admin-muted);
  font-size: 0.82rem;
  margin: 0 0 14px;
  line-height: 1.4;
}

.admin-login-back {
  margin-top: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-login-back a {
  color: var(--admin-accent);
  text-decoration: none;
}

.admin-btn-full {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  font-size: 0.92rem;
}

.admin-auth-screen .admin-form .admin-btn-full {
  margin-top: 28px;
}

.admin-auth-screen .admin-form .password-field {
  margin-bottom: 4px;
}

.admin-btn-text {
  background: none;
  border: none;
  color: var(--admin-muted);
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
  font-family: inherit;
}

.admin-btn-text:hover {
  color: var(--admin-text);
}

.password-field {
  position: relative;
  display: flex;
  align-items: stretch;
}

.password-field input {
  flex: 1;
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--admin-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: var(--admin-accent);
  background: rgba(56, 189, 248, 0.1);
}

.password-toggle.is-visible i::before {
  content: '\f070';
}

/* Auth screen forms (admin login + recovery) */
.admin-auth-screen .admin-form label {
  display: block;
  margin: 10px 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.admin-auth-screen .admin-form label:first-of-type {
  margin-top: 0;
}

.admin-auth-screen .admin-form input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #334155;
  background: rgba(15, 23, 42, 0.55);
  color: var(--admin-text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-auth-screen .admin-form input::placeholder {
  color: #64748b;
}

.admin-auth-screen .admin-form input:hover {
  border-color: #475569;
  background: rgba(15, 23, 42, 0.75);
}

.admin-auth-screen .admin-form input:focus {
  outline: none;
  border-color: var(--admin-accent);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.admin-auth-screen .password-field input {
  padding-right: 42px;
}

.admin-auth-screen .password-toggle {
  width: 32px;
  height: 32px;
}

.admin-auth-screen .msg {
  margin: 8px 0;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.admin-auth-screen .setup-banner {
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
}

.admin-auth-screen .admin-btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-auth-screen .admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.admin-auth-screen .auth-float-badge {
  font-size: 0.85rem;
  padding: 10px 16px;
}

.admin-login-back a {
  color: var(--admin-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-login-back a:hover {
  color: #7dd3fc;
}

.setup-banner {
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fcd34d;
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.45;
}

.setup-banner a {
  color: #38bdf8;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #111827;
  padding: 20px 14px;
  border-right: 1px solid #1f2937;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
  pointer-events: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 20px;
  border-bottom: 1px solid #1f2937;
  margin-bottom: 16px;
}

.sidebar-brand img {
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sidebar-brand-text strong {
  font-size: 0.95rem;
  color: #f8fafc;
}

.sidebar-brand-text span {
  font-size: 0.75rem;
  color: var(--admin-muted);
}

.admin-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-group-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 10px 6px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}

.admin-nav button i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
}

.admin-nav button.active {
  background: rgba(56, 189, 248, 0.14);
  color: #e0f2fe;
  box-shadow: inset 3px 0 0 var(--admin-accent);
}

.admin-nav button:hover:not(.active) {
  background: #1f2937;
  color: #e2e8f0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #1f2937;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--admin-accent);
  text-decoration: none;
  font-size: 0.84rem;
  padding: 6px 10px;
}

.sidebar-link:hover {
  color: #7dd3fc;
}

.admin-btn-block {
  width: 100%;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.admin-shell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 22px 32px 18px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e293b;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-topbar p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--admin-muted);
}

.admin-main {
  flex: 1;
  padding: 24px 32px 40px;
  overflow: auto;
}

.admin-panel { display: none; }
.admin-panel.active { display: block; animation: panelIn 0.25s ease; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats */
.stat-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.stat-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.stat-grid-mini {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  margin-bottom: 16px;
}

.stat-card {
  background: var(--admin-panel);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  border-color: #475569;
}

.stat-card-mini {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--admin-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.stat-icon-gold {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.stat-icon-green {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}

.stat-card .value {
  font-size: 1.55rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.1;
}

.stat-card-mini .value {
  font-size: 1.25rem;
}

.stat-card .label {
  font-size: 0.78rem;
  color: var(--admin-muted);
  margin-top: 2px;
}

/* Layout grids */
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.admin-card-tips .admin-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-tips-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-tips-list i {
  color: #38bdf8;
  margin-top: 3px;
  width: 18px;
  text-align: center;
}

.admin-grid-2-form {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.admin-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards */
.admin-card {
  background: var(--admin-panel);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 0;
  border: 1px solid #334155;
}

.card-header {
  margin-bottom: 18px;
}

.card-header h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-header h3 i {
  color: var(--admin-accent);
  font-size: 0.9rem;
}

.card-header p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--admin-muted);
  line-height: 1.5;
}

.card-header p strong {
  color: #cbd5e1;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-row-card {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 16px;
}

.admin-row-card + .admin-row-card {
  margin-top: 0;
}

.admin-form-grid {
  display: grid;
  gap: 12px;
  align-items: end;
}

.admin-form-grid-5 {
  grid-template-columns: 1.4fr 1fr 1fr auto auto;
}

.admin-form-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.admin-field label,
.admin-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

.admin-form label {
  margin-top: 14px;
}

.admin-form label:first-of-type {
  margin-top: 0;
}

.admin-field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-field-row label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--admin-muted);
  white-space: nowrap;
}

.admin-input,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #475569;
  background: #0f172a;
  color: var(--admin-text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-input-sm {
  max-width: 220px;
}

.admin-input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.admin-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}

.admin-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #cbd5e1;
  cursor: pointer;
}

.admin-check input {
  width: auto;
  accent-color: var(--admin-accent);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #334155;
}

.admin-actions-inline {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}

.admin-btn {
  background: var(--admin-accent);
  color: #0f172a;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.88rem;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.admin-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.admin-btn.secondary {
  background: #334155;
  color: var(--admin-text);
}

.admin-btn.secondary:hover {
  background: #475569;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-btn.danger {
  background: #dc2626;
  color: #fff;
}

.admin-btn.danger:hover {
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #334155;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #334155;
  text-align: left;
}

.admin-table th {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tbody tr:hover {
  background: rgba(15, 23, 42, 0.5);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.sortable-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sortable-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: grab;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sortable-list li:hover {
  border-color: #475569;
  background: #111c2e;
}

.sortable-list li span:first-child {
  color: var(--admin-muted);
}

.sortable-list li.dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.featured-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.featured-item strong {
  color: #e2e8f0;
}

.featured-item .boost {
  color: var(--admin-accent);
  font-size: 0.82rem;
}

.empty-hint {
  color: var(--admin-muted);
  font-size: 0.88rem;
  margin: 0;
}

.msg {
  padding: 10px 14px;
  border-radius: 10px;
  margin: 12px 0 0;
  font-size: 0.86rem;
}

.msg.ok { background: rgba(74, 222, 128, 0.12); color: var(--admin-success); border: 1px solid rgba(74, 222, 128, 0.25); }
.msg.err { background: rgba(248, 113, 113, 0.12); color: var(--admin-danger); border: 1px solid rgba(248, 113, 113, 0.25); }

@media (max-width: 1100px) {
  .admin-grid-2,
  .admin-grid-2-form {
    grid-template-columns: 1fr;
  }

  .admin-form-grid-5,
  .admin-form-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1f2937;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-group {
    display: contents;
  }

  .nav-group-label {
    display: none;
  }

  .admin-nav button {
    width: auto;
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    font-size: 0.8rem;
    padding: 9px 10px;
  }

  .admin-nav button.active {
    box-shadow: none;
    border: 1px solid rgba(56, 189, 248, 0.35);
  }

  .sidebar-footer {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .admin-topbar,
  .admin-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-form-grid-5,
  .admin-form-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .admin-login-screen,
  .admin-auth-screen {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
    height: 100vh;
  }
  .admin-login-image {
    height: 200px;
    min-height: 0;
  }
  .admin-login-form-side {
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding: 16px 20px;
  }

  .admin-login-inner {
    max-height: none;
    justify-content: flex-start;
  }
}

.admin-photo-preview-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed #334155;
  background: #0f172a;
}

.admin-photo-preview-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-photo-preview-label small {
  flex: 1 1 100%;
  font-weight: 400;
  color: #94a3b8;
  font-size: 0.8rem;
}

.listing-preview-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.88rem;
  text-align: center;
  padding: 24px 12px;
}

.listing-preview-grid--large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.listing-preview-figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #334155;
  background: #1e293b;
}

.listing-preview-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.listing-preview-figure figcaption {
  padding: 6px 8px;
  font-size: 0.7rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-advanced-paths {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.admin-advanced-paths summary {
  cursor: pointer;
  color: #38bdf8;
  margin-bottom: 8px;
}

.admin-published-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.admin-published-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 20px;
  border: 1px dashed #334155;
  border-radius: 12px;
  color: #94a3b8;
}

.admin-published-empty i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #64748b;
}

.admin-published-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
  background: #1e293b;
}

.admin-published-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

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

.admin-published-live {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-published-live i {
  font-size: 0.45rem;
}

.admin-published-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-published-info strong {
  color: #f1f5f9;
  font-size: 0.92rem;
}

.admin-published-info > span {
  color: #94a3b8;
  font-size: 0.8rem;
}

.admin-published-missing,
.admin-tag-warn {
  display: block;
  margin-top: 4px;
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 600;
}

.listing-preview-missing img {
  opacity: 0.55;
  outline: 2px dashed #f59e0b;
}

.admin-published-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.admin-stats-heading {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.admin-stats-section {
  padding: 14px 0 4px;
  border-top: 1px solid #e2e8f0;
}

.admin-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 8px;
}

.admin-dropzone:hover {
  border-color: #94a3b8;
}

.admin-dropzone.is-dragover {
  border-color: #246bce;
  background: #eff6ff;
  box-shadow: 0 0 0 4px rgba(36, 107, 206, 0.12);
}

.admin-dropzone.is-uploading {
  pointer-events: none;
  opacity: 0.75;
}

.admin-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.admin-dropzone-content {
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.admin-dropzone-content i {
  font-size: 2rem;
  color: #246bce;
  margin-bottom: 10px;
}

.admin-dropzone-content p {
  margin: 0 0 6px;
  color: #334155;
}

.admin-dropzone-content .empty-hint {
  margin: 0;
}

.listing-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.listing-preview-grid img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--admin-border, #e5e7eb);
}

.listing-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-btn-sm {
  padding: 6px 10px;
  font-size: 0.8125rem;
}
