.v3-body {
  min-height: 100vh;
  background: var(--funnel-bg, #edf4ff);
  color: var(--text, #152238);
}

.v3-shell {
  width: min(100% - 32px, 960px);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 48px 0 32px;
  display: grid;
  align-items: center;
}

.v3-stage-card {
  padding: clamp(24px, 5vw, 52px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(25, 50, 90, .12);
  text-align: center;
}

.v3-kicker {
  color: var(--primary, #3854ef);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.v3-stage h1 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 6vw, 48px);
}

.v3-stage p {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

.v3-placeholder {
  min-height: 260px;
  margin: 30px 0;
  border: 2px dashed #aab8d0;
  border-radius: 18px;
  background: linear-gradient(135deg, #f6f9ff, #e7efff);
  display: grid;
  place-items: center;
  color: #5b6d8b;
  font-weight: 800;
}

.v3-primary {
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  background: var(--primary, #3854ef);
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.v3-primary:disabled { opacity: .55; cursor: wait; }

.v3-transition {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(237, 244, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.v3-transition[hidden] { display: none; }
.v3-transition span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--primary, #3854ef);
  animation: v3-bounce .8s infinite alternate;
}
.v3-transition span:nth-child(2) { animation-delay: .15s; }
.v3-transition span:nth-child(3) { animation-delay: .3s; }
@keyframes v3-bounce { to { transform: translateY(-14px); opacity: .45; } }

.v3-error {
  margin: 18px auto 0;
  color: #c62828;
  text-align: center;
  font-weight: 800;
}

.v3-footer {
  padding: 20px 16px 36px;
  text-align: center;
  color: #66738a;
  font-size: 12px;
}
.v3-footer a { margin: 0 10px; color: inherit; font-weight: 800; }

@media (max-width: 640px) {
  .v3-shell { width: min(100% - 20px, 960px); padding-top: 16px; }
  .v3-stage-card { border-radius: 18px; }
  .v3-placeholder { min-height: 190px; }
}

.v3-stage1-wrap { width: 100%; }
.v3-v1-video-card { overflow: visible; }
.v3-v1-video-card .video-wrap { border-radius: inherit inherit 0 0; }
.v3-v1-progress { padding: 10px 0; background: var(--video-bg, #08111f); text-align: center; border-radius: 0 0 var(--radius, 14px) var(--radius, 14px); }
.v3-v1-progress span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--primary, #3854ef); }
.v3-viewer-badge {
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #14b8ea;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.v3-live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.v3-video-shell { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #08111f; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.v3-video-shell video { display: block; width: 100%; height: 100%; object-fit: cover; }
.v3-video-fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 24px; text-align: center; color: #dbe7ff; background: radial-gradient(circle at 50% 20%, #253b63, #08111f 68%); }
.v3-video-fallback[hidden] { display: none; }
.v3-video-fallback strong { font-size: clamp(24px, 5vw, 44px); }
.v3-video-fallback span { color: #9fb0ce; }
.v3-unmute { position: absolute; inset: 18% 8%; border: 0; border-radius: 28px; background: rgba(8,17,31,.78); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; cursor: pointer; text-transform: uppercase; }
.v3-unmute[hidden] { display: none; }
.v3-unmute strong { font-size: clamp(20px, 4vw, 38px); }
.v3-unmute .v3-speaker { font-size: clamp(42px, 8vw, 72px); }
.v3-stage1-offer { margin-top: 24px; scroll-margin-top: 18px; }
.v3-stage1-offer[hidden], .v3-availability[hidden], #v3AvailabilityIntro[hidden] { display: none; }
.v3-availability { margin-top: 28px; }
.v3-slot-grid { display: grid; grid-template-columns: repeat(10, minmax(18px, 1fr)); gap: 8px; max-width: 650px; margin: 0 auto 18px; }
.v3-slot { padding: 0; height: 42px; line-height: 1; text-align: center; white-space: nowrap; overflow: hidden; border-radius: 8px; background: #e3e9f3; box-shadow: inset 0 0 0 2px rgba(55,72,98,.08); display: grid; place-items: center; color: #718096; font-size: 9px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; }
.v3-slot.is-taken { background: #ef6b72; color: #fff; font-size: 9px; transform: scale(.94); }
.v3-slot.is-free { background: #36c98f; color: #083d2d; transform: scale(1.04); }
.v3-availability p { margin-bottom: 20px; font-weight: 800; }

@media (max-width: 640px) {
  .v3-viewer-badge { font-size: 11px; padding: 8px 12px; }
  .v3-unmute { inset: 12% 5%; border-radius: 18px; }
  .v3-unmute span:last-child { font-size: 11px; }
  .v3-slot-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 320px; }
  .v3-slot, .v3-slot.is-taken { height: 34px; border-radius: 6px; font-size: 9px; letter-spacing: 0; }
}

.v3-stage2-wrap { width: 100%; }
#v3Stage2ExternalPlayer:empty { display: none; }
#v3Stage2ExternalPlayer .v3-v1-video-card { margin-bottom: 24px; }
.v3-registration { margin-top: 24px; scroll-margin-top: 18px; }
.v3-registration[hidden] { display: none; }
.v3-registration-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 54px); align-items: center; text-align: left; }
.v3-registration-copy h1 { font-size: clamp(28px, 4.5vw, 44px); }
.v3-registration-copy p { color: #5b6d8b; }
.v3-registration-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v3-registration-form label { display: grid; gap: 7px; color: #35445c; font-size: 12px; font-weight: 800; }
.v3-registration-form input,
.v3-registration-form select { width: 100%; min-width: 0; border: 2px solid #e0e6f0; border-radius: 11px; padding: 14px 15px; background: #fff; color: #152238; font: inherit; outline: none; }
.v3-registration-form input,
.v3-registration-form select { font-size: 15px; font-weight: 600; }
.v3-registration-form input:focus,
.v3-registration-form select:focus { border-color: var(--primary, #3854ef); box-shadow: 0 0 0 3px rgba(56,84,239,.1); }
.v3-field-wide { grid-column: 1 / -1; }
.v3-form-error { margin: 0 !important; color: #c62828; font-size: 13px; font-weight: 800; text-align: left; }
.v3-form-ready { padding: 13px 15px; border-radius: 10px; background: #e8f9f1; color: #14734e; font-size: 13px; font-weight: 800; }
.v3-form-error[hidden], .v3-form-ready[hidden] { display: none; }
.v3-registration-form .v3-primary { border-radius: 11px; }
.v3-registration-form .v3-primary.is-loading span { opacity: .65; }

@media (max-width: 760px) {
  .v3-registration-card { grid-template-columns: 1fr; text-align: center; }
  .v3-registration-form { text-align: left; }
}

@media (max-width: 480px) {
  .v3-registration-form { grid-template-columns: 1fr; }
  .v3-registration-form input,
  .v3-registration-form select { font-size: 16px; }
  .v3-registration-form label, .v3-field-wide { grid-column: 1; }
}

.v3-otp-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(8,17,31,.72); }
.v3-otp-overlay[hidden] { display: none; }
.v3-otp-dialog { position: relative; width: min(440px, calc(100vw - 24px)); padding: 34px 26px 28px; border-radius: 20px; background: #fff; color: #152238; box-shadow: 0 24px 70px rgba(0,0,0,.3); text-align: center; }
.v3-otp-dialog h2 { margin: 0 30px 10px; overflow-wrap: anywhere; }
.v3-otp-dialog > p { color: #5b6d8b; }
.v3-otp-close { position: absolute; top: 10px; right: 13px; border: 0; background: transparent; color: #66738a; font-size: 30px; cursor: pointer; }
.v3-otp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.v3-otp-channels[hidden] { display: none; }
.v3-otp-channels button { padding: 13px; border: 2px solid #dfe6f1; border-radius: 10px; background: #f7f9fd; color: #152238; font: inherit; font-weight: 800; cursor: pointer; }
.v3-otp-channel-status, .v3-otp-test { margin: 12px 0 0; font-size: 13px; font-weight: 800; }
.v3-otp-test[hidden] { display: none; }
.v3-otp-digits { display: flex; justify-content: center; gap: 8px; margin: 22px 0 14px; }
.v3-otp-digits input { width: 48px; height: 56px; min-width: 0; border: 2px solid #dfe6f1; border-radius: 10px; text-align: center; font: 800 25px Montserrat, sans-serif; outline: none; }
.v3-otp-digits input:focus { border-color: var(--primary, #3854ef); }
.v3-otp-feedback { min-height: 20px; margin: 0 0 10px !important; color: #c62828 !important; font-size: 13px; font-weight: 800; }
.v3-otp-feedback.is-success { color: #14734e !important; }
.v3-otp-verify { width: 100%; border-radius: 10px; }
.v3-otp-resend { margin-top: 14px; border: 0; background: transparent; color: var(--primary, #3854ef); font: inherit; font-weight: 800; cursor: pointer; }
.v3-otp-resend:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 380px) {
  .v3-otp-dialog { padding-inline: 15px; }
  .v3-otp-digits { gap: 5px; }
  .v3-otp-digits input { width: 40px; height: 50px; font-size: 21px; }
}

.v3-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Stage 3 appointment ------------------------------------------------ */
.v3-tz { margin-top: 6px; font-size: 13px; color: var(--muted, #667085); }
.v3-days { margin: 22px 0 8px; display: grid; gap: 22px; text-align: left; }
.v3-day h2 { margin: 0 0 4px; font-size: 18px; }
.v3-day h2 span { color: var(--primary, #3854ef); }
.v3-day-date { margin: 0 0 12px; font-size: 14px; color: var(--muted, #667085); }
.v3-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.v3-appt-slot { display: grid; gap: 4px; height: auto; min-height: 88px; align-content: center; padding: 12px; border: 2px solid #dbe3f2; border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: center; }
.v3-appt-slot:hover:not(:disabled) { border-color: var(--primary, #3854ef); }
.v3-appt-slot.is-selected { border-color: var(--primary, #3854ef); background: #f0f3ff; }
.v3-appt-slot:disabled { cursor: not-allowed; opacity: .55; background: #f5f6f8; }
.v3-appt-slot .t { font-size: 20px; font-weight: 800; }
.v3-appt-slot .a { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #12805c; }
.v3-appt-slot:disabled .a { color: #b42318; }
.v3-appt-slot .c { font-size: 12px; font-weight: 700; color: var(--primary, #3854ef); }
.v3-appt-slot:disabled .c { color: #98a2b3; }
#v3AppointmentConfirm { margin-top: 18px; }
.v3-done-icon { width: 64px; height: 64px; margin: 8px auto 12px; border-radius: 50%; background: #12805c; color: #fff; font-size: 34px; line-height: 64px; font-weight: 900; }
.v3-done-title { font-size: 22px; font-weight: 900; }
.v3-done-when { margin: 6px auto 14px; font-size: 18px; font-weight: 800; color: var(--primary, #3854ef); }
.v3-form-warning { margin-top: 14px; font-size: 13px; color: #8a5a00; }
.v3-final { display: inline-block; margin-top: 22px; text-decoration: none; }
