/* Visual skin only. Form markup, fields, and scripts stay as they are. */

#custom-regbox {
  padding-top: 0 !important;
}

#custom-regbox #main-container {
  max-width: none;
  width: 100%;
  margin: 0;
}

#custom-regbox .form-container {
  background: rgba(255, 255, 255, .88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 32, 27, .10);
  border-radius: 22px;
  box-shadow: 0 20px 60px -30px rgba(11, 61, 46, .35);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#custom-regbox .formHeader {
  background: transparent;
  color: var(--green-900);
  text-align: left;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  letter-spacing: -.02em;
  padding: 0;
  margin: 0;
  border-radius: 0;
  white-space: normal;
}

#custom-regbox .intro {
  margin: -10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-2);
}

#custom-regbox .field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

#custom-regbox .legal-note {
  margin: 16px 0 0;
  text-align: left;
}

#custom-regbox .formwrap-outer .intgrtn-form-signup {
  padding: 0;
}

#custom-regbox .intgrtn-steps-holder .intgrtn-step.intgrtn-active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

#custom-regbox .intgrtn-input-holder {
  margin-bottom: 0;
}

#custom-regbox .intgrtn-input-holder-email,
#custom-regbox .intgrtn-input-holder-phone,
#custom-regbox .intgrtn-btn-go-to-step-holder {
  grid-column: 1 / -1;
}

#custom-regbox .intgrtn-input-holder:not(.intgrtn-input-holder-phone) .intgrtn-input {
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 0 14px;
  font-size: 16px;
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  background: #fff;
  text-transform: none;
  letter-spacing: 0;
}

#custom-regbox .intgrtn-input-holder:not(.intgrtn-input-holder-phone) .intgrtn-input:focus {
  border-color: var(--green-600);
}

#custom-regbox .intgrtn-input-holder-phone .iti {
  display: block;
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: #fff;
}

#custom-regbox .intgrtn-input-holder-phone .iti:focus-within {
  border-color: var(--green-600);
}

#custom-regbox .intgrtn-input-holder-phone .intgrtn-input {
  height: 100%;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-size: 16px;
  font-family: var(--f-body);
  color: var(--ink);
  box-shadow: none;
}

#custom-regbox .iti--separate-dial-code .iti__selected-flag,
#custom-regbox .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background: #EEF4F0;
  border-right: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
  padding: 0 12px;
}

#custom-regbox .iti--separate-dial-code .iti__selected-dial-code {
  color: var(--green-900) !important;
  font-weight: 600;
  font-size: 15px;
}

#custom-regbox .iti__country-list {
  border-radius: 12px;
  z-index: 30;
  width: 100%;
  max-width: 100%;
  white-space: normal;
}

#custom-regbox .intgrtn-btn-go-to-step-holder {
  margin: 4px 0 0;
  text-align: center;
}

#custom-regbox .intgrtn-btn-go-to-step {
  height: 56px;
  width: 100%;
  margin: 0;
  padding: 0 18px;
  border: none;
  border-radius: 14px;
  background: var(--wine-700);
  color: #fff;
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  line-height: 1.2;
  box-shadow: none;
}

#custom-regbox .intgrtn-btn-go-to-step:hover {
  background: var(--wine-800);
}

#custom-regbox .form-send .activeBad {
  color: var(--ink) !important;
  background: #fff !important;
  border-color: var(--wine-700) !important;
}

#custom-regbox .form-send .activeGood {
  color: var(--ink) !important;
  background: #fff !important;
  border-color: var(--green-600) !important;
}

#custom-regbox .intgrtn-input-holder-phone .iti:has(.activeBad) {
  border-color: var(--wine-700);
}

#custom-regbox .intgrtn-input-holder-phone .iti:has(.activeGood) {
  border-color: var(--green-600);
}
