*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #0a1f13;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0a1f13; }
::-webkit-scrollbar-thumb { background: rgba(201, 160, 66, 0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201, 160, 66, 0.6); }

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Keyframes */
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* WhatsApp floating button pulse */
.whatsapp-float {
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  animation: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── Hero animated background (Remotion HeroComposition) ── */
.hero-section {
  height: 100svh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, #060f08 0%, #0d2518 35%, #1a3d2b 65%, #0a1f13 100%);
  animation: hero-gradient-shift 24s ease-in-out infinite alternate;
}

@keyframes hero-gradient-shift {
  0% { filter: hue-rotate(0deg) brightness(1); }
  100% { filter: hue-rotate(8deg) brightness(1.05); }
}

.hero-bg-aurora {
  position: absolute;
  left: -20%;
  right: -20%;
  height: 25%;
  opacity: 0.08;
  transform-origin: center;
}
.hero-bg-aurora--1 {
  top: 15%;
  background: linear-gradient(180deg, transparent, rgba(45,106,90,0.6), transparent);
  animation: hero-aurora-1 16s ease-in-out infinite;
}
.hero-bg-aurora--2 {
  top: 48%;
  background: linear-gradient(180deg, transparent, rgba(108,198,165,0.3), transparent);
  animation: hero-aurora-2 20s ease-in-out infinite;
}
.hero-bg-aurora--3 {
  top: 75%;
  background: linear-gradient(180deg, transparent, rgba(45,106,90,0.5), transparent);
  animation: hero-aurora-3 18s ease-in-out infinite reverse;
}

@keyframes hero-aurora-1 {
  0%, 100% { transform: rotate(-1deg) translateY(0); opacity: 0.07; }
  50% { transform: rotate(1.5deg) translateY(-12px); opacity: 0.1; }
}
@keyframes hero-aurora-2 {
  0%, 100% { transform: rotate(1deg) translateY(0); opacity: 0.06; }
  50% { transform: rotate(-1deg) translateY(8px); opacity: 0.09; }
}
@keyframes hero-aurora-3 {
  0%, 100% { transform: rotate(-0.5deg); opacity: 0.07; }
  50% { transform: rotate(1deg); opacity: 0.1; }
}

.hero-bg-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(800px, 90vw);
  height: min(800px, 90vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,61,43,0.45) 0%, rgba(10,31,19,0) 70%);
  animation: hero-glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.55; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.75; }
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: hero-orb-pulse 6s ease-in-out infinite;
}
.hero-bg-orb--1 {
  left: 15%; top: 25%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(45,106,90,0.15) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-bg-orb--2 {
  left: 85%; top: 70%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,160,66,0.13) 0%, transparent 70%);
  animation-delay: 1.5s;
}
.hero-bg-orb--3 {
  left: 80%; top: 18%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(74,183,148,0.1) 0%, transparent 70%);
  animation-delay: 0.5s;
}
.hero-bg-orb--4 {
  left: 20%; top: 80%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,106,90,0.12) 0%, transparent 70%);
  animation-delay: 2.5s;
}

@keyframes hero-orb-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.hero-bg-body {
  position: absolute;
  opacity: 0.1;
  filter: drop-shadow(0 0 12px rgba(201,160,66,0.3));
  pointer-events: none;
  animation: hero-body-float 12s ease-in-out infinite;
}
.hero-bg-body svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-bg-body--left {
  left: 5%;
  top: 50%;
  width: clamp(100px, 12vw, 160px);
  transform: translateY(-50%);
  animation-delay: 0s;
}
.hero-bg-body--right {
  right: 5%;
  top: 50%;
  width: clamp(80px, 10vw, 130px);
  transform: translateY(-50%) scaleX(-1);
  animation-delay: 2s;
}

@keyframes hero-body-float {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-10px); }
}
.hero-bg-body--right {
  animation-name: hero-body-float-right;
}
@keyframes hero-body-float-right {
  0%, 100% { transform: translateY(-50%) scaleX(-1) translateY(0); }
  50% { transform: translateY(-50%) scaleX(-1) translateY(-10px); }
}

.hero-bg-spine {
  position: absolute;
  opacity: 0.25;
  pointer-events: none;
  animation: hero-spine-fade 8s ease-in-out infinite;
}
.hero-bg-spine svg {
  width: 42px;
  height: auto;
  display: block;
}
.hero-bg-spine--left {
  left: 4%;
  top: 12%;
  animation-delay: 1s;
}
.hero-bg-spine--right {
  right: 4%;
  top: 15%;
  animation-delay: 2s;
}

@keyframes hero-spine-fade {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.3; }
}

