/**
 * =======================================================================
 * ADMIN PORTAL DASHBOARD STYLES
 * =======================================================================
 * Uses the exact same design system tokens and UI Kit as the storefront.
 */

:root {
  --sidebar-w: 260px;
  --topbar-h: 70px;
}

body.admin-body {
  background: var(--bg-body);
  color: var(--cream);
  font-family: var(--sans);
  display: flex;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* Strict Auth Screen & App Container Isolation */
html.admin-logged-out #adminAppContainer {
  display: none !important;
}
html.admin-logged-out #adminAuthScreen {
  display: flex !important;
}
html.admin-logged-in #adminAuthScreen {
  display: none !important;
}
html.admin-logged-in #adminAppContainer {
  display: flex !important;
}

#adminAuthScreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0a0805 !important;
  z-index: 2147483647 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

#adminAppContainer {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Sidebar Layout */
.admin-sidebar {
  width: var(--sidebar-w);
  background: var(--bg-surface);
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-brand {
  height: var(--topbar-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--hair);
}

.sidebar-brand img {
  height: 44px;
  width: auto;
}

.sidebar-brand .brand-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--gold-hi);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.sidebar-brand .portal-badge {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--mute-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.sidebar-nav {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  color: var(--mute-dark);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  color: inherit;
}

.nav-item:hover {
  background: rgba(214, 167, 54, 0.08);
  color: var(--cream);
}

.nav-item.active {
  background: var(--gold-grad);
  color: #14100a;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.nav-item.active svg {
  color: #14100a;
}

.sidebar-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--sand);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Content Layout */
.admin-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-w));
}

.admin-topbar {
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--hair);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

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

.topbar-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
}

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

.admin-content {
  padding: 32px;
  flex: 1;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.tab-panel.active {
  display: block;
}

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

/* Metric KPI Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 167, 54, 0.45);
}

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.metric-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--mute-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(214, 167, 54, 0.1);
  color: var(--gold-hi);
  display: grid;
  place-items: center;
}

.metric-value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.metric-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  color: #34d399;
}

/* Dashboard Sections */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 26px;
}

.panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.panel-card-header h3 {
  font-size: 1.25rem;
  color: var(--cream);
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}

.admin-table th {
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute-dark);
  border-bottom: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.02);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(214, 167, 54, 0.1);
  color: var(--sand);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: rgba(214, 167, 54, 0.04);
}

/* Order Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pending { background: rgba(233, 162, 28, 0.15); color: #fbbf24; border: 1px solid rgba(233, 162, 28, 0.3); }
.status-approved { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.45); }
.status-processing { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-dispatched, .status-shipped { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-delivered { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-cancelled { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }

/* 3-Dots Action Button & Floating Popover */
.btn-dots {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 167, 54, 0.25);
  color: var(--gold-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-dots:hover, .btn-dots:focus, .btn-dots.active {
  background: rgba(214, 167, 54, 0.16);
  border-color: var(--gold);
  color: #fffdf8;
  box-shadow: 0 0 12px rgba(214, 167, 54, 0.2);
}

.actions-popover-menu {
  position: fixed;
  z-index: 99999;
  width: 240px;
  background: #141009;
  border: 1.5px solid rgba(214, 167, 54, 0.45);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(214, 167, 54, 0.2);
  padding: 8px;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.pop-order-id {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-hi);
}

.pop-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #e5ded0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  font-family: var(--sans);
}

.pop-item:hover {
  background: rgba(214, 167, 54, 0.15);
  color: #fffdf8;
}

.pop-item.pop-highlight {
  color: #34d399;
}
.pop-item.pop-highlight:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.pop-item.pop-dispatch {
  color: #d8b4fe;
}
.pop-item.pop-dispatch:hover {
  background: rgba(168, 85, 247, 0.18);
  color: #e9d5ff;
}

.pop-item.pop-delivered {
  color: #6ee7b7;
}
.pop-item.pop-delivered:hover {
  background: rgba(16, 185, 129, 0.18);
}

.pop-item.pop-danger {
  color: #f87171;
}
.pop-item.pop-danger:hover {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.pop-icon {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.pop-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

.pop-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mute-dark);
  padding: 4px 8px 2px;
}

.pop-status-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px 4px;
}

.pop-chip {
  padding: 5px 6px;
  font-size: 11px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--sand);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  font-family: var(--sans);
}

.pop-chip:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(214, 167, 54, 0.12);
}

.pop-chip.active {
  border-color: var(--gold);
  background: rgba(214, 167, 54, 0.22);
  color: var(--gold-hi);
  font-weight: 700;
}

.action-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon-sm {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  color: var(--mute-dark);
  transition: all 0.2s ease;
}

.btn-icon-sm:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
  background: rgba(214, 167, 54, 0.1);
}

