/* =========================================================
   COMMIT Clubplanner Router Widget
   Version: 1.3.0
   ========================================================= */

.commit-cp-router,
.commit-cp-router * {
  box-sizing: border-box;
}

.commit-cp-router {
  --commit-gold: #C6B04F;
  --commit-brown: #5A4B3F;
  --commit-field-bg: #FCFAF5;
  --commit-text: #000000;
  --commit-muted: rgba(0, 0, 0, .5);
  --commit-button-bg: #C6B04F;
  --commit-button-border: #C6B04F;
  --commit-button-fill: #C6B04F;
  --commit-button-text: #111111;
  --commit-choice-text: #000000;
  --commit-choice-hover-bg: rgba(198, 176, 79, .14);
  --commit-choice-hover-text: #000000;
  --commit-choice-hover-border: #C6B04F;
  --commit-location-hover-bg: var(--commit-field-bg);
  --commit-location-hover-text: var(--commit-text);
  --commit-location-hover-border: rgba(198, 176, 79, .35);
  --commit-privacy-text: var(--commit-text);
  --commit-privacy-link: var(--commit-text);
  --commit-time-field-spacing: 22px;
  --commit-time-buttons-spacing: 0px;
  --commit-privacy-margin-top: 20px;
  --commit-location-icon: url("./location-icon.svg");
  --commit-arrow-icon: url("./arrow-up.svg");
  width: 100%;
  max-width: 100%;
  font-family: "Cerebri Sans", sans-serif;
}

.commit-cp-router--white-fields {
  --commit-field-bg: #FFFFFF;
}

.commit-cp-router.is-route-reloading {
  pointer-events: none;
  opacity: .72;
  transition: opacity .18s ease;
}

.commit-cp-router__header {
  margin-bottom: 24px;
}

.commit-cp-router__heading {
  margin: 0 0 8px 0;
  color: var(--commit-text);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
}

.commit-cp-router__intro {
  margin: 0;
  color: rgba(0, 0, 0, .72);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.commit-cp-location-field {
  width: 100%;
  margin: 0 0 22px 0;
}

.commit-cp-location-label,
.commit-cp-router .cpp-form label {
  display: block;
  margin: 0 0 9px 0;
  color: var(--commit-gold) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.commit-cp-location-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-height: 55px !important;
  height: 55px !important;
  margin: 0 !important;
  padding: 14px 60px 14px 26px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background-color: var(--commit-field-bg) !important;
  background-image: var(--commit-location-icon) !important;
  background-repeat: no-repeat !important;
  background-size: 22px auto !important;
  background-position: right 26px center !important;
  box-shadow: none !important;
  outline: none !important;
  color: rgba(0, 0, 0, .5) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease;
}

.commit-cp-router .commit-cp-location-select:hover,
.commit-cp-router .commit-cp-location-select:focus,
.commit-cp-router .commit-cp-location-select:focus-visible {
  background-color: var(--commit-location-hover-bg) !important;
  color: var(--commit-location-hover-text) !important;
}

.commit-cp-router .commit-cp-location-select:focus,
.commit-cp-router .commit-cp-location-select:focus-visible {
  border-color: var(--commit-location-hover-border) !important;
  box-shadow: 0 0 0 3px rgba(198, 176, 79, .12) !important;
}

.commit-cp-router .commit-cp-location-select:valid {
  color: var(--commit-text) !important;
}

.commit-cp-router .commit-cp-location-select:hover:valid,
.commit-cp-router .commit-cp-location-select:focus:valid,
.commit-cp-router .commit-cp-location-select:focus-visible:valid {
  color: var(--commit-location-hover-text) !important;
}

.commit-cp-router .commit-cp-location-select option {
  background-color: var(--commit-field-bg) !important;
  color: var(--commit-text) !important;
}

.commit-cp-location-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.commit-cp-location-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--commit-field-bg);
  color: var(--commit-choice-text);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background-color .25s ease;
}

.commit-cp-location-card:hover,
.commit-cp-location-card:focus-visible,
.commit-cp-location-card.is-active {
  border-color: var(--commit-choice-hover-border);
  background-color: var(--commit-choice-hover-bg) !important;
  color: var(--commit-choice-hover-text) !important;
  box-shadow: 0 0 0 3px rgba(198, 176, 79, .10);
}

