/* ===== Page-level overrides for split login (dark/orange) ===== */
.login-split {
  --bg: #000000;
  --text: #f6f7f8;
  --muted: #a7adb5;
  --accent: #ff7a1a;
  --surface: #101214;
  --border: #2a2e35;
}

/* Dark navbar */
.login-split .wlh-header {
  background: rgba(10, 10, 12, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.login-split .nav-link {
  color: var(--text);
}

.login-split .nav-link:hover {
  background: transparent;
}

/* Make Book a demo CTA behave like primary button with no dark hover strip */
.login-split .nav-cta {
  background: var(--accent);
  color: #000 !important;
  border: 1px solid var(--accent);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease;
}

.login-split .nav-cta:hover,
.login-split .nav-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 26, .25);
  background: var(--accent);
  text-decoration: none;
}

/* ===== Split Layout ===== */
.auth-split {
  max-width: 1200px;
  margin: 28px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.split-hero {
  position: relative;
  min-height: min(78vh, 720px);
  border: 1px solid var(--border);
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  background: #0b0c0f;
}

.split-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .3);
  display: grid;
  align-content: center;
  padding: clamp(20px, 5vw, 42px);
}

/* ===== Auth card ===== */
.auth-card.plain {
  width: 100%;
  max-width: 520px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* Headings */
.auth-head {
  margin-bottom: 14px;
}

.auth-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--accent);
}

/* Labels + inputs */
.auth-label {
  display: block;
  font-weight: 700;
  margin: 10px 0 6px;
  color: var(--text);
}

.auth-input {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  box-sizing: border-box;
}

.auth-input::placeholder {
  color: var(--muted);
}

/* Focus - same width, no "jump" */
.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}

/* Password field */
.auth-input.auth-input--password {
  padding-right: 44px;
}

/* Password toggle */
.pass-wrap {
  position: relative;
  width: 100%;
}

.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--muted);
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: none !important;
  filter: none !important;
  transition: none !important;
}

.pass-toggle:hover {
  color: var(--text);
}

.pass-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, .25);
  outline-offset: 2px;
}

/* Row under inputs */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

/* CTA row */
.cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

/* Primary button */
.auth-btn {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 122, 26, .35);
  filter: brightness(1.05);
}

/* Ghost button */
.auth-btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 800;
  text-align: center;
  display: inline-block;  /* normal button on desktop */
  width: auto;            /* natural width */
  min-width: 120px;       /* keep consistent size */
  box-sizing: border-box;
  
}

.auth-btn.ghost:hover,
.auth-btn.ghost:focus {
  background: rgba(255, 122, 26, .1);
  text-decoration: none;
}


/* Mobile: stack full width */
@media (max-width: 940px) {
  .auth-btn.ghost {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 0 0;  /* spacing between Login & Sign up */
  }
}

/* Links */
.auth-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Social row */
.social-row {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.social-row a {
  color: var(--muted);
  text-decoration: none;
}

.social-row a:hover {
  color: var(--accent);
}

/* Turnstile */
#turnStileBox {
  margin: 8px 0 2px;
}

.hidden {
  display: none;
}