.hero-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(201,160,66,0.35);
  pointer-events: none;
  animation: hero-ring-rotate 40s linear infinite;
}
.hero-bg-ring::after {
  content: '';
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  border: 1px solid rgba(201,160,66,0.2);
}
.hero-bg-ring--1 {
  left: 12%; top: 20%;
  width: 140px; height: 140px;
  transform: translate(-50%, -50%);
  opacity: 0.18;
}
.hero-bg-ring--2 {
  left: 88%; top: 78%;
  width: 80px; height: 80px;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  animation-duration: 30s;
  animation-direction: reverse;
}
.hero-bg-ring--3 {
  left: 92%; top: 18%;
  width: 200px; height: 200px;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  animation-duration: 50s;
}

@keyframes hero-ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-bg-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.45;
  pointer-events: none;
}
.hero-bg-corner--tl { top: 28px; left: 28px; border-top: 1px solid rgba(201,160,66,0.45); border-left: 1px solid rgba(201,160,66,0.45); }
.hero-bg-corner--tr { top: 28px; right: 28px; border-top: 1px solid rgba(201,160,66,0.45); border-right: 1px solid rgba(201,160,66,0.45); }
.hero-bg-corner--bl { bottom: 28px; left: 28px; border-bottom: 1px solid rgba(201,160,66,0.45); border-left: 1px solid rgba(201,160,66,0.45); }
.hero-bg-corner--br { bottom: 28px; right: 28px; border-bottom: 1px solid rgba(201,160,66,0.45); border-right: 1px solid rgba(201,160,66,0.45); }

.hero-bg-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(201,160,66,0.04);
  pointer-events: none;
}

.hero-bg-sweep {
  position: absolute;
  height: 1px;
  pointer-events: none;
  animation: hero-sweep 8s ease-in-out infinite;
}
.hero-bg-sweep--1 {
  top: 38%;
  left: 0;
  background: linear-gradient(to right, transparent 0%, rgba(201,160,66,0.8) 60%, rgba(201,160,66,0.3) 100%);
  animation-delay: 0s;
}
.hero-bg-sweep--2 {
  top: 62%;
  right: 0;
  background: linear-gradient(to left, transparent 0%, rgba(201,160,66,0.6) 60%, rgba(201,160,66,0.2) 100%);
  animation-delay: 2.5s;
  animation-direction: reverse;
}
.hero-bg-sweep--3 {
  top: 50%;
  left: 0;
  background: linear-gradient(to right, transparent 0%, rgba(201,160,66,0.4) 60%, transparent 100%);
  animation-delay: 5s;
  opacity: 0.5;
}

@keyframes hero-sweep {
  0% { width: 0; opacity: 0; }
  20% { opacity: 1; }
  60% { width: 100%; opacity: 0.8; }
  100% { width: 100%; opacity: 0; }
}

.hero-bg-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-particle {
  position: absolute;
  border-radius: 50%;
  background: #6cc0a5;
  opacity: 0.35;
  box-shadow: 0 0 6px rgba(108,192,165,0.4);
  animation: hero-particle-drift linear infinite;
}
.hero-bg-particle--gold {
  background: #c9a042;
  opacity: 0.55;
  box-shadow: 0 0 8px rgba(201,160,66,0.5);
}

@keyframes hero-particle-drift {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-110vh); opacity: 0; }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(6,14,9,0.65) 100%),
    linear-gradient(to bottom, rgba(6,14,9,0.3) 0%, transparent 28%, transparent 62%, rgba(6,14,9,0.88) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 120px;
}

@media (max-width: 767px) {
  .hero-bg-body,
  .hero-bg-spine,
  .hero-bg-ring,
  .hero-bg-corner {
    display: none;
  }
  .hero-bg-orb {
    transform: scale(0.6);
  }
}

/* Nav hover link */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a042;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Service card hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-card:hover .service-arrow {
  opacity: 1 !important;
  transform: translateX(4px);
}
.service-arrow {
  transition: opacity 0.3s, transform 0.3s;
}