.commit-cp-location-card:hover,
.commit-cp-location-card:focus-visible {
  transform: translateY(-1px);
}

.commit-cp-location-card.is-active {
  background: var(--commit-choice-hover-bg) !important;
  color: var(--commit-choice-hover-text) !important;
}

.commit-cp-location-card__icon {
  display: inline-block;
  width: 18px;
  min-width: 18px;
  height: 18px;
  background-image: var(--commit-location-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.commit-cp-form-stage {
  width: 100%;
}

.commit-cp-form-placeholder {
  width: 100%;
  padding: 18px 22px;
  border: 1px dashed rgba(198, 176, 79, .50);
  border-radius: 11px;
  background: rgba(198, 176, 79, .08);
  color: rgba(0, 0, 0, .66);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.commit-cp-form-panel[hidden] {
  display: none !important;
}

.commit-cp-form-panel.is-active {
  display: block;
  animation: commitCpFadeUp .32s cubic-bezier(.19, 1, .22, 1) both;
}

/* Active DOM isolation: each ClubPlanner panel mounts its form inside this host. */
.commit-cp-form-mount {
  width: 100%;
}

.commit-cp-form-panel[aria-hidden="true"] .commit-cp-form-mount {
  pointer-events: none;
}

.commit-cp-router.is-router-suspended .commit-cp-form-mount {
  pointer-events: none;
}

@keyframes commitCpFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Clubplanner / CPP form base styling
   ========================================================= */

.commit-cp-router .cpp-form {
  width: 100%;
  max-width: 100%;
  font-family: "Cerebri Sans", sans-serif;
}

.commit-cp-router .cpp-form:after {
  content: "";
  display: table;
  clear: both;
}

.commit-cp-router .cpp-form__title {
  display: none !important;
}

.commit-cp-router .cpp-form__fields {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

.commit-cp-router .cpp-form__field {
  float: none !important;
  width: 100% !important;
  margin: 0 0 22px 0 !important;
}

.commit-cp-router .cpp-form__field:not(:first-child) {
  margin-top: 0 !important;
}

.commit-cp-router .cpp-form__row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.commit-cp-router .cpp-form__row > div {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

.commit-cp-router .cpp-form input[type="text"],
.commit-cp-router .cpp-form input[type="email"],
.commit-cp-router .cpp-form input[type="tel"],
.commit-cp-router .cpp-form input[type="number"],
.commit-cp-router .cpp-form input[type="date"],
.commit-cp-router .cpp-form textarea,
.commit-cp-router .cpp-form select,
.commit-cp-router .cpp-form .custom-combobox input,
.commit-cp-router .cpp-form .custom-combobox select {
  width: 100% !important;
  min-height: 55px !important;
  height: 55px !important;
  margin: 0 !important;
  padding: 14px 26px !important;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background-color: var(--commit-field-bg) !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--commit-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  transition: border-color .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease;
}

.commit-cp-router .cpp-form textarea {
  min-height: 110px !important;
  height: auto !important;
  line-height: 1.45 !important;
  resize: vertical;
}

.commit-cp-router .cpp-form input::placeholder,
.commit-cp-router .cpp-form textarea::placeholder {
  color: rgba(0, 0, 0, .5) !important;
  opacity: 1 !important;
}

.commit-cp-router .cpp-form select {
  color: rgba(0, 0, 0, .5) !important;
}

.commit-cp-router .cpp-form input:focus,
.commit-cp-router .cpp-form textarea:focus,
.commit-cp-router .cpp-form select:focus {
  color: var(--commit-text) !important;
  border-color: rgba(198, 176, 79, .35) !important;
  box-shadow: 0 0 0 3px rgba(198, 176, 79, .12) !important;
}

/* Clubplanner location field, if it still exists inside a shortcode */
.commit-cp-router .cpp-form #cpp_extra_field_1,
.commit-cp-router .cpp-form [name="cpp_extra_field_1"],
.commit-cp-router .cpp-form [id*="cpp_extra_field_1"],
.commit-cp-router .cpp-form select[name*="extra_field_1"],
.commit-cp-router .cpp-form input[name*="extra_field_1"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 60px !important;
  background-color: var(--commit-field-bg) !important;
  background-image: var(--commit-location-icon) !important;
  background-repeat: no-repeat !important;
  background-size: 22px auto !important;
  background-position: right 26px center !important;
}

.commit-cp-router .cpp-form .contact-options,
.commit-cp-router .cpp-form .select {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.commit-cp-router .cpp-form .select label,
.commit-cp-router .cpp-form .contact-options label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 18px 8px 0 !important;
  color: var(--commit-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  cursor: pointer;
}

.commit-cp-router .cpp-form input[type="radio"] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  accent-color: var(--commit-gold);
  flex: 0 0 16px !important;
}

.commit-cp-router .cpp-form .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none !important;
  margin: 10px 0 var(--commit-time-buttons-spacing) 0 !important;
  padding: 0 !important;
}

.commit-cp-router .cpp-form .buttons > li {
  min-height: 40px;
  min-width: 75px;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 1px solid rgba(0, 0, 0, .22) !important;
  border-radius: 9px !important;
  background: var(--commit-field-bg) !important;
  color: var(--commit-choice-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-align: center;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.commit-cp-router .cpp-form .buttons > li:hover,
.commit-cp-router .cpp-form .buttons > li.active,
.commit-cp-router .cpp-form .buttons > li.is-active,
.commit-cp-router .cpp-form .buttons > li.selected,
.commit-cp-router .cpp-form .buttons > li.is-selected {
  background: var(--commit-choice-hover-bg) !important;
  border-color: var(--commit-choice-hover-border) !important;
  color: var(--commit-choice-hover-text) !important;
  transform: translateY(-1px);
}

.commit-cp-router .cpp-form .buttons > li[aria-disabled="true"],
.commit-cp-router .cpp-form .buttons > li.disabled,
.commit-cp-router .cpp-form .buttons > li.is-disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Time/daypart field spacing helper. JS adds .commit-cp-has-buttons; :has() is a fallback. */
.commit-cp-router .cpp-form__field.commit-cp-has-buttons,
.commit-cp-router .cpp-form__field:has(.buttons) {
  margin-bottom: var(--commit-time-field-spacing) !important;
}

/* Checkbox: always square */
.commit-cp-router .cpp-form input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  aspect-ratio: 1 / 1 !important;
  flex: none !important;
  margin: 0 14px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--commit-gold) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 13px auto !important;
}

.commit-cp-router .cpp-form input[type="checkbox"]:checked {
  background-color: var(--commit-gold) !important;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.4L5.1 9.5L13 1' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.commit-cp-router .cpp-form input[type="checkbox"] + label,
.commit-cp-router .cpp-form label:has(input[type="checkbox"]) {
  display: inline !important;
  margin: 0 !important;
  color: var(--commit-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.commit-cp-router .cpp-form__footer,
.commit-cp-router .cpp-form__footer:has(input[type="checkbox"]) {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
  margin-top: var(--commit-privacy-margin-top) !important;
  color: var(--commit-privacy-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer,
.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer label,
.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer p,
.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer .privacy,
.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer .privacy *,
.commit-cp-router .cpp-form input[type="checkbox"] + label,
.commit-cp-router .cpp-form label:has(input[type="checkbox"]) {
  color: var(--commit-privacy-text) !important;
}

.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer a,
.commit-cp-router .cpp-form__footer.commit-cp-privacy-footer label a,
.commit-cp-router .cpp-form input[type="checkbox"] + label a,
.commit-cp-router .cpp-form label:has(input[type="checkbox"]) a {
  color: var(--commit-privacy-link) !important;
}

/* Keep the submit button independent from privacy text color inheritance. */
.commit-cp-router .cpp-form__footer .commit-crm-neat-submit,
.commit-cp-router .cpp-form__footer .commit-crm-neat-submit * {
  color: var(--commit-button-text) !important;
}

.commit-cp-router .cpp-form__footer div.g-recaptcha {
  float: none !important;
  width: 100% !important;
}

/* =========================================================
   NEAT submit button
   JS converts input[type=submit] to a real button
   ========================================================= */

.commit-cp-router .cpp-form input[type="submit"].commit-original-submit {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  min-width: 1px !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  overflow: hidden !important;
}

.commit-cp-router .commit-crm-neat-submit {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  width: fit-content !important;
  max-width: 100% !important;
  clear: both !important;
  overflow: hidden !important;
  isolation: isolate;
  margin-top: 28px !important;
  margin-bottom: -7px !important;
  padding: 15px 30px !important;
  background: var(--commit-button-bg) !important;
  border: 1px solid var(--commit-button-border) !important;
  border-radius: 999px !important;
  color: var(--commit-button-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: color 0.35s cubic-bezier(.19, 1, .22, 1), border-color 0.35s cubic-bezier(.19, 1, .22, 1), opacity 0.25s ease;
}

.commit-cp-router .commit-crm-neat-submit .commit-neat-canvas {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  opacity: 1 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: var(--commit-button-bg) !important;
}

.commit-cp-router .commit-crm-neat-submit::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 190%;
  aspect-ratio: 1 / 1;
  left: -65%;
  bottom: -145%;
  border-radius: 999px;
  background: var(--commit-button-fill);
  transform: scale(0) translate3d(0, 0, 0);
  transform-origin: center;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.78s cubic-bezier(.19, 1, .22, 1);
}

.commit-cp-router .commit-crm-neat-submit:hover::before,
.commit-cp-router .commit-crm-neat-submit:focus-visible::before {
  transform: scale(1) translate3d(18%, -18%, 0);
}

.commit-cp-router .commit-crm-neat-submit__text,
.commit-cp-router .commit-crm-neat-submit__icon {
  position: relative !important;
  z-index: 3 !important;
}

.commit-cp-router .commit-crm-neat-submit__icon {
  display: inline-block !important;
  width: 9px !important;
  min-width: 9px !important;
  max-width: 9px !important;
  height: 9px !important;
  min-height: 9px !important;
  max-height: 9px !important;
  flex: 0 0 9px !important;
  background-image: var(--commit-arrow-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  transition: transform 0.35s cubic-bezier(.19, 1, .22, 1);
}

.commit-cp-router .commit-crm-neat-submit:hover .commit-crm-neat-submit__icon,
.commit-cp-router .commit-crm-neat-submit:focus-visible .commit-crm-neat-submit__icon {
  transform: translateX(3px);
}

.commit-cp-router .commit-crm-neat-submit.is-disabled,
.commit-cp-router .commit-crm-neat-submit:disabled {
  opacity: .35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.commit-cp-router .cpp-form input[type="submit"]:not(.commit-original-submit) {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  clear: both !important;
  margin-top: 28px !important;
  padding: 15px 52px 15px 30px !important;
  border: 1px solid var(--commit-button-border) !important;
  border-radius: 999px !important;
  background-color: var(--commit-button-bg) !important;
  background-image: var(--commit-arrow-icon) !important;
  background-repeat: no-repeat !important;
  background-size: 9px auto !important;
  background-position: calc(100% - 30px) center !important;
  color: var(--commit-button-text) !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

/* Errors */
.commit-cp-router .cpp-form__error {
  margin-bottom: 20px;
  border: 1px solid rgba(139, 0, 0, .25) !important;
  border-radius: 10px;
  background: rgba(139, 0, 0, .05) !important;
  color: darkred !important;
  font-family: "Cerebri Sans", sans-serif !important;
  font-size: 12px !important;
}

.commit-cp-router .cpp-form__error-list {
  margin-left: 20px !important;
  margin-bottom: 0 !important;
}

.commit-cp-router .cpp-form .error {
  border-color: darkred !important;
  box-shadow: 0 0 0 3px rgba(139, 0, 0, .08) !important;
}

/* Autofill */
.commit-cp-router .cpp-form input:-webkit-autofill,
.commit-cp-router .cpp-form input:-webkit-autofill:hover,
.commit-cp-router .cpp-form input:-webkit-autofill:focus,
.commit-cp-router .cpp-form textarea:-webkit-autofill,
.commit-cp-router .cpp-form textarea:-webkit-autofill:hover,
.commit-cp-router .cpp-form textarea:-webkit-autofill:focus,
.commit-cp-router .cpp-form select:-webkit-autofill,
.commit-cp-router .cpp-form select:-webkit-autofill:hover,
.commit-cp-router .cpp-form select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--commit-field-bg) inset !important;
  box-shadow: 0 0 0 1000px var(--commit-field-bg) inset !important;
  -webkit-text-fill-color: var(--commit-text) !important;
}

/* Hide Neat / FireCMS badge */
.commit-cp-router a[href*="neat.firecms.co"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media screen and (max-width: 767px) {
  .commit-cp-router__header {
    margin-bottom: 20px;
  }

  .commit-cp-router__heading {
    font-size: 22px;
  }

  .commit-cp-location-cards {
    grid-template-columns: 1fr;
  }

  .commit-cp-location-select,
  .commit-cp-router .cpp-form input[type="text"],
  .commit-cp-router .cpp-form input[type="email"],
  .commit-cp-router .cpp-form input[type="tel"],
  .commit-cp-router .cpp-form input[type="number"],
  .commit-cp-router .cpp-form input[type="date"],
  .commit-cp-router .cpp-form textarea,
  .commit-cp-router .cpp-form select,
  .commit-cp-router .cpp-form .custom-combobox input,
  .commit-cp-router .cpp-form .custom-combobox select {
    min-height: 55px !important;
    height: 55px !important;
    padding: 14px 22px !important;
    font-size: 15px !important;
  }

  .commit-cp-location-select,
  .commit-cp-router .cpp-form #cpp_extra_field_1,
  .commit-cp-router .cpp-form [name="cpp_extra_field_1"],
  .commit-cp-router .cpp-form [id*="cpp_extra_field_1"],
  .commit-cp-router .cpp-form select[name*="extra_field_1"],
  .commit-cp-router .cpp-form input[name*="extra_field_1"] {
    padding-right: 54px !important;
    background-position: right 22px center !important;
  }

  .commit-cp-router .cpp-form__field {
    margin-bottom: 18px !important;
  }

  .commit-cp-router .commit-crm-neat-submit,
  .commit-cp-router .cpp-form input[type="submit"]:not(.commit-original-submit) {
    padding: 15px 30px !important;
    font-size: 15px !important;
  }

  .commit-cp-router .cpp-form input[type="checkbox"] {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    flex: none !important;
  }
}

/* =========================================================
   v1.0.1 safety overrides
   ========================================================= */
.commit-cp-router .cpp-form__footer,
.commit-cp-router .cpp-form__footer:has(input[type="checkbox"]) {
  display: block !important;
  float: none !important;
  width: 100% !important;
  clear: both !important;
}

.commit-cp-router .cpp-form input[type="checkbox"] {
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  aspect-ratio: 1 / 1 !important;
  flex: none !important;
}

.commit-cp-router .commit-crm-neat-submit {
  display: flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  clear: both !important;
}

.commit-cp-router .commit-crm-neat-submit__icon {
  background-image: var(--commit-arrow-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}


/* =========================================================
   v1.0.6 compact form layout
   ========================================================= */

.commit-cp-router--single-location .commit-cp-location-field {
  display: none !important;
}

.commit-cp-router .cpp-form__field.commit-cp-hide-field,
.commit-cp-router--single-location .cpp-form__field:has(#cpp_extra_field_1),
.commit-cp-router--single-location .cpp-form__field:has([name="cpp_extra_field_1"]),
.commit-cp-router--single-location .cpp-form__field:has([id*="cpp_extra_field_1"]),
.commit-cp-router--single-location .cpp-form__field:has(select[name*="extra_field_1"]),
.commit-cp-router--single-location .cpp-form__field:has(input[name*="extra_field_1"]) {
  display: none !important;
}

.commit-cp-router--compact-form .commit-cp-location-field,
.commit-cp-router--compact-form .cpp-form__field,
.commit-cp-router--compact-form .cpp-form__footer,
.commit-cp-router--compact-form .cpp-form__error {
  min-width: 0;
}

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    width: 100%;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-router__header,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-placeholder,
  .commit-cp-router--compact-form.has-active-form .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .cpp-form__error,
  .commit-cp-router--compact-form.has-active-form .cpp-form .g-recaptcha,
  .commit-cp-router--compact-form.has-active-form .commit-crm-neat-submit {
    grid-column: 1 / -1;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-stage,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields {
    display: contents !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-location-field.commit-cp-compact-half,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-half {
    grid-column: span 1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-location-field.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-full,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__error {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-location-field {
    margin-bottom: 22px;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-location-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form.has-active-form,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-stage,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields {
    display: block !important;
  }

  .commit-cp-router--compact-form .commit-cp-location-field,
  .commit-cp-router--compact-form .cpp-form__field {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   v1.0.7 compact form grid correction
   Places the active compact location selector inside the form field grid.
   ========================================================= */

.commit-cp-router--compact-form.commit-cp-router--compact-enhanced.commit-cp-router--multiple-locations > .commit-cp-location-field:not(.commit-cp-compact-location-field) {
  display: none !important;
}

.commit-cp-router .commit-cp-compact-location-field {
  list-style: none !important;
  min-width: 0 !important;
}

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form {
    display: block !important;
    grid-template-columns: none !important;
    column-gap: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-stage,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form.commit-cp-compact-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field.commit-cp-compact-half,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-half {
    grid-column: auto / span 1 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-full,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__error,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form .g-recaptcha,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-crm-neat-submit {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields + .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields + .commit-crm-neat-submit {
    margin-top: 22px !important;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__fields,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form.commit-cp-compact-form-grid {
    display: block !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
  }
}

/* =========================================================
   v1.0.8 compact form submit button protection
   Compact mode should shorten fields only, not stretch CTA buttons.
   ========================================================= */

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-crm-neat-submit,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form input[type="submit"]:not(.commit-original-submit) {
    grid-column: 1 / -1 !important;
    justify-self: start !important;
    align-self: start !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: inline-flex !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form input[type="submit"]:not(.commit-original-submit) {
    display: inline-block !important;
  }
}

/* =========================================================
   v1.0.9 compact form multi-location row flattening
   Fixes ClubPlanner row wrappers so all compact fields can share the same grid.
   ========================================================= */

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row > div,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper {
    display: contents !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-field-grid > br,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form.commit-cp-compact-form-grid > br,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row > br,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper > br {
    display: none !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row .cpp-form__field.commit-cp-compact-half,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper .cpp-form__field.commit-cp-compact-half {
    grid-column: auto / span 1 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row .cpp-form__field.commit-cp-compact-full,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row .cpp-form__field.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper .cpp-form__field.commit-cp-compact-full,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper .cpp-form__field.commit-cp-compact-last-odd {
    grid-column: 1 / -1 !important;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row > div,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-location-field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row .cpp-form__field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper .cpp-form__field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
  }
}


/* =========================================================
   v1.0.10 compact form visible-field pairing correction
   Prevent hidden/internal ClubPlanner location fields from making the last
   visible compact field full-width. Mobile remains stacked.
   ========================================================= */

.commit-cp-router--compact-form .cpp-form__field.commit-cp-hide-field {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-half:not(.commit-cp-compact-last-odd):not(.commit-cp-compact-full):not(.commit-cp-hide-field) {
    grid-column: auto / span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-last-odd:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-full:not(.commit-cp-hide-field) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__row .cpp-form__field:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-flatten-wrapper .cpp-form__field:not(.commit-cp-hide-field) {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px 0 !important;
  }
}


/* =========================================================
   v1.0.11 compact multi-location pairing hardening
   Keeps the injected location selector in the pairing count and prevents
   normal text/e-mail/phone fields from falling back to one-column rows.
   ========================================================= */

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field.commit-cp-compact-half:not(.commit-cp-compact-last-odd),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-half:not(.commit-cp-compact-last-odd):not(.commit-cp-compact-full):not(.commit-cp-hide-field) {
    grid-column: auto / span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-full:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field.commit-cp-compact-last-odd:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__error {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-compact-location-field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-crm-neat-submit {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* =========================================================
   v1.1.0 compact form own-grid rebuild
   Moves only simple fields into a dedicated two-column grid.
   Complex form sections and submit buttons remain outside it.
   ========================================================= */

.commit-cp-router--compact-form .commit-cp-compact-grid-v110 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.commit-cp-router--compact-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item {
  list-style: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.commit-cp-router--compact-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item::marker {
  content: '' !important;
}

.commit-cp-router--compact-form.commit-cp-router--multiple-locations > .commit-cp-location-field:not(.commit-cp-compact-location-field),
.commit-cp-router--compact-form.commit-cp-router--compact-enhanced > .commit-cp-location-field:not(.commit-cp-compact-location-field) {
  display: none !important;
}

.commit-cp-router--compact-form .commit-cp-submit-protected,
.commit-cp-router--compact-form .commit-crm-neat-submit {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  justify-self: start !important;
  align-self: start !important;
  grid-column: auto !important;
  clear: none !important;
}

.commit-cp-router--compact-form .cpp-form input[type="submit"].commit-cp-submit-protected:not(.commit-original-submit),
.commit-cp-router--compact-form .cpp-form button[type="submit"].commit-cp-submit-protected {
  display: inline-block !important;
  width: fit-content !important;
  max-width: 100% !important;
}

@media screen and (min-width: 768px) {
  .commit-cp-router--compact-form.has-active-form .commit-cp-compact-grid-v110 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 22px !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item {
    grid-column: auto / span 1 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item.commit-cp-compact-last-odd,
  .commit-cp-router--compact-form.has-active-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item.commit-cp-compact-full {
    grid-column: 1 / -1 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__field:not(.commit-cp-compact-grid-item):not(.commit-cp-hide-field),
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__footer,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form__error,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .cpp-form .g-recaptcha {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-cp-submit-protected,
  .commit-cp-router--compact-form.has-active-form .commit-cp-form-panel.is-active .commit-crm-neat-submit {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
    justify-self: start !important;
    align-self: start !important;
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 767px) {
  .commit-cp-router--compact-form .commit-cp-compact-grid-v110 {
    display: block !important;
    margin-bottom: 0 !important;
  }

  .commit-cp-router--compact-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item,
  .commit-cp-router--compact-form .commit-cp-location-field,
  .commit-cp-router--compact-form .cpp-form__field:not(.commit-cp-hide-field),
  .commit-cp-router--compact-form .cpp-form__footer,
  .commit-cp-router--compact-form .cpp-form__error,
  .commit-cp-router--compact-form .cpp-form .g-recaptcha {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .commit-cp-router--compact-form .commit-cp-compact-grid-v110 > .commit-cp-compact-grid-item {
    margin-bottom: 18px !important;
  }

  .commit-cp-router--compact-form .commit-cp-submit-protected,
  .commit-cp-router--compact-form .commit-crm-neat-submit {
    display: inline-flex !important;
    width: fit-content !important;
    max-width: 100% !important;
  }
}


/* =========================================================
   ClubPlanner 1.5.2 native appointment wizard

   The native date/daypart/time elements remain the source of truth. The router
   never clones options and never overrides the display state of individual
   slots. ClubPlanner's inline display:none on unavailable parts/times therefore
   remains authoritative.
   ========================================================= */

.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper .buttons--day,
.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper .buttons--part,
.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper .buttons--time {
  display: none !important;
}

.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper.commit-cp-current-step-day .buttons--day,
.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper.commit-cp-current-step-part .buttons--part,
.commit-cp-router[data-appointment-wizard="true"] .cpp-form__field--appointment.commit-cp-native-stepper.commit-cp-current-step-time .buttons--time {
  display: flex !important;
}

/* Never resurrect a slot that ClubPlanner hid for another date/daypart. */
.commit-cp-router .cpp-form .buttons > li[hidden],
.commit-cp-router .cpp-form .buttons > li[aria-hidden="true"],
.commit-cp-router .cpp-form .buttons > li.hidden,
.commit-cp-router .cpp-form .buttons > li.hide,
.commit-cp-router .cpp-form .buttons > li.is-hidden,
.commit-cp-router .cpp-form .buttons > li.d-none,
.commit-cp-router .cpp-form .buttons > li[style*="display:none" i],
.commit-cp-router .cpp-form .buttons > li[style*="display: none" i] {
  display: none !important;
}

/* Display-only labels. The original text node is intentionally preserved:
   ClubPlanner uses $(dayLi).text() as the exact data-day matching key. */
.commit-cp-router .cpp-form .buttons--day > li[data-commit-cp-display-label],
.commit-cp-router .cpp-form .buttons--time > li[data-commit-cp-display-label] {
  font-size: 0 !important;
}

.commit-cp-router .cpp-form .buttons--day > li[data-commit-cp-display-label]::after,
.commit-cp-router .cpp-form .buttons--time > li[data-commit-cp-display-label]::after {
  content: attr(data-commit-cp-display-label);
  display: inline;
  color: inherit;
  font-family: "Cerebri Sans", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.commit-cp-router .commit-cp-appointment-wizard {
  width: 100%;
  margin: 10px 0 12px;
}

.commit-cp-router .commit-cp-appointment-summary[hidden],
.commit-cp-router .commit-cp-appointment-stepbar[hidden] {
  display: none !important;
}

.commit-cp-router .commit-cp-appointment-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(198, 176, 79, .32);
  border-radius: 14px;
  background: rgba(252, 250, 245, .72);
}

.commit-cp-router .commit-cp-appointment-summary__eyebrow,
.commit-cp-router .commit-cp-appointment-summary__text {
  min-width: 0;
}

.commit-cp-router .commit-cp-appointment-summary__eyebrow {
  display: block;
  color: var(--commit-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.commit-cp-router .commit-cp-appointment-summary__text {
  display: block;
  color: var(--commit-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.22;
}

.commit-cp-router .commit-cp-appointment-summary__actions {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.commit-cp-router .commit-cp-appointment-step-btn,
.commit-cp-router .commit-cp-appointment-back {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  padding: 6px 11px;
  border: 1px solid rgba(198, 176, 79, .55);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--commit-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.commit-cp-router .commit-cp-appointment-step-btn:hover,
.commit-cp-router .commit-cp-appointment-back:hover,
.commit-cp-router .commit-cp-appointment-step-btn:focus-visible,
.commit-cp-router .commit-cp-appointment-back:focus-visible {
  border-color: var(--commit-gold);
  background: rgba(198, 176, 79, .14);
  outline: none;
}

.commit-cp-router .commit-cp-appointment-back::before {
  content: "←";
  font-size: 1em;
  line-height: 1;
}

.commit-cp-router .commit-cp-appointment-stepbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 8px 0 6px;
}

.commit-cp-router .commit-cp-appointment-stepbar__title {
  color: var(--commit-gold);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .commit-cp-router .commit-cp-appointment-summary {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .commit-cp-router .commit-cp-appointment-summary__text {
    font-size: 15px;
  }

  .commit-cp-router .commit-cp-appointment-summary__actions {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }

  .commit-cp-router .commit-cp-appointment-stepbar {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   v1.1.6 AJAX lazy form loading
   Keep inactive ClubPlanner forms out of the DOM without iframe/page injection.
   ========================================================= */
.commit-cp-router--ajax-lazy .commit-cp-form-panel.is-loading .commit-cp-form-loading {
  display: block;
}

.commit-cp-form-loading {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(198, 176, 79, .08);
  color: rgba(0, 0, 0, .62);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.commit-cp-form-error {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(124, 60, 46, .08);
  color: rgba(0, 0, 0, .72);
  font-family: "Cerebri Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

/* v1.1.9 diagnostics */
.commit-cp-debug {
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.45;
  overflow: auto;
}

.commit-cp-debug summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 10px;
}

.commit-cp-debug-output {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  margin: 0;
}

/* =========================================================
   v1.2.1 native visibility safety
   Compact layout rules must never resurrect fields or rows that ClubPlanner
   has hidden for conditional logic.
   ========================================================= */
.commit-cp-router .cpp-form__field[hidden],
.commit-cp-router .cpp-form__field[aria-hidden="true"],
.commit-cp-router .cpp-form__field.hidden,
.commit-cp-router .cpp-form__field.hide,
.commit-cp-router .cpp-form__field.is-hidden,
.commit-cp-router .cpp-form__field.d-none,
.commit-cp-router .cpp-form__field[style*="display:none" i],
.commit-cp-router .cpp-form__field[style*="display: none" i],
.commit-cp-router .cpp-form__row[hidden],
.commit-cp-router .cpp-form__row[aria-hidden="true"],
.commit-cp-router .cpp-form__row.hidden,
.commit-cp-router .cpp-form__row.is-hidden,
.commit-cp-router .cpp-form__row[style*="display:none" i],
.commit-cp-router .cpp-form__row[style*="display: none" i] {
  display: none !important;
}
