/* LMYC Registration / workshop booking — match pricing page scale */

#main-content .lmyc-registration-page {
  position: relative;
  isolation: isolate;
  background: #fafaf9;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.75rem, 6vw, 4rem) clamp(6rem, 10vw, 8rem);
}

#main-content .lmyc-registration-page__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 50% -20%, rgba(209, 142, 149, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(66, 89, 54, 0.06), transparent 55%),
    linear-gradient(180deg, #fffef4 0%, #fafaf9 40%, #f5f5f4 100%);
}

/* Same outer width as pricing page */
#main-content .lmyc-registration-page__container {
  max-width: 112rem;
  margin: 0 auto;
  width: 100%;
}

#main-content .lmyc-registration-page__lead {
  max-width: 72rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.68;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.78);
}

/* Match pricing CLASS PACKAGES band */
#main-content .lmyc-registration-page__widget-wrap {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(2.5rem, 5vw, 3.75rem);
  border-radius: 2rem;
  background:
    linear-gradient(165deg, rgba(247, 226, 197, 0.55) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(209, 142, 149, 0.08) 100%);
  border: 2px solid rgba(209, 142, 149, 0.22);
  box-shadow: 0 16px 48px rgba(209, 142, 149, 0.1);
}

#main-content .lmyc-registration-widget {
  width: 100%;
  min-height: 48rem;
  overflow-x: auto;
  border-radius: 1.35rem;
  background: #fff;
  border: 2px solid rgba(66, 89, 54, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-sizing: border-box;
}

#main-content .lmyc-registration-widget healcode-widget {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-height: 44rem;
}

/*
  Mindbody enrollments/registrations themes hard-cap at 850px.
  Stretch to fill the pricing-sized box.
*/
#main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper,
#main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper,
#main-content .lmyc-registration-widget .hc-pignose-calendar-wrapper,
#main-content .lmyc-registration-widget .healcode {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

#main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper .header h1,
#main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper .header h1 {
  width: auto !important;
  max-width: none !important;
}

#main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper,
#main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper {
  font-size: 1.15em;
}

/* Workshop events booking — cream page, larger widget, no framed box */
body.lmyc-workshop-events-booking,
body.lmyc-workshop-events-booking.gradient {
  background: #fffef4 !important;
  background-color: #fffef4 !important;
}

body.lmyc-workshop-events-booking #main-content,
body.lmyc-workshop-events-booking .lmyc-registration-main {
  background: #fffef4 !important;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-page {
  background: #fffef4;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-page__bg {
  background: #fffef4;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-page__container {
  max-width: min(128rem, 100%);
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-page__widget-wrap {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget {
  min-height: 64rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-x: auto;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget healcode-widget {
  min-height: 60rem;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode {
  font-size: 1.65em !important;
  max-width: none !important;
  width: 100% !important;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode * {
  font-size: inherit;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper .header h1,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper .header h1 {
  font-size: 1.85em !important;
  line-height: 1.25 !important;
}

body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode a,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode button,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode .btn,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode input,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode select,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode label,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode p,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode span,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode td,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode th,
body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode li {
  font-size: 1.05em !important;
  line-height: 1.45 !important;
}

@media screen and (max-width: 767px) {
  #main-content .lmyc-registration-page {
    padding-bottom: 4rem;
  }

  #main-content .lmyc-registration-page__widget-wrap {
    padding: 1.5rem;
  }

  #main-content .lmyc-registration-widget {
    min-height: 36rem;
    padding: 0.85rem;
  }

  #main-content .lmyc-registration-widget healcode-widget {
    min-height: 32rem;
  }

  #main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper,
  #main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper {
    font-size: 1em;
  }

  body.lmyc-workshop-events-booking #main-content .lmyc-registration-page__widget-wrap {
    padding: 0;
  }

  body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget {
    min-height: 44rem;
    padding: 0;
  }

  body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget healcode-widget {
    min-height: 40rem;
  }

  body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.enrollments.modern-theme-wrapper,
  body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode.registrations.modern-theme-wrapper,
  body.lmyc-workshop-events-booking #main-content .lmyc-registration-widget .healcode {
    font-size: 1.35em !important;
  }
}