/* Shimmer text with subtle blue accent */
.shimmer-text {
  background: linear-gradient(90deg, #c9a042 0%, #e8c96d 20%, #c9a042 40%, #a8c4e0 55%, #faf6ef 70%, #c9a042 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Input focus styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #c9a042 !important;
  box-shadow: 0 0 0 1px rgba(201, 160, 66, 0.2), 0 0 12px rgba(45, 120, 200, 0.08);
}

/* Button hover */
.btn-primary:hover {
  background: #e8c96d !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 160, 66, 0.3);
}
.btn-primary {
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  background: rgba(250, 246, 239, 0.08) !important;
  border-color: rgba(250, 246, 239, 0.6) !important;
  box-shadow: 0 0 20px rgba(45, 120, 200, 0.1);
}
.btn-ghost {
  transition: all 0.25s ease;
}

/* ── Mobile overrides ── */
@media (max-width: 767px) {
  /* Prevent Remotion player from causing horizontal overflow on mobile */
  section { overflow-x: hidden; }

  /* Make inputs/textareas/selects larger touch targets */
  input, textarea, select {
    font-size: 16px !important; /* prevents iOS auto-zoom */
    border-radius: 0;
  }

  /* Ensure service cards don't transform on touch (no hover state) */
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  /* Hamburger nav-link underline not needed on mobile */
  .nav-link::after { display: none; }

  /* Full-width buttons on mobile */
  .btn-primary, .btn-ghost {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Extra small screens — tighten up further */
  .shimmer-text { font-size: 56px !important; }
}

/* ══════════════════════════════════════════
   ADMIN PANEL — Luxury Clinical Dashboard
   ══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --admin-bg: #080e1a;
  --admin-surface: #0f1729;
  --admin-surface-2: #172033;
  --admin-border: rgba(255,255,255,0.06);
  --admin-border-hover: rgba(255,255,255,0.12);
  --admin-gold: #c9a042;
  --admin-gold-dim: rgba(201,160,66,0.15);
  --admin-gold-glow: rgba(201,160,66,0.08);
  --admin-text: #e2e8f0;
  --admin-text-dim: #64748b;
  --admin-text-muted: #475569;
  --admin-green: #22c55e;
  --admin-red: #ef4444;
  --admin-blue: #3b82f6;
  --admin-amber: #f59e0b;
  --admin-radius: 8px;
  --admin-sidebar-w: 260px;
  --admin-font: 'Outfit', system-ui, sans-serif;
  --admin-font-display: 'Cormorant Garamond', Georgia, serif;
}

/* ── Shared ── */
.admin-error { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: var(--admin-red); padding: 12px 16px; font-size: 13px; border-radius: var(--admin-radius); }
.admin-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: var(--admin-green); padding: 12px 16px; font-size: 13px; border-radius: var(--admin-radius); }
.admin-page-title { font-family: var(--admin-font-display); font-size: 28px; font-weight: 400; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.admin-spinner { width: 28px; height: 28px; border: 2.5px solid rgba(255,255,255,0.08); border-top-color: var(--admin-gold); border-radius: 50%; animation: spin 0.7s linear infinite; margin-bottom: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.admin-btn-gold { background: var(--admin-gold); color: #080e1a; border: none; padding: 10px 22px; font-size: 13px; font-weight: 600; font-family: var(--admin-font); letter-spacing: 0.04em; cursor: pointer; border-radius: 6px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.admin-btn-gold:hover:not(:disabled) { background: #d4ad52; box-shadow: 0 4px 20px rgba(201,160,66,0.25); }
.admin-btn-gold:disabled { opacity: 0.45; cursor: not-allowed; }
.admin-btn-gold .btn-icon { font-size: 18px; font-weight: 300; line-height: 1; }
.admin-btn-ghost-v2 { background: transparent; color: var(--admin-text-dim); border: 1px solid var(--admin-border); padding: 10px 22px; font-size: 13px; font-weight: 500; font-family: var(--admin-font); cursor: pointer; border-radius: 6px; transition: all 0.2s; }
.admin-btn-ghost-v2:hover { color: var(--admin-text); border-color: var(--admin-border-hover); }

/* ══════════════════════════
   LOGIN PAGE
   ══════════════════════════ */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--admin-bg); font-family: var(--admin-font); position: relative; overflow: hidden; }
.login-bg-pattern { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 20% 50%, var(--admin-gold) 1px, transparent 1px), radial-gradient(circle at 80% 20%, var(--admin-gold) 1px, transparent 1px); background-size: 60px 60px, 80px 80px; }
.login-bg-glow { position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,160,66,0.06) 0%, transparent 70%); pointer-events: none; }
.login-container { position: relative; z-index: 1; text-align: center; width: 100%; max-width: 420px; padding: 0 20px; }
.login-brand { margin-bottom: 36px; }
.login-logo-img { width: 72px; height: auto; margin-bottom: 16px; filter: drop-shadow(0 0 12px rgba(201,160,66,0.3)); }
.login-title { font-family: var(--admin-font-display); font-size: 30px; font-weight: 300; color: #fff; letter-spacing: -0.01em; }
.login-divider { width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--admin-gold), transparent); margin: 14px auto; }
.login-subtitle { font-size: 11px; color: var(--admin-text-dim); letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; }
.login-card { background: var(--admin-surface); border: 1px solid var(--admin-border); padding: 32px 28px; border-radius: 12px; text-align: left; backdrop-filter: blur(10px); }
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-field { display: flex; flex-direction: column; gap: 7px; }
.login-field label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--admin-text-dim); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.login-field input { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 12px 16px; font-size: 14px; font-family: var(--admin-font); border-radius: 6px; outline: none; transition: border-color 0.25s, box-shadow 0.25s; }
.login-field input:focus { border-color: var(--admin-gold); box-shadow: 0 0 0 3px var(--admin-gold-dim); }
.login-field input::placeholder { color: var(--admin-text-muted); }
.login-error { background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15); color: var(--admin-red); padding: 10px 14px; font-size: 13px; border-radius: 6px; }
.login-submit { width: 100%; background: var(--admin-gold); color: #080e1a; border: none; padding: 13px; font-size: 14px; font-weight: 600; font-family: var(--admin-font); letter-spacing: 0.04em; cursor: pointer; border-radius: 6px; transition: all 0.25s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.login-submit:hover:not(:disabled) { background: #d4ad52; box-shadow: 0 6px 24px rgba(201,160,66,0.3); transform: translateY(-1px); }
.login-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.login-footer { margin-top: 24px; font-size: 11px; color: var(--admin-text-muted); letter-spacing: 0.08em; }

/* ══════════════════════════
   SHELL / SIDEBAR LAYOUT
   ══════════════════════════ */
.admin-shell { display: flex; min-height: 100vh; background: var(--admin-bg); color: var(--admin-text); font-family: var(--admin-font); }
.admin-sidebar { width: var(--admin-sidebar-w); background: var(--admin-surface); border-right: 1px solid var(--admin-border); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.admin-sidebar-close { display: none; background: none; border: none; color: var(--admin-text-dim); cursor: pointer; padding: 4px; }
.admin-overlay { display: none; }

.admin-sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px; border-bottom: 1px solid var(--admin-border); }
.admin-sidebar-logo { flex-shrink: 0; }
.admin-logo-mark { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1.5px solid rgba(201,160,66,0.25); border-radius: 10px; font-family: var(--admin-font-display); font-size: 16px; color: var(--admin-gold); background: rgba(201,160,66,0.04); letter-spacing: 0.03em; }
.admin-sidebar-brand-text { min-width: 0; }
.admin-sidebar-title { display: block; font-family: var(--admin-font-display); font-size: 16px; font-weight: 400; color: #fff; white-space: nowrap; }
.admin-sidebar-badge { display: inline-block; font-size: 9px; color: var(--admin-gold); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-top: 1px; }

.admin-sidebar-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--admin-text-dim); text-decoration: none; border-radius: 7px; transition: all 0.2s; font-weight: 450; }
.admin-sidebar-link:hover { color: var(--admin-text); background: rgba(255,255,255,0.04); }
.admin-sidebar-link.active { color: var(--admin-gold); background: var(--admin-gold-glow); font-weight: 550; }
.admin-sidebar-link.active svg { color: var(--admin-gold); }

