.rb-registration {
  background: var(--ink, #171714);
  color: var(--paper, #f3f0e9);
}

.rb-registration .registration-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 8vw;
}

.rb-registration .sticky-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.rb-registration .sticky-heading > p:last-child {
  max-width: 440px;
  color: #aaa79f;
}

.rb-registration .studio-form {
  position: relative;
  padding: clamp(24px, 5vw, 60px);
  background: var(--paper, #f3f0e9);
  color: var(--ink, #171714);
}

.rb-registration .form-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line, rgba(23, 23, 20, 0.19));
}

.rb-registration .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.rb-registration .form-grid .full {
  grid-column: 1 / -1;
}

.rb-registration .studio-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rb-registration .studio-form input,
.rb-registration .studio-form textarea,
.rb-registration .studio-form select {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--ink, #171714);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
}

.rb-registration .studio-form input:focus,
.rb-registration .studio-form textarea:focus,
.rb-registration .studio-form select:focus {
  border-color: var(--sage, #8c9483);
  border-bottom-width: 2px;
}

.rb-registration .studio-form textarea {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line, rgba(23, 23, 20, 0.19));
}

.rb-registration .form-help,
.rb-registration .form-disclaimer {
  color: #67655f;
  font-size: 12px;
}

.rb-registration .yes-no {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line, rgba(23, 23, 20, 0.19));
}

.rb-registration .yes-no legend {
  float: left;
  width: auto;
  margin: 0;
  padding: 0;
}

.rb-registration .yes-no label {
  font-size: 12px;
  white-space: nowrap;
}

.rb-registration .health-details-field {
  display: block;
  width: 100%;
  margin-top: 30px;
}

.rb-registration .health-details-field textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  resize: vertical;
}

.rb-registration .checks {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.rb-registration .checks label,
.rb-registration .photo-consent label {
  font-size: 13px;
}

.rb-registration .checks a {
  border-bottom: 1px solid currentColor;
}

.rb-registration .checks input,
.rb-registration .photo-consent input,
.rb-registration .yes-no input {
  width: auto;
  margin-right: 8px;
  accent-color: var(--ink, #171714);
}

.rb-registration .photo-consent {
  margin: 0 0 30px;
  padding: 20px;
  border: 1px solid var(--line, rgba(23, 23, 20, 0.19));
}

.rb-registration .photo-consent legend {
  padding: 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rb-registration .photo-consent label {
  margin-right: 25px;
}

.rb-registration .rb-recaptcha-wrap {
  margin: -20px 0 28px;
  overflow-x: auto;
}

.rb-registration .rb-recaptcha-disclosure,
.rb-registration .rb-recaptcha-status {
  margin: 0;
  color: #67655f;
  font-size: 11px;
  line-height: 1.5;
}

.rb-registration .rb-recaptcha-status:not(:empty) {
  margin-top: 10px;
  color: #8b2f2f;
}

.rb-registration .studio-form button[type="submit"].submit-button,
.rb-registration .studio-form button[type="submit"].submit-button.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin-top: 10px;
  padding: 14px 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--ink, #171714) !important;
  border-radius: 0 !important;
  background: var(--ink, #171714) !important;
  background-color: var(--ink, #171714) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--paper, #f3f0e9) !important;
  font-family: var(--sans, Arial, Helvetica, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.rb-registration .studio-form button[type="submit"].submit-button:hover,
.rb-registration .studio-form button[type="submit"].submit-button:focus,
.rb-registration .studio-form button[type="submit"].submit-button:focus-visible,
.rb-registration .studio-form button[type="submit"].submit-button:active,
.rb-registration .studio-form button[type="submit"].submit-button.elementor-button:hover,
.rb-registration .studio-form button[type="submit"].submit-button.elementor-button:focus,
.rb-registration .studio-form button[type="submit"].submit-button.elementor-button:active {
  border-color: var(--sage, #8c9483) !important;
  background: var(--sage, #8c9483) !important;
  background-color: var(--sage, #8c9483) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.rb-registration .studio-form button[type="submit"].submit-button:focus-visible {
  outline: 2px solid var(--sage, #8c9483);
  outline-offset: 3px;
}

.rb-registration .studio-form button[type="submit"].submit-button:disabled,
.rb-registration .studio-form button[type="submit"].submit-button[aria-busy="true"],
.rb-registration .studio-form button[type="submit"].submit-button.is-loading,
.rb-registration .studio-form button[type="submit"].submit-button.is-submitting {
  border-color: #5f6259 !important;
  background: #5f6259 !important;
  background-color: #5f6259 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  cursor: wait;
  opacity: 0.78;
}

.rb-registration .form-disclaimer {
  margin: 18px 0 0;
}

.rb-registration .rb-form-notice {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid transparent;
  background: var(--paper, #f3f0e9);
  color: var(--ink, #171714);
}

.rb-registration .rb-form-notice h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.rb-registration .rb-form-notice p,
.rb-registration .rb-form-notice ul {
  margin-bottom: 0;
}

.rb-registration .rb-form-success {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-color: var(--sage, #8c9483);
}

.rb-registration .rb-form-success > span {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink, #171714);
  border-radius: 50%;
}

.rb-registration .rb-form-errors {
  border-color: #8a3f35;
}

.rb-registration .rb-form-errors ul {
  padding-left: 20px;
}

.rb-registration .rb-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 980px) {
  .rb-registration .registration-grid {
    grid-template-columns: 1fr;
  }

  .rb-registration .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .rb-registration .studio-form {
    padding: 24px 18px;
  }

  .rb-registration .form-section {
    margin-bottom: 38px;
    padding-bottom: 38px;
  }

  .rb-registration .form-grid {
    grid-template-columns: 1fr;
  }

  .rb-registration .form-grid .full {
    grid-column: auto;
  }

  .rb-registration .yes-no {
    grid-template-columns: 1fr auto auto;
  }

  .rb-registration .yes-no legend {
    float: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .rb-registration .health-details-field {
    margin-top: 26px;
  }

  .rb-registration .health-details-field textarea {
    min-height: 130px;
  }

  .rb-registration .photo-consent label {
    display: block;
    margin: 8px 0 0;
  }
}
