/* Sign-up page — scoped to body.signup-page */

body.signup-page {
  background: #f4f6f9;
}

/* Do not clip reCAPTCHA challenge overlay (body overflow:hidden breaks the popup) */
body.signup-page .signup-hero,
body.signup-page .signup-main {
  overflow-x: clip;
}

/* Prevent grid/flex children from forcing horizontal scroll */
body.signup-page main,
body.signup-page .signup-hero,
body.signup-page .signup-main,
body.signup-page .signup-layout,
body.signup-page .signup-form-wrap,
body.signup-page .signup-sidebar,
body.signup-page .signup-form-panel,
body.signup-page .booking-container {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.signup-page .signup-layout > * {
  min-width: 0;
}

body.signup-page .signup-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 64px 0 48px;
  overflow: hidden;
  background: #ffffff;
}

/* Full-width billboard: white left (content) + classroom photo right, built into the image */
body.signup-page .signup-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/signup-hero-billboard.png");
  background-size: cover;
  background-position: 68% 18%;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

/* Soft fade only at the bottom into the form section — does not cover the left copy area */
body.signup-page .signup-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 72%,
    rgba(244, 246, 249, 0.75) 90%,
    #f4f6f9 100%
  );
  pointer-events: none;
}

body.signup-page .signup-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 480px;
  width: 100%;
}

/* Card over the white side of the billboard — centered in left half, copy left-aligned */
body.signup-page .signup-hero-inner {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 480px;
  margin: 0;
  padding: 32px 36px 36px;
  text-align: left;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 48px rgba(7, 26, 47, 0.12);
}

body.signup-page .signup-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d71920;
  margin-bottom: 12px;
}

body.signup-page .signup-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: #071a2f;
  line-height: 1.15;
  margin: 0 0 16px;
}

body.signup-page .signup-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #5a6578;
  margin: 0 0 20px;
  max-width: 480px;
}

body.signup-page .signup-hero-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

body.signup-page .signup-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #d71920;
  border: 1px solid #d71920;
  border-radius: 10px;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.signup-page .signup-hero-phone:hover {
  background: #b9151b;
  border-color: #b9151b;
  color: #fff !important;
}

body.signup-page .signup-main {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

body.signup-page .signup-layout {
  display: grid;
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

body.signup-page .signup-sidebar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 20px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(7, 17, 31, 0.06);
}

body.signup-page .signup-sidebar-phone {
  border-color: rgba(215, 25, 32, 0.25);
  background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

body.signup-page .signup-sidebar-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #071a2f;
  margin: 0 0 10px;
}

body.signup-page .signup-sidebar-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #5a6578;
  margin: 0 0 12px;
}

body.signup-page .signup-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #d71920 !important;
  text-decoration: none !important;
}

body.signup-page .signup-phone-link:hover {
  color: #b9151b !important;
}

body.signup-page .signup-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.signup-page .signup-schedule-list li {
  padding: 14px 0;
  border-bottom: 1px solid #eef1f5;
}

body.signup-page .signup-schedule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.signup-page .signup-schedule-list strong {
  display: block;
  font-size: 0.95rem;
  color: #071a2f;
  margin-bottom: 4px;
}

body.signup-page .signup-schedule-list span {
  display: block;
  font-size: 0.875rem;
  color: #5a6578;
}

body.signup-page .signup-loc {
  font-size: 0.8125rem !important;
  color: #8b95a5 !important;
  margin-top: 2px;
}

body.signup-page .signup-sidebar-note {
  font-size: 0.8125rem;
  color: #8b95a5;
  margin: 12px 0 0;
  line-height: 1.5;
}

body.signup-page .signup-locations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #5a6578;
}

body.signup-page .signup-locations-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eef1f5;
}

body.signup-page .signup-locations-list li:last-child {
  border-bottom: none;
}

body.signup-page .signup-locations-list strong {
  color: #071a2f;
}

body.signup-page .signup-downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.signup-page .signup-download-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #f8fafc;
  border: 1px dashed #d0d7e2;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #8b95a5;
}

body.signup-page .signup-download-placeholder i {
  color: #d71920;
  opacity: 0.6;
}

body.signup-page .signup-form-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 40px rgba(7, 17, 31, 0.08);
}

body.signup-page .signup-class-photo {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

body.signup-page .signup-class-photo img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
}

body.signup-page .signup-class-photo figcaption {
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: #5a6578;
  background: #f8fafc;
  border-top: 1px solid #eef1f5;
}

body.signup-page .signup-form-intro h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #071a2f;
  margin: 0 0 10px;
}

body.signup-page .signup-form-intro p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a6578;
  margin: 0 0 24px;
}

body.signup-page .signup-form-intro ul {
  margin: 0 0 24px;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #5a6578;
  line-height: 1.55;
}

body.signup-page .required-field::after {
  content: " *";
  color: #d71920;
}

body.signup-page .booking-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-top: 8px;
}

body.signup-page .booking-container h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #071a2f;
}

body.signup-page .booking-summary {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}

body.signup-page .booking-summary h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

body.signup-page .time-slot.selected,
body.signup-page .time-slot.btn-primary {
  background: #d71920 !important;
  border-color: #d71920 !important;
}

body.signup-page #registrationForm .btn-success {
  background: #d71920;
  border-color: #d71920;
  padding: 14px 36px;
  font-weight: 700;
  border-radius: 10px;
}

body.signup-page #registrationForm .btn-success:hover {
  background: #b9151b;
  border-color: #b9151b;
}

body.signup-page .signup-recaptcha-wrap {
  min-height: 78px;
  max-width: 100%;
  padding: 4px 0;
}

body.signup-page #signup-recaptcha {
  min-height: 78px;
}

body.signup-page #recaptchaStatus {
  margin-top: 8px;
}

body.signup-page #datepicker {
  max-width: 100%;
}

body.signup-page .ui-datepicker {
  width: 100% !important;
  max-width: 100%;
  font-size: 0.95rem;
  box-sizing: border-box;
}

body.signup-page .ui-datepicker-calendar {
  table-layout: fixed;
  width: 100%;
}

@media (max-width: 991.98px) {
  body.signup-page .signup-layout {
    grid-template-columns: 1fr;
  }

  body.signup-page .signup-sidebar {
    order: 2;
  }

  body.signup-page .signup-form-wrap {
    order: 1;
  }

  body.signup-page .signup-hero {
    min-height: 440px;
    padding: 48px 0 36px;
  }

  body.signup-page .signup-hero-bg {
    background-position: 72% 12%;
  }

  body.signup-page .signup-hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 0 0 8px;
  }

  body.signup-page .signup-hero-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 28px 22px 30px;
  }
}

@media (max-width: 991.98px) {
  body.signup-page .home-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.signup-page .signup-form-panel {
    padding: 22px 18px 26px;
  }

  body.signup-page .booking-container {
    padding: 16px 14px;
  }

  body.signup-page .slot-column {
    display: block;
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 12px;
  }
}

@media (max-width: 576px) {
  body.signup-page .home-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.signup-page .signup-hero-inner {
    padding: 24px 18px 26px;
  }

  body.signup-page .signup-form-panel {
    padding: 18px 16px 22px;
  }

  body.signup-page .booking-container {
    padding: 14px 12px;
  }

  body.signup-page .ui-datepicker-calendar td a {
    padding: 10px 2px;
    font-size: 0.8125rem;
  }

  body.signup-page .time-slot {
    min-width: 0;
  }

  body.signup-page .signup-recaptcha-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
  }

  body.signup-page .select2-container {
    max-width: 100% !important;
  }
}