.admin-sidebar-footer { padding: 16px; border-top: 1px solid var(--admin-border); display: flex; align-items: center; gap: 10px; }
.admin-sidebar-avatar { width: 32px; height: 32px; border-radius: 8px; background: var(--admin-gold-dim); color: var(--admin-gold); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.admin-sidebar-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.admin-sidebar-user-info { display: flex; flex-direction: column; min-width: 0; }
.admin-sidebar-user-email { font-size: 12px; color: var(--admin-text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar-user-role { font-size: 10px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.admin-sidebar-logout { background: none; border: 1px solid var(--admin-border); color: var(--admin-text-dim); cursor: pointer; padding: 7px; border-radius: 6px; transition: all 0.2s; display: flex; flex-shrink: 0; }
.admin-sidebar-logout:hover { color: var(--admin-red); border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.06); }

.admin-main { flex: 1; margin-left: var(--admin-sidebar-w); min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--admin-border); }
.admin-topbar-menu { display: none; background: none; border: none; color: var(--admin-text-dim); cursor: pointer; padding: 4px; }
.admin-topbar-greeting { font-size: 13px; color: var(--admin-text-dim); font-weight: 400; }
.admin-content { padding: 28px; max-width: 1200px; }
.admin-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; background: var(--admin-bg); color: var(--admin-text-dim); font-family: var(--admin-font); font-size: 14px; }

/* ══════════════════════════
   DASHBOARD
   ══════════════════════════ */
.dash-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 0; color: var(--admin-text-dim); font-size: 13px; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.dash-title { font-family: var(--admin-font-display); font-size: 30px; font-weight: 300; color: #fff; letter-spacing: -0.01em; }
.dash-date { font-size: 13px; color: var(--admin-text-dim); margin-top: 2px; }

.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.dash-stat-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; transition: border-color 0.25s; }
.dash-stat-card:hover { border-color: var(--admin-border-hover); }
.dash-stat-primary { border-color: rgba(201,160,66,0.15); background: linear-gradient(135deg, var(--admin-surface) 0%, rgba(201,160,66,0.04) 100%); }
.dash-stat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--admin-gold-dim); color: var(--admin-gold); flex-shrink: 0; }
.dash-stat-icon-green { background: rgba(34,197,94,0.1); color: var(--admin-green); }
.dash-stat-icon-blue { background: rgba(59,130,246,0.1); color: var(--admin-blue); }
.dash-stat-icon-amber { background: rgba(245,158,11,0.1); color: var(--admin-amber); }
.dash-stat-body { display: flex; flex-direction: column; }
.dash-stat-value { font-size: 24px; font-weight: 600; color: #fff; line-height: 1.1; }
.dash-stat-label { font-size: 12px; color: var(--admin-text-dim); margin-top: 2px; }

.dash-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }

