.admin-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(26, 107, 76, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(45, 138, 102, 0.12), transparent 28%),
    #f7faf8;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 248, 0.88);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-logo {
  width: 42px;
  height: 42px;
  border-radius: 0.6rem;
  object-fit: contain;
}

.admin-brand h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.admin-brand p {
  color: #64748b;
  font-size: 0.85rem;
}

.admin-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-nav {
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  border-radius: 0.6rem;
}

.admin-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}

.admin-stack {
  display: grid;
  gap: 1.5rem;
}

.admin-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgb(15 23 42 / 0.06);
}

.admin-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.admin-card-copy {
  color: #64748b;
  margin-bottom: 1.25rem;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-input-group {
  display: grid;
  gap: 0.45rem;
}

.admin-input-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.admin-input-group input,
.admin-input-group textarea,
.admin-input-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #d7e2dc;
  background: #ffffff;
  color: #0f172a;
}

.admin-input-group textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-input-group input:focus,
.admin-input-group textarea:focus,
.admin-input-group select:focus {
  outline: none;
  border-color: #1a6b4c;
  box-shadow: 0 0 0 4px rgb(26 107 76 / 0.1);
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-message {
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: #1a6b4c;
}

.admin-service-list,
.admin-newsletter-list {
  display: grid;
  gap: 0.9rem;
}

/* ── Three-table stacked layout ──────────────────────────────────────────── */
.req-tables {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.req-table-section {
  display: flex;
  flex-direction: column;
  min-height: 20vh;
}
.req-table-wrap {
  overflow-x: auto;
  flex: 1;
  border: 1px solid #e1ebe5;
  border-radius: 0.75rem;
  background: #fff;
}
.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.req-table thead tr {
  background: #f0f7f4;
}
.req-table th {
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #d1e8de;
  white-space: nowrap;
}
.req-table td {
  padding: 0.65rem 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid #eef3f1;
}
.req-table tbody tr:last-child td { border-bottom: none; }
.req-table tbody tr:hover { background: #f8fbf9; }
.req-msg-cell {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.req-actions-cell {
  white-space: nowrap;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.req-table-empty {
  text-align: center;
  color: #94a3b8;
  padding: 2rem !important;
  font-style: italic;
}

/* ── Request group headings ──────────────────────────────────────────────── */
.req-group-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.req-group-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: #1a6b4c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

/* Payment method pills */
.req-pay-gcash  { background: #f0fdf4; color: #166534; }
.req-pay-inshop { background: #eff6ff; color: #1d4ed8; }

/* ── Done list: compact vertical rows ────────────────────────────────────── */
.admin-done-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.admin-done-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #f8fbf9;
  border: 1px solid #e1ebe5;
  flex-wrap: wrap;
}
.admin-done-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.admin-done-left strong { white-space: nowrap; }
.admin-done-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Requests list: horizontal scrollable cards */
.admin-request-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.admin-request-list::-webkit-scrollbar          { height: 8px; }
.admin-request-list::-webkit-scrollbar-track    { background: transparent; }
.admin-request-list::-webkit-scrollbar-thumb    { background: #c7d8cf; border-radius: 4px; }
.admin-request-list::-webkit-scrollbar-thumb:hover { background: #a7bfb4; }

.admin-request-item {
  flex: 0 0 min(320px, 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f8fbf9;
  border: 1px solid #e1ebe5;
  scroll-snap-align: start;
}

.admin-request-card-header {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.admin-request-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}

.admin-request-message {
  white-space: normal;
  overflow-wrap: anywhere;
  max-height: 5.5em;
  overflow-y: auto;
}

.admin-request-card-actions {
  margin-top: auto;
  flex-wrap: wrap;
}

.admin-service-item,
.admin-newsletter-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f8fbf9;
  border: 1px solid #e1ebe5;
}

.admin-service-item strong,
.admin-request-item strong,
.admin-newsletter-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.admin-meta {
  color: #64748b;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: #e8f5f0;
  color: #1a6b4c;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-inline-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid #d7e2dc;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
}

.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.btn-warning {
  background: #fef9c3;
  color: #854d0e;
  border-color: #fde68a;
}

.service-na {
  opacity: 0.6;
}

.btn-ghost:hover {
  transform: translateY(-1px);
}

.admin-attachment {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #d7e2dc;
}

.admin-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-weight: 600;
  color: #1a6b4c;
}

.admin-card-full {
  margin-top: 1.5rem;
}

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

.admin-softcopy-table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
}

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

.admin-softcopy-table th {
  text-align: left;
  padding: 0.7rem 0.8rem;
  background: #f1f5f2;
  border-bottom: 2px solid #d7e2dc;
  font-weight: 700;
  font-size: 0.82rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.admin-softcopy-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #e1ebe5;
  vertical-align: middle;
}

.admin-softcopy-table tbody tr:hover {
  background: #f8fbf9;
}

.softcopy-qr-md {
  width: 90px;
  height: 90px;
  border-radius: 0.6rem;
  border: 1px solid #d7e2dc;
  background: #fff;
}

.softcopy-preview {
  width: 70px;
  height: 70px;
  border-radius: 0.5rem;
  border: 1px solid #d7e2dc;
  object-fit: cover;
  background: #f1f5f2;
}

.btn-sm {
  padding: 0.35rem 0.55rem;
  font-size: 0.76rem;
  border-radius: 0.5rem;
}

.softcopy-code {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(26, 107, 76, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(10, 22, 40, 0.16), transparent 28%),
    #f5f9f7;
}

.login-card {
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 30px 60px rgb(15 23 42 / 0.12);
  position: relative;
  z-index: 2;
}

.login-panel-copy {
  color: #64748b;
  margin-bottom: 1rem;
}

.admin-modal[hidden] {
  display: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.56);
  backdrop-filter: blur(10px);
}

.admin-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 30px 60px rgb(15 23 42 / 0.16);
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.admin-modal-dialog h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
}

.admin-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.4rem;
  line-height: 1;
}

.login-card h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.login-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.login-help {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.shutter-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(10, 22, 40, 0.34);
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.shutter-loader.is-hidden {
  opacity: 0;
}

.shutter-loader-core {
  position: relative;
  width: 220px;
  height: 220px;
}

.shutter-blade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a1628 0%, #1a6b4c 100%);
  clip-path: polygon(50% 50%, 100% 0, 100% 50%);
  transform-origin: center;
  animation: shutterPulse 1.6s ease-in-out infinite;
}

.shutter-blade:nth-child(1) { transform: rotate(0deg); animation-delay: 0s; }
.shutter-blade:nth-child(2) { transform: rotate(60deg); animation-delay: 0.1s; }
.shutter-blade:nth-child(3) { transform: rotate(120deg); animation-delay: 0.2s; }
.shutter-blade:nth-child(4) { transform: rotate(180deg); animation-delay: 0.3s; }
.shutter-blade:nth-child(5) { transform: rotate(240deg); animation-delay: 0.4s; }
.shutter-blade:nth-child(6) { transform: rotate(300deg); animation-delay: 0.5s; }

.shutter-center {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: #f8fbf9;
  box-shadow: inset 0 0 0 16px #0a1628;
}

@keyframes shutterPulse {
  0%, 100% { transform: scale(1) rotate(var(--rot, 0deg)); opacity: 0.98; }
  50% { transform: scale(0.74) rotate(calc(var(--rot, 0deg) + 12deg)); opacity: 0.74; }
}

.shutter-blade:nth-child(1) { --rot: 0deg; }
.shutter-blade:nth-child(2) { --rot: 60deg; }
.shutter-blade:nth-child(3) { --rot: 120deg; }
.shutter-blade:nth-child(4) { --rot: 180deg; }
.shutter-blade:nth-child(5) { --rot: 240deg; }
.shutter-blade:nth-child(6) { --rot: 300deg; }

.softcopy-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(26, 107, 76, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(10, 22, 40, 0.1), transparent 28%),
    #f5f9f7;
}

.softcopy-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  gap: 1.5rem;
}

.softcopy-hero {
  max-width: 760px;
}

.softcopy-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.softcopy-hero p {
  color: #64748b;
  font-size: 1.05rem;
}

.softcopy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.softcopy-scan-box {
  display: grid;
  gap: 0.8rem;
}

.softcopy-video {
  width: 100%;
  min-height: 260px;
  border-radius: 1.25rem;
  background: #0f172a;
  object-fit: cover;
}

.softcopy-result-card {
  display: none;
}

.softcopy-result-card.is-visible {
  display: block;
}

.softcopy-result-inner {
  display: grid;
  gap: 0.8rem;
}

.softcopy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #1a6b4c;
  color: #ffffff;
  font-weight: 600;
}

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