/* Admin Form Labels & Inputs System */
.admin-body label,
.dlg label {
  color: var(--gold-hi) !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.015em;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.admin-body label .req,
.dlg label .req {
  color: #ef4444 !important;
  font-weight: 700;
  font-size: 14px;
}

.admin-body label .hint,
.dlg label .hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--mute-dark) !important;
}

.admin-body input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.admin-body select,
.admin-body textarea,
.dlg input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.dlg select,
.dlg textarea {
  width: 100%;
  background: #14100a !important;
  border: 1.5px solid rgba(214, 167, 54, 0.35) !important;
  color: #fffdf8 !important;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus,
.dlg input:focus,
.dlg select:focus,
.dlg textarea:focus {
  background: #1c160e !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(214, 167, 54, 0.25) !important;
  outline: none;
}

.admin-body input::placeholder,
.admin-body textarea::placeholder,
.dlg input::placeholder,
.dlg textarea::placeholder {
  color: rgba(189, 174, 142, 0.5) !important;
}

/* White-Label Customizer Form */
.customizer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.customizer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.color-picker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.color-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1.5px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--bg-surface);
}

.color-input-wrap input[type="color"] {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  background: none;
}

.color-input-wrap span {
  font-family: monospace;
  font-size: 14px;
  color: var(--sand);
}

/* Live UI Kit Preview Card */
.preview-card {
  position: sticky;
  top: 100px;
  background: var(--bg-surface);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-deep);
}

.preview-header {
  border-bottom: 1px solid var(--hair);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

/* Product Cards Grid in Admin */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.inventory-card {
  background: var(--bg-card);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.inventory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 167, 54, 0.45);
}

.inventory-card.out-of-stock {
  border-color: rgba(239, 68, 68, 0.35);
}

.inventory-card-img {
  height: 200px;
  background: #000;
  display: grid;
  place-items: center;
  position: relative;
  padding: 16px;
  overflow: hidden;
}

.inventory-card-img img {
  max-height: 165px;
  width: auto;
  transition: transform 0.4s ease;
}

.inventory-card:hover .inventory-card-img img {
  transform: scale(1.04);
}

.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #fca5a5;
  text-transform: uppercase;
  z-index: 2;
}

.inventory-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.prod-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.btn-danger {
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  background: transparent;
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fff;
}

.btn-warning {
  border: 1.5px solid rgba(233, 162, 28, 0.4);
  color: #fbbf24;
  background: transparent;
}
.btn-warning:hover {
  background: rgba(233, 162, 28, 0.15);
  border-color: #e9a21c;
}

.btn-success {
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  background: transparent;
}
.btn-success:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

/* Image Upload Dropzone & Previews */
.dropzone-box {
  border: 2px dashed var(--hair);
  border-radius: var(--r-sm);
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone-box:hover {
  border-color: var(--gold);
  background: rgba(214, 167, 54, 0.06);
}

.image-preview-thumb {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  margin-top: 10px;
}

.preset-img-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.preset-chip {
  padding: 6px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  cursor: pointer;
  color: var(--sand);
  transition: all 0.2s;
}

.preset-chip:hover, .preset-chip.active {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(214, 167, 54, 0.12);
}

/* Filter Nav in Orders */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--r-full);
  border: 1px solid var(--hair);
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mute-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover {
  color: var(--cream);
}

.filter-pill.active {
  background: var(--gold-grad);
  color: #14100a;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 1080px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid, .customizer-layout {
    grid-template-columns: 1fr;
  }
  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
    width: 100%;
  }
  .metrics-grid, .inventory-grid {
    grid-template-columns: 1fr;
  }
  .admin-content {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   Admin Authentication & Login Overlay
   ========================================================================== */
.admin-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at 50% 20%, rgba(214, 167, 54, 0.14) 0%, rgba(7, 5, 3, 0.98) 70%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-auth-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #14100a;
  border: 1.5px solid rgba(214, 167, 54, 0.35);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 50px rgba(214, 167, 54, 0.15);
  color: #fffdf8;
  position: relative;
  box-sizing: border-box;
}

.auth-brand {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: rgba(214, 167, 54, 0.1);
  border: 1.5px solid rgba(214, 167, 54, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.auth-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.auth-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold-hi);
  margin: 0 0 6px 0;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--mute-dark);
  margin: 0;
  line-height: 1.45;
}

.auth-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap .input-ic {
  position: absolute;
  left: 14px;
  font-size: 16px;
  pointer-events: none;
  opacity: 0.8;
}

.input-icon-wrap input {
  padding-left: 44px !important;
  padding-right: 44px !important;
}

.pw-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pw-toggle-btn:hover {
  opacity: 1;
}

.auth-hint-btn {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 11.5px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.auth-hint-btn:hover {
  color: var(--gold-hi);
}

.auth-footer-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--mute-dark);
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(214, 167, 54, 0.15);
}

.auth-footer-note code {
  color: var(--gold-hi);
  background: rgba(214, 167, 54, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-danger-line {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 6px 12px;
}

.btn-danger-line:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}