.dash-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; overflow: hidden; }
.dash-card-wide { grid-column: 1; }
.dash-sidebar { display: flex; flex-direction: column; gap: 20px; }
.dash-card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--admin-border); }
.dash-card-header h3 { font-size: 14px; font-weight: 550; color: var(--admin-text); display: flex; align-items: center; gap: 8px; }
.dash-card-link { background: none; border: none; color: var(--admin-gold); font-size: 12px; font-family: var(--admin-font); cursor: pointer; display: flex; align-items: center; gap: 4px; font-weight: 500; transition: opacity 0.2s; }
.dash-card-link:hover { opacity: 0.8; }
.dash-card-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 20px; color: var(--admin-text-muted); gap: 10px; }
.dash-card-empty p { font-size: 13px; }
.dash-card-empty-sm { font-size: 13px; color: var(--admin-text-muted); padding: 20px; }

/* Timeline */
.dash-timeline { padding: 8px 0; }
.dash-timeline-item { display: flex; align-items: center; gap: 14px; padding: 10px 20px; transition: background 0.15s; }
.dash-timeline-item:hover { background: rgba(255,255,255,0.02); }
.dash-timeline-time { display: flex; flex-direction: column; align-items: flex-end; min-width: 64px; }
.dash-time-primary { font-size: 13px; font-weight: 600; color: var(--admin-text); }
.dash-time-end { font-size: 10px; color: var(--admin-text-muted); }
.dash-timeline-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-timeline-content { flex: 1; min-width: 0; }
.dash-timeline-name { display: block; font-size: 13px; font-weight: 500; color: var(--admin-text); }
.dash-timeline-condition { display: block; font-size: 11px; color: var(--admin-text-dim); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-badge { font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: capitalize; flex-shrink: 0; }
.dash-badge-confirmed { background: rgba(34,197,94,0.1); color: var(--admin-green); }
.dash-badge-completed { background: rgba(59,130,246,0.1); color: var(--admin-blue); }
.dash-badge-cancelled { background: rgba(239,68,68,0.1); color: var(--admin-red); }
.dash-badge-rescheduled { background: rgba(245,158,11,0.1); color: var(--admin-amber); }

/* Upcoming list */
.dash-upcoming-list { padding: 4px 0; }
.dash-upcoming-item { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--admin-border); }
.dash-upcoming-item:last-child { border-bottom: none; }
.dash-upcoming-date { font-size: 11px; color: var(--admin-gold); font-weight: 600; min-width: 80px; }
.dash-upcoming-detail { flex: 1; min-width: 0; }
.dash-upcoming-name { display: block; font-size: 13px; color: var(--admin-text); font-weight: 450; }
.dash-upcoming-time { display: block; font-size: 11px; color: var(--admin-text-dim); }

/* Recent bookings */
.dash-recent-list { padding: 4px 0; }
.dash-recent-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--admin-border); }
.dash-recent-item:last-child { border-bottom: none; }
.dash-recent-left { display: flex; align-items: center; gap: 10px; }
.dash-recent-ref { font-family: 'JetBrains Mono', monospace, 'Courier New'; font-size: 11px; color: var(--admin-gold); background: var(--admin-gold-glow); padding: 2px 8px; border-radius: 4px; }
.dash-recent-name { font-size: 13px; color: var(--admin-text); }
.dash-recent-time { font-size: 11px; color: var(--admin-text-muted); }

/* ══════════════════════════
   APPOINTMENTS LIST
   ══════════════════════════ */
.apt-page { }
.apt-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.apt-count { font-size: 13px; color: var(--admin-text-dim); }

.apt-status-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.apt-status-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--admin-surface); border: 1px solid var(--admin-border); color: var(--admin-text-dim); font-size: 12.5px; font-weight: 500; font-family: var(--admin-font); cursor: pointer; border-radius: 20px; transition: all 0.2s; }
.apt-status-tab:hover { border-color: var(--admin-border-hover); color: var(--admin-text); }
.apt-status-tab.active { border-color: var(--admin-gold); color: var(--admin-gold); background: var(--admin-gold-glow); }
.apt-tab-dot { width: 7px; height: 7px; border-radius: 50%; }
.apt-tab-count { font-size: 11px; color: var(--admin-text-muted); margin-left: 2px; }

.apt-toolbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.apt-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 7px; padding: 0 14px; transition: border-color 0.2s; }
.apt-search:focus-within { border-color: var(--admin-gold); }
.apt-search svg { color: var(--admin-text-muted); flex-shrink: 0; }
.apt-search input { background: none; border: none; color: var(--admin-text); padding: 10px 0; font-size: 13px; font-family: var(--admin-font); outline: none; width: 100%; }
.apt-search input::placeholder { color: var(--admin-text-muted); }