@media (max-width: 960px) {
  .admin-form-row-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-topbar-inner {
    flex-wrap: wrap;
  }
  .admin-nav {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .softcopy-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-service-item,
  .admin-newsletter-item,
  .admin-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-request-item {
    flex: 0 0 88%;
  }

  .admin-inline-actions,
  .admin-actions {
    width: 100%;
  }

  .admin-softcopy-table {
    font-size: 0.78rem;
  }
}

/* ── Admin Live Chat ──────────────────────────────────────────────────────── */
.chat-unread-badge {
  display: inline-block;
  min-width: 1.35rem;
  padding: 0.1rem 0.5rem;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0.85rem;
  margin-top: 0.75rem;
  min-height: 420px;
}

.admin-chat-list {
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.35rem;
}
.admin-chat-empty {
  color: #94a3b8;
  font-size: 0.85rem;
  text-align: center;
  margin: 1.25rem 0;
}
.admin-chat-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 0.55rem;
  cursor: pointer;
  margin-bottom: 0.25rem;
  color: #0f172a;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.admin-chat-item:hover { background: #e2e8f0; }
.admin-chat-item.is-active {
  background: #fff;
  border-color: #1a6b4c;
}
.admin-chat-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.admin-chat-unread {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-weight: 700;
}
.admin-chat-item-preview {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-chat-item-time {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.admin-chat-thread {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}
.admin-chat-thread-header {
  padding: 0.7rem 0.9rem;
  background: #1a6b4c;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.admin-chat-thread-header small {
  font-size: 0.75rem;
  opacity: 0.85;
}
.admin-chat-messages {
  flex: 1;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.85rem;
  background: #f6f8fa;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-chat-msg {
  max-width: 80%;
  padding: 0.55rem 0.75rem;
  border-radius: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.4;
}
.admin-chat-msg.customer {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
}
.admin-chat-msg.admin {
  align-self: flex-end;
  background: #1a6b4c;
  color: #fff;
}
.admin-chat-msg small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  opacity: 0.7;
}

.admin-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.admin-chat-form input {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.88rem;
}
.admin-chat-form input:disabled { background: #f1f5f9; }

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

/* ── Hamburger button ─────────────────────────────────────────────────────── */
.admin-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.admin-hamburger:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgb(15 23 42 / 0.1);
}
.admin-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Slide-out drawer ─────────────────────────────────────────────────────── */
.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(280px, 88vw);
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: -20px 0 60px rgb(15 23 42 / 0.14);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.admin-drawer.is-open {
  transform: translateX(0);
}
.admin-drawer-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.admin-drawer-close:hover { background: #e2e8f0; }

.admin-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 3.5rem 1rem 1rem;
  flex: 1;
}
.admin-drawer-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.75rem;
  background: transparent;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-drawer-nav button:hover {
  background: #f0f7f4;
  color: #1a6b4c;
}
.admin-drawer-nav button.is-active {
  background: #e8f5f0;
  color: #1a6b4c;
  font-weight: 600;
}
.admin-drawer-footer {
  padding: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-drawer-footer .btn-ghost,
.admin-drawer-footer .btn {
  width: 100%;
  justify-content: center;
}

.admin-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(4px);
}

/* Single-section layout: each article fills the content area */
.admin-main > .admin-card {
  max-width: 960px;
}
.admin-main > .admin-card-full {
  max-width: 100%;
}