/* Mobile stack */
@media (max-width: 940px) {
  .login-split .wlh-header {
    padding: 20px 0;   /* increase top/bottom padding just for mobile */
  }

  .auth-split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .split-hero {
    border-radius: 16px;
    min-height: 36vh;
  }

  .split-panel {
    padding: 28px 20px; /* tighter and balanced padding on mobile */
    box-sizing: border-box;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .auth-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* Typewriter animation */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--accent);
  font-weight: 800;
  animation: typing 2.5s steps(20, end), blinkCaret .75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blinkCaret {

  0%,
  100% {
    border-color: transparent
  }

  50% {
    border-color: var(--accent)
  }
}


/* === Flip split for Register: form LEFT, hero RIGHT === */
.register-right .auth-split {
  grid-template-columns: 0.9fr 1.1fr;
  /* a little more width to hero */
  grid-template-areas: "panel hero";
}

.register-right .split-panel {
  grid-area: panel;
  border-right: 1px solid var(--border);
  border-left: none;
  border-radius: 16px 0 0 16px;
}

.register-right .split-hero {
  grid-area: hero;
  border-radius: 0 16px 16px 0;
}

/* 2-col names on wider screens */
.grid-2 {
  display: grid;
  gap: 12px;
}

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

/* Password rules + match styles (dark theme) */
.pw-rules {
  list-style: none;
  padding: 8px 0 0;
  margin: 0 0 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.pw-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.pw-rules i {
  width: 18px;
  text-align: center;
  color: #b45454;
}

.pw-rules i.ok {
  color: #1fda6b;
}

.pw-match {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.pw-match.ok {
  color: #1fda6b;
}

.pw-match.bad {
  color: #ff6b6b;
}

/* Typewriter timing for register copy (reuses existing typewriter CSS) */
.auth-title .typewriter {
  --dur: 2.1s;
  --delay: 0s;
}

.auth-subtitle .typewriter.delay {
  --dur: 1.9s;
  --delay: 2.4s;
}

/* ===== Panel-only mode (no hero) ===== */
.panel-only .auth-split {
  /* collapse to a single centered panel */
  grid-template-columns: 1fr;
  grid-template-areas: "panel";
  max-width: 760px;
  /* a bit wider for comfort */
  margin: 28px auto;
  padding: 0 20px;
}

.panel-only .split-hero {
  display: none;
}

.panel-only .split-panel {
  grid-area: panel;
  border-radius: 16px;
  /* both sides rounded */
  border-left: 1px solid var(--border);
}

/* One-row CTA layout (button + link), or stack on small screens */
.cta-row.one {
  grid-template-columns: 1fr auto;
  gap: 12px;
}

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

/* Optional: slightly larger title in panel-only */
.panel-only .auth-title {
  font-size: clamp(30px, 4.4vw, 40px);
}

/* Reuse existing typewriter timings */
.panel-only .auth-title .typewriter {
  --dur: 1.9s;
  --delay: 0s;
}

.panel-only .auth-subtitle .typewriter {
  --dur: 1.6s;
  --delay: 2.1s;
}


.panel-only .auth-split {
  grid-template-columns: 1fr;
  grid-template-areas: "panel";
  max-width: 760px;
  margin: 28px auto;
  padding: 0 20px;
}

.panel-only .split-hero {
  display: none;
}

.panel-only .split-panel {
  grid-area: panel;
  border-radius: 16px;
  border-left: 1px solid var(--border);
}

.pw-rules {
  list-style: none;
  padding: 8px 0 0;
  margin: 0 0 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.pw-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.pw-rules i {
  width: 18px;
  text-align: center;
  color: #b45454;
}

.pw-rules i.ok {
  color: #1fda6b;
}

.pw-match {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.pw-match.ok {
  color: #1fda6b;
}

.pw-match.bad {
  color: #ff6b6b;
}



/* Stack util for spacing */
.stack {
  display: grid;
}

.stack.gap-12 {
  gap: 12px;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: .75rem 0 1.25rem;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: var(--line, #2a2a2a);
}

.divider__text {
  font-size: .875rem;
  color: var(--muted, #9aa3af);
}

/* Brand-accurate Google button */
.btn-google {
  --btn-bg: #fff;
  --btn-fg: #1f1f1f;
  --btn-bd: #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 8px;
  padding: .65rem .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .02s ease;
}

.btn-google:hover {
  box-shadow: 0 1px 1px rgba(0, 0, 0, .07), 0 2px 8px rgba(0, 0, 0, .06);
}

.btn-google:active {
  transform: translateY(1px);
}

.btn-google:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.g-logo {
  width: 18px;
  height: 18px;
}

.g-text {
  white-space: nowrap;
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .btn-google {
    --btn-bg: #121212;
    --btn-fg: #eaeaea;
    --btn-bd: #2f2f2f;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}



/* ===== Theme ===== */
:root {
  --bg: #0f0f10;
  --card: #121214;
  --muted: #9aa0a6;
  --text: #e9eaee;
  --ring: #ff7a1a;
  --ring-weak: rgba(255, 122, 26, .18);
  --border: rgba(255, 255, 255, .06);
  --border-strong: rgba(255, 255, 255, .12);
}

/* ===== Shell & Card ===== */
.verify-shell {
  min-height: calc(100dvh - 6rem);
  display: grid;
  place-items: center;
}

.verify-card {
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(255, 122, 26, .06), transparent 40%),
    radial-gradient(900px 500px at 110% 120%, rgba(255, 122, 26, .05), transparent 40%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .03);
  
  /* Make the card wider and taller */
  max-width: 550px;      /* was ~400-450px; increase for bigger card */
  width: 100%;
  padding: 2rem 2rem;    /* more inner space */
}


/* ===== Header ===== */
.verify-head {
  padding: 1.25rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.verify-title {
  color: var(--text);
  letter-spacing: .2px;
  margin: 0 0 .25rem;
}

.verify-sub {
  color: var(--muted);
  margin: 0;
}

/* Progress bar + timer */
.verify-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, .06);
  overflow: hidden;
}

.verify-progress>.bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff7a1a, #ffd6b8);
  transition: width .4s linear;
}

.timer-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 999px;
  padding: .3rem .65rem;
  font-weight: 600;
  margin-top: .5rem;
  font-variant-numeric: tabular-nums;
}

/* ===== Body ===== */
.verify-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

/* Label */
.field-label {
  color: var(--text);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: .35rem;
  letter-spacing: .2px;
}

/* ===== OTP row (SIDE-BY-SIDE) ===== */
.otp-wrap {
  margin-top: 1rem;
  display: flex;
  /* side-by-side, no overlap */
  gap: 10px;
  /* space between boxes */
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.otp-input {
  width: 36px;
  /* fixed width prevents overlap */
  height: 38px;
  text-align: center;
  font-size: 16px;
  border-radius: 8px !important;
  background: #1b1c1e;
  border: 1px solid var(--border);
  color: #fff;
  outline: none;
  transition: box-shadow .15s, border-color .15s, transform .06s, background .15s;
  caret-color: #fff;
}

.otp-input:hover {
  border-color: var(--border-strong);
}

.otp-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px var(--ring-weak);
  background: #1f2022;
}

.otp-input.filled {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

/* EXTRA GAP before the Verify button */
.otp-wrap+.d-grid {
  margin-top: 16px !important;
}

/* Small tweak on very small screens */
@media (max-width: 576px) {
  .otp-input {
    width: 32px;
    height: 36px;
    font-size: 15px;
  }
}

/* ===== Buttons ===== */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(180deg, #ff7a1a, #ff6a00);
  color: #111 !important;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  padding: .7rem 1rem;
  letter-spacing: .2px;
  transition: transform .06s ease, filter .2s ease;
}

.btn-brand:hover {
  filter: brightness(1.05);
}

.btn-brand:active {
  transform: translateY(1px);
}

.btn-brand[disabled] {
  opacity: .7;
  cursor: not-allowed;
}

/* Secondary link-style button (Resend) */
.btn-link-pill {
  border-radius: 999px;
  padding: .45rem .8rem;
  color: #ff7a1a !important;
  border: 1px dashed rgba(255, 122, 26, .35);
  background: rgba(255, 122, 26, .06);
}

.btn-link-pill[disabled] {
  opacity: .55;
  pointer-events: none;
}

/* Footer */
.fine {
  color: #8c8c8c;
  font-size: .92rem;
}

.hr {
  margin: 1.25rem 0;
  height: 1px;
  background: var(--border);
  border: none;
}


.captcha-block {
  margin-top: 1rem;  
  margin-bottom: 1.25rem; 
}