.apt-date-filters { display: flex; align-items: center; gap: 8px; }
.apt-date-field { display: flex; align-items: center; gap: 6px; background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 7px; padding: 0 12px; }
.apt-date-field svg { color: var(--admin-text-muted); flex-shrink: 0; }
.apt-date-field input { background: none; border: none; color: var(--admin-text); padding: 9px 0; font-size: 13px; font-family: var(--admin-font); outline: none; }
.apt-date-sep { font-size: 12px; color: var(--admin-text-muted); }
.apt-clear-dates { background: none; border: none; color: var(--admin-red); font-size: 12px; cursor: pointer; font-family: var(--admin-font); font-weight: 500; }

.apt-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 60px 0; color: var(--admin-text-dim); font-size: 13px; }
.apt-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 0; color: var(--admin-text-muted); gap: 10px; }
.apt-empty p { font-size: 13px; }

.apt-table-container { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; overflow-x: auto; }
.apt-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.apt-table th { text-align: left; padding: 12px 16px; font-size: 10px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; border-bottom: 1px solid var(--admin-border); background: rgba(255,255,255,0.01); }
.apt-table td { padding: 14px 16px; border-bottom: 1px solid var(--admin-border); color: var(--admin-text-dim); vertical-align: middle; }
.apt-table tr:last-child td { border-bottom: none; }
.apt-table tr:hover td { background: rgba(255,255,255,0.015); }
.apt-ref { font-family: 'JetBrains Mono', monospace, 'Courier New'; font-size: 11.5px; color: var(--admin-text-dim); background: rgba(255,255,255,0.04); padding: 3px 8px; border-radius: 4px; }
.apt-date-cell { font-weight: 450; color: var(--admin-text); white-space: nowrap; }
.apt-time-cell { white-space: nowrap; }
.apt-time-dim { color: var(--admin-text-muted); font-size: 12px; }
.apt-name-cell { display: flex; flex-direction: column; gap: 1px; }
.apt-patient-name { font-weight: 500; color: var(--admin-text); }
.apt-patient-email { font-size: 11px; color: var(--admin-text-muted); }
.apt-condition { font-size: 12px; }
.apt-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 550; text-transform: capitalize; color: var(--status-color); }
.apt-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--status-color); }
.apt-actions-none { color: var(--admin-text-muted); font-size: 12px; }

/* ══════════════════════════
   ACTIONS DROPDOWN
   ══════════════════════════ */
.actions-wrap { display: inline-flex; }
.actions-trigger { background: var(--admin-surface-2); border: 1px solid var(--admin-border); color: var(--admin-text-dim); cursor: pointer; padding: 5px 8px; border-radius: 5px; display: flex; transition: all 0.15s; }
.actions-trigger:hover { color: var(--admin-text); border-color: var(--admin-border-hover); }
.actions-backdrop { position: fixed; inset: 0; z-index: 999; }
.actions-dropdown { background: var(--admin-surface-2); border: 1px solid var(--admin-border-hover); border-radius: 8px; min-width: 200px; z-index: 1000; padding: 4px; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.actions-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; background: none; border: none; color: var(--admin-text-dim); font-size: 13px; font-family: var(--admin-font); cursor: pointer; border-radius: 5px; transition: all 0.15s; text-align: left; }
.actions-item:hover { background: rgba(255,255,255,0.04); }
.actions-item-complete:hover { color: var(--admin-green); }
.actions-item-reschedule:hover { color: var(--admin-amber); }
.actions-item-cancel:hover { color: var(--admin-red); }
.actions-item-delete { color: var(--admin-text-muted); }
.actions-item-delete:hover { color: var(--admin-red); background: rgba(239,68,68,0.06); }
.actions-item:disabled { opacity: 0.4; cursor: not-allowed; }
.actions-divider { height: 1px; background: var(--admin-border); margin: 4px 0; }
.actions-reschedule { padding: 12px; border-top: 1px solid var(--admin-border); display: flex; flex-direction: column; gap: 8px; }
.actions-reschedule-header { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--admin-text-dim); }
.actions-reschedule-close { background: none; border: none; color: var(--admin-text-muted); cursor: pointer; padding: 2px; }
.actions-reschedule input { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 8px 10px; font-size: 13px; font-family: var(--admin-font); border-radius: 5px; outline: none; }
.actions-reschedule input:focus { border-color: var(--admin-gold); }
.actions-confirm-btn { font-size: 12px; padding: 8px 14px; }
.actions-error { padding: 8px 12px; font-size: 11px; color: var(--admin-red); }

/* ══════════════════════════
   CREATE APPOINTMENT
   ══════════════════════════ */
