/* Visual skin only. Does not change fields, names, or submit behavior. */

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

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

#custom-regbox .form-container {
  background: #fff;
  border: 1px solid #E4E4E7;
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(22, 24, 29, .08);
}

#custom-regbox .formHeader {
  background: none;
  color: #16181D;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
  margin: 0 0 -6px;
  padding: 0;
  border-radius: 0;
}

#custom-regbox .form-lead {
  margin: 0 0 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: #5B5F68;
}

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

#custom-regbox .intgrtn-step.intgrtn-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#custom-regbox .intgrtn-input-holder {
  margin: 0;
  min-width: 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 {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  padding: 15px 16px;
  border: 1px solid #DCDDE1;
  border-radius: 12px;
  background: #F8F8F9;
  color: #16181D;
  box-shadow: none;
}

#custom-regbox .intgrtn-input::placeholder {
  color: #9A9DA4;
}

#custom-regbox .intgrtn-input:focus {
  border-color: #16181D;
  background: #fff;
}

#custom-regbox .iti {
  display: block;
  width: 100%;
  border: 1px solid #DCDDE1;
  border-radius: 12px;
  background: #F8F8F9;
}

#custom-regbox .iti:focus-within {
  border-color: #16181D;
  background: #fff;
}

#custom-regbox .intgrtn-input-holder-phone .intgrtn-input {
  border: none;
  background: transparent;
  border-radius: 12px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 14px;
}

#custom-regbox .iti--separate-dial-code .iti__selected-flag {
  background: transparent;
  border-right: 1px solid #DCDDE1;
  padding: 0 12px 0 14px;
  border-radius: 12px 0 0 12px;
  gap: 6px;
}

#custom-regbox .iti__selected-flag:has(.iti__br)::before {
  content: "BR";
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-style: normal;
  color: #5B5F68;
}

#custom-regbox .iti--separate-dial-code .iti__selected-dial-code {
  font-size: 15px;
  font-weight: 500;
  color: #16181D !important;
}

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

#custom-regbox .intgrtn-btn-go-to-step {
  width: 100%;
  margin: 0;
  padding: 17px;
  border: 1px solid #16181D;
  border-radius: 12px;
  background: #16181D;
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  box-shadow: none;
}

#custom-regbox .intgrtn-btn-go-to-step:hover {
  background: #2B2E35;
  border-color: #2B2E35;
  color: #fff;
}

#custom-regbox .form-send .intgrtn-input.activeGood {
  background: #5ec849;
  color: #fff;
}

#custom-regbox .form-send .intgrtn-input.activeBad {
  background: rgba(255, 0, 0, .6) !important;
  color: #fff;
}

#custom-regbox .iti:has(.activeBad),
#custom-regbox .iti:has(.activeGood) {
  border-color: transparent;
  background: transparent;
}

.final #custom-regbox .form-container {
  box-shadow: none;
  border: none;
  border-radius: 20px;
  padding: 24px;
}

.final #custom-regbox .formHeader,
.final #custom-regbox .form-lead {
  display: none;
}

@media (max-width: 520px) {
  #custom-regbox .intgrtn-step.intgrtn-active {
    grid-template-columns: 1fr;
  }
}
