* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffdd00;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: 100%;
  padding: 20px;
  text-align: center;
  animation: fadeUp 0.8s ease-out both;
}

.logo {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  display: block;
  animation: fadeUp 1s ease-out both;
}

.form-wrapper {
  margin: 20px auto 0;
  max-width: 340px;
  width: 100%;
  animation: fadeUp 1.2s ease-out both;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

input {
  width: 100%;
  padding: 16px;
  margin-bottom: 18px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* Honeypot hidden */
.hp {
  display: none;
}

/* Thank you message */
.thank-you {
  display: block;
  opacity: 0;
  margin-top: 30px;
  font-size: 22px;
  font-weight: bold;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Transition helpers */
.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Social buttons */
.socials {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  width: 52px;
  height: 52px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.social-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Mobile touch */
@media (max-width: 480px) {
  .social-btn {
    width: 56px;
    height: 56px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Micro trust text */
.micro-copy {
  margin-top: 10px;
  font-size: 12px;
  color: #333;
}

.micro-copy a {
  color: #000;
  text-decoration: underline;
}

.micro-copy a:hover {
  opacity: 0.7;
}


/* Admin table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
}

.admin-table th,
.admin-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: #000;
  color: #fff;
}

/* Global link styling */
a {
  color: #000;
  text-decoration: none; /* remove underline */
  transition: opacity 0.2s ease;
}

a:hover,
a:focus {
  opacity: 0.7; /* subtle feedback, no background */
  text-decoration: none;
}

a:focus {
  outline: none;
}

/* Admin UX upgrades */
.admin-alert {
  display: inline-block;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  margin: 0 auto 14px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px auto 12px;
  max-width: 820px;
}

.admin-stat {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.admin-stat-num {
  font-size: 20px;
  font-weight: bold;
}

.admin-stat-label {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
}

.admin-btn {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
}

.admin-btn-danger {
  background: #000;
  color: #fff;
  opacity: 0.9;
}

.admin-btn-danger:hover {
  opacity: 0.75;
}

.admin-pagination {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .admin-stats {
    grid-template-columns: 1fr;
  }
}

/* Admin toggle */
.admin-toggle {
  display: block;
  text-align: left;
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 12px;
}

.admin-toggle input {
  margin-right: 6px;
}

/* Extra admin button style */
.admin-btn-neutral {
  background: #000;
  color: #fff;
  opacity: 0.75;
}

.admin-btn-neutral:hover {
  opacity: 0.6;
}

/* Reco/* ===== Recovery mode toggle (iOS-style) ===== */

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
  text-align: left;
}

.toggle-label {
  font-size: 13px;
  font-weight: bold;
}

.toggle-help {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 12px;
  text-align: left;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #0b2236;
  border-radius: 999px;
  transition: 0.2s ease;
  cursor: pointer;
}

.slider:before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 3px;
  top: 3px;
  background: #d9d9d9;
  border-radius: 50%;
  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.switch input:checked + .slider:before {
  transform: translateX(28px);
}

.switch input:checked + .slider {
  background: #000;
}
very mode toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  text-align: left;
}

.toggle-label {
  font-size: 13px;
  font-weight: bold;
  color: #000;
}

.toggle-help {
  margin: 0 0 14px;
  font-size: 12px;
  opacity: 0.8;
  text-align: left;
}

/* Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  transition: 0.2s ease;
}

.toggle-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: #000;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Admin title + badge */
.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

/* Filters layout */
.admin-filters input[type="text"],
.admin-filters input[type="date"],
.admin-filters select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 6px;
  text-align: left;
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Bulk bar */
.bulk-bar {
  max-width: 740px;
  margin: 0 auto 10px;
  padding: 12px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
}

.bulk-hint {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 8px;
}

/* Inline meta editor */
.inline-meta {
  display: grid;
  grid-template-columns: 120px 1fr 70px;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.inline-meta select,
.inline-meta input[type="text"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 13px;
}

.admin-btn-save {
  background: #000;
  color: #fff;
  opacity: 0.9;
}

.admin-btn-save:hover {
  opacity: 0.75;
}

/* Mobile */
@media (max-width: 720px) {
  .date-row {
    grid-template-columns: 1fr;
  }
  .inline-meta {
    grid-template-columns: 1fr;
  }
}

/* Keep your existing toggle switch styles (switch/slider) */

/* ---------- Admin alert polish ---------- */
@keyframes adminFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.admin-alert {
  display: inline-block;
  padding: 10px 12px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  margin: 10px auto 14px;
  animation: adminFadeIn 0.25s ease-out both;
}

/* ---------- Sticky top bar ---------- */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffdd00;
  padding: 12px 0 10px;
  margin-bottom: 10px;
}

.admin-topbar-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.admin-linkbtn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 13px;
}

/* ---------- Badge ---------- */
.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.admin-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}

/* ---------- Stats (keep if you already have them) ---------- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px auto 12px;
  max-width: 820px;
}

.admin-stat {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.admin-stat-num {
  font-size: 20px;
  font-weight: bold;
}

.admin-stat-label {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 3px;
}

/* ---------- Filters panel ---------- */
.admin-panel {
  max-width: 740px;
  margin: 0 auto 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  overflow: hidden;
}

.admin-panel-summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel-sub {
  font-size: 12px;
  opacity: 0.8;
  font-weight: normal;
}

.admin-panel-body {
  padding: 12px 14px 14px;
}

.field-label {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 6px;
  text-align: left;
}

.admin-filters input[type="text"],
.admin-filters input[type="date"],
.admin-filters select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  background: #fff;
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- Toggle (iOS-style) ---------- */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
  text-align: left;
}

.toggle-label {
  font-size: 13px;
  font-weight: bold;
}

.toggle-help {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 12px;
  text-align: left;
}

.switch {
  position: relative;
  display: inline-block;
  width: 62px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  background: #0b2236;
  border-radius: 999px;
  transition: 0.2s ease;
  cursor: pointer;
}

.slider:before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: 3px;
  top: 3px;
  background: #d9d9d9;
  border-radius: 50%;
  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.switch input:checked + .slider:before {
  transform: translateX(28px);
}

.switch input:checked + .slider {
  background: #000;
}

/* ---------- Bulk bar polish ---------- */
.bulk-bar {
  max-width: 740px;
  margin: 0 auto 10px;
  padding: 12px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
}

.bulk-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.bulk-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bulk-hint {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 8px;
}

.bulk-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 11px;
}

/* ---------- Buttons (keep your existing, add disabled) ---------- */
.admin-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- Table hover polish ---------- */
.admin-table tbody tr:hover {
  background: rgba(255,255,255,0.65);
}

/* ---------- Inline meta editor ---------- */
.inline-meta {
  display: grid;
  grid-template-columns: 120px 1fr 70px;
  gap: 8px;
  align-items: center;
  margin: 0;
}

.inline-meta select,
.inline-meta input[type="text"] {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 13px;
}

.admin-btn-save {
  background: #000;
  color: #fff;
  opacity: 0.9;
}

.admin-btn-save:hover {
  opacity: 0.75;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .date-row { grid-template-columns: 1fr; }
  .inline-meta { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .admin-topbar-actions { gap: 8px; }
  .admin-linkbtn { width: 100%; text-align: center; }
}

/* Orders status pill */
.order-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.7);
}

.order-pill-paid {
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-color: rgba(0,0,0,0.85);
}

.order-pill-pending {
  background: rgba(255,255,255,0.75);
  color: #000;
}