.create-page { max-width: 680px; }
.create-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--admin-text-dim); font-size: 13px; font-family: var(--admin-font); cursor: pointer; margin-bottom: 20px; transition: color 0.2s; }
.create-back:hover { color: var(--admin-gold); }
.create-desc { font-size: 14px; color: var(--admin-text-dim); margin-bottom: 28px; line-height: 1.5; }
.create-success { display: flex; align-items: center; gap: 10px; background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.15); color: var(--admin-green); padding: 14px 18px; font-size: 13px; border-radius: 8px; margin-bottom: 24px; }
.create-form { display: flex; flex-direction: column; gap: 0; }
.create-section { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.create-section-title { font-size: 15px; font-weight: 600; color: var(--admin-text); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.create-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.create-field { display: flex; flex-direction: column; gap: 6px; }
.create-field-full { grid-column: 1 / -1; }
.create-field label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--admin-text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.create-field input, .create-field select { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 10px 14px; font-size: 14px; font-family: var(--admin-font); border-radius: 6px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.create-field input:focus, .create-field select:focus { border-color: var(--admin-gold); box-shadow: 0 0 0 3px var(--admin-gold-dim); }
.create-field input::placeholder { color: var(--admin-text-muted); }
.create-field-error { font-size: 12px; color: var(--admin-red); }
.create-actions { display: flex; gap: 12px; justify-content: flex-end; }

/* ══════════════════════════
   AVAILABILITY MANAGER
   ══════════════════════════ */
.avail-page { }
.avail-desc { font-size: 14px; color: var(--admin-text-dim); margin-bottom: 28px; line-height: 1.5; }
.avail-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

.avail-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; overflow: hidden; }
.avail-card-header { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--admin-border); }
.avail-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.avail-card-icon-red { background: rgba(239,68,68,0.1); color: var(--admin-red); }
.avail-card-icon-amber { background: rgba(245,158,11,0.1); color: var(--admin-amber); }
.avail-card-title { font-size: 15px; font-weight: 600; color: var(--admin-text); margin-bottom: 2px; }
.avail-card-desc { font-size: 12px; color: var(--admin-text-dim); }

.avail-add-form { padding: 20px 24px; border-bottom: 1px solid var(--admin-border); background: rgba(255,255,255,0.01); }
.avail-add-row { display: flex; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.avail-add-row:last-child { margin-bottom: 0; }
.avail-add-field { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.avail-add-field-grow { flex: 2; }
.avail-add-field label { font-size: 10px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.avail-add-field input, .avail-add-field select { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 8px 12px; font-size: 13px; font-family: var(--admin-font); border-radius: 6px; outline: none; width: 100%; }
.avail-add-field input:focus, .avail-add-field select:focus { border-color: var(--admin-gold); }
.avail-add-field input::placeholder { color: var(--admin-text-muted); }
.avail-add-btn { white-space: nowrap; align-self: flex-end; padding: 8px 16px; font-size: 12px; }

.avail-items { padding: 4px 0; }
.avail-loading { padding: 20px 24px; font-size: 13px; color: var(--admin-text-dim); }
.avail-empty { display: flex; flex-direction: column; align-items: center; padding: 32px; color: var(--admin-text-muted); gap: 8px; }
.avail-empty p { font-size: 13px; }
.avail-item { display: flex; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--admin-border); transition: background 0.15s; }
.avail-item:last-child { border-bottom: none; }
.avail-item:hover { background: rgba(255,255,255,0.015); }
.avail-item-info { flex: 1; }
.avail-item-dates { display: block; font-size: 13px; color: var(--admin-text); font-weight: 450; }
.avail-item-meta { display: block; font-size: 11px; color: var(--admin-text-dim); margin-top: 2px; }
.avail-delete { background: none; border: 1px solid rgba(239,68,68,0.15); color: var(--admin-red); cursor: pointer; padding: 6px 8px; border-radius: 5px; display: flex; transition: all 0.15s; opacity: 0.6; }
.avail-delete:hover { opacity: 1; background: rgba(239,68,68,0.08); }

/* ══════════════════════════
   RESPONSIVE
   ══════════════════════════ */
@media (max-width: 1024px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-sidebar { flex-direction: row; }
  .dash-sidebar > .dash-card { flex: 1; }
}

@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.5); }
  .admin-sidebar-close { display: block; margin-left: auto; }
  .admin-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
  .admin-main { margin-left: 0; }
  .admin-topbar-menu { display: block; }
  .admin-content { padding: 20px 16px; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dash-header { flex-direction: column; gap: 14px; }
  .dash-sidebar { flex-direction: column; }

  .apt-toolbar { flex-direction: column; }
  .apt-date-filters { flex-wrap: wrap; }
  .apt-status-tabs { gap: 4px; }
  .apt-table { font-size: 12px; }
  .apt-table th:nth-child(5), .apt-table td:nth-child(5) { display: none; }

  .create-grid { grid-template-columns: 1fr; }

  .avail-add-row { flex-direction: column; align-items: stretch; }
  .avail-add-btn { align-self: stretch; }

  .wh-table-header { display: none; }
  .wh-row { flex-direction: column; gap: 10px; padding: 16px 20px; }
  .wh-col-day { width: auto; }
  .wh-col-status { width: auto; }
  .wh-col-start, .wh-col-end { width: auto; }
  .wh-col-preview { display: none; }
}

/* ══════════════════════════
   WORKING HOURS
   ══════════════════════════ */
.wh-page { max-width: 820px; }
.wh-desc { font-size: 14px; color: var(--admin-text-dim); margin-bottom: 28px; line-height: 1.5; }
.wh-loading { display: flex; align-items: center; gap: 10px; padding: 60px 0; color: var(--admin-text-dim); font-size: 13px; }

.wh-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; overflow: hidden; }
.wh-card-header { display: flex; align-items: center; gap: 10px; padding: 16px 24px; border-bottom: 1px solid var(--admin-border); font-size: 14px; font-weight: 550; color: var(--admin-text); }

.wh-table { }
.wh-table-header { display: flex; align-items: center; padding: 10px 24px; border-bottom: 1px solid var(--admin-border); background: rgba(255,255,255,0.01); }
.wh-table-header span { font-size: 10px; color: var(--admin-text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.wh-col-day { width: 120px; flex-shrink: 0; }
.wh-col-status { width: 120px; flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.wh-col-start { width: 140px; flex-shrink: 0; }
.wh-col-end { width: 140px; flex-shrink: 0; }
.wh-col-preview { flex: 1; min-width: 0; }

.wh-row { display: flex; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--admin-border); transition: background 0.15s; }
.wh-row:last-child { border-bottom: none; }
.wh-row:hover { background: rgba(255,255,255,0.015); }
.wh-row-closed { opacity: 0.55; }
.wh-day-name { font-size: 14px; font-weight: 500; color: var(--admin-text); }

/* Toggle switch */
.wh-toggle { width: 36px; height: 20px; border-radius: 10px; border: none; background: var(--admin-surface-2); cursor: pointer; position: relative; transition: background 0.25s; padding: 0; flex-shrink: 0; }
.wh-toggle-on { background: var(--admin-green); }
.wh-toggle-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.25s; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.wh-toggle-on .wh-toggle-thumb { transform: translateX(16px); }
.wh-toggle-label { font-size: 12px; color: var(--admin-text-dim); font-weight: 500; }
.wh-closed-label { color: var(--admin-red); }

.wh-time-input { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 7px 10px; font-size: 13px; font-family: var(--admin-font); border-radius: 5px; outline: none; width: 110px; transition: border-color 0.2s; }
.wh-time-input:focus { border-color: var(--admin-gold); }

.wh-na { color: var(--admin-text-muted); font-size: 13px; }
.wh-preview-text { font-size: 12px; color: var(--admin-gold); font-weight: 500; }
.wh-preview-closed { font-size: 12px; color: var(--admin-red); font-weight: 500; }

.wh-actions { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--admin-border); background: rgba(255,255,255,0.01); }

/* ══════════════════════════
   SEO / SEARCH CONSOLE
   ══════════════════════════ */
.seo-page { max-width: 720px; }
.seo-desc { font-size: 14px; color: var(--admin-text-dim); margin-bottom: 28px; line-height: 1.5; }
.seo-form { display: flex; flex-direction: column; gap: 20px; }
.seo-card { background: var(--admin-surface); border: 1px solid var(--admin-border); border-radius: 10px; overflow: hidden; }
.seo-card-header { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--admin-border); color: var(--admin-gold); }
.seo-card-title { font-size: 15px; font-weight: 600; color: var(--admin-text); margin-bottom: 2px; }
.seo-card-hint { font-size: 12px; color: var(--admin-text-dim); line-height: 1.45; }
.seo-card-hint code { font-size: 11px; color: var(--admin-gold); background: var(--admin-gold-glow); padding: 1px 6px; border-radius: 4px; }
.seo-card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.seo-field { display: flex; flex-direction: column; gap: 6px; }
.seo-field label { font-size: 11px; color: var(--admin-text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.seo-field input,
.seo-field textarea { background: var(--admin-bg); border: 1px solid var(--admin-border); color: var(--admin-text); padding: 11px 14px; font-size: 14px; font-family: var(--admin-font); border-radius: 6px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; box-sizing: border-box; }
.seo-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.seo-field input:focus,
.seo-field textarea:focus { border-color: var(--admin-gold); box-shadow: 0 0 0 3px var(--admin-gold-dim); }
.seo-field-help { font-size: 12px; color: var(--admin-text-muted); line-height: 1.45; margin: 0; }
.seo-field-help code { font-size: 11px; color: var(--admin-gold); }
.seo-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--admin-text); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 450; }
.seo-check input { width: 16px; height: 16px; accent-color: var(--admin-gold); cursor: pointer; }
.seo-sitemap { background: rgba(255,255,255,0.02); border: 1px solid var(--admin-border); border-radius: 8px; padding: 14px 16px; }
.seo-sitemap-label { font-size: 11px; color: var(--admin-text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.seo-sitemap-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seo-sitemap-row code { flex: 1; min-width: 0; font-size: 12px; color: var(--admin-gold); background: var(--admin-gold-glow); padding: 8px 12px; border-radius: 5px; word-break: break-all; }
.seo-actions { display: flex; justify-content: flex-end; padding-top: 4px; }
