/* Visual skin only. Does not change fields, names, or submit behavior. */
#custom-regbox {
  padding-top: 0 !important;
  color: #fff;
  font-family: 'Onest', system-ui, sans-serif;
}

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

#custom-regbox .form-container {
  background: linear-gradient(180deg, rgba(24, 40, 96, .9), rgba(12, 22, 58, .9)) !important;
  border: 1px solid rgba(143, 180, 255, .22);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

#custom-regbox .form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#custom-regbox .formHeader {
  background: none;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -.02em;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-transform: none;
  white-space: normal;
}

#custom-regbox .form-badge {
  font-size: 12.5px;
  color: #0A1230;
  background: #FFD23F;
  padding: 4px 10px;
  border-radius: 99px;
  font-weight: 700;
  line-height: 1.3;
}

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

#custom-regbox .intgrtn-step.intgrtn-active {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#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 {
  margin: 0;
}

#custom-regbox .intgrtn-input-holder-first-name::before,
#custom-regbox .intgrtn-input-holder-last-name::before,
#custom-regbox .intgrtn-input-holder-email::before,
#custom-regbox .intgrtn-input-holder-phone::before {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #C9D3F0;
  line-height: 1.3;
}

#custom-regbox .intgrtn-input-holder-first-name::before { content: "Nombre"; }
#custom-regbox .intgrtn-input-holder-last-name::before { content: "Apellido"; }
#custom-regbox .intgrtn-input-holder-email::before { content: "Correo electrónico"; }
#custom-regbox .intgrtn-input-holder-phone::before { content: "Teléfono"; }

#custom-regbox .intgrtn-input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  background: rgba(4, 8, 26, .7);
  border: 1px solid rgba(143, 180, 255, .25);
  border-radius: 12px;
  padding: 13px 14px;
  text-align: left;
}

#custom-regbox .intgrtn-input::placeholder {
  color: #6F7DA6;
}

#custom-regbox .intgrtn-input:focus {
  border-color: #FFD23F;
}

#custom-regbox .iti {
  width: 100%;
  display: block;
}

#custom-regbox .iti input.intgrtn-input {
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 14px;
}

#custom-regbox .iti--separate-dial-code .iti__selected-flag,
#custom-regbox .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background: transparent;
  border-right: 1px solid rgba(143, 180, 255, .2);
  border-radius: 12px 0 0 12px;
}

#custom-regbox .iti__selected-dial-code,
#custom-regbox .iti--separate-dial-code .iti__selected-dial-code {
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
}

#custom-regbox .iti__arrow {
  border-top-color: #fff;
}

#custom-regbox .iti__arrow--up {
  border-bottom-color: #fff;
}

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

#custom-regbox .send-btn,
#custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step {
  display: block;
  width: 100%;
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  color: #0A1230;
  background: #FFD23F;
  border: 0;
  border-radius: 999px;
  padding: 16px;
  box-shadow: 0 14px 36px rgba(255, 210, 63, .3);
  cursor: pointer;
  white-space: normal;
}

#custom-regbox .send-btn:hover,
#custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step:hover {
  background: #FFE070;
  color: #0A1230;
}

#custom-regbox .form-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #A7B3D6;
}

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

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

.iti__country-list {
  background: #0c1638;
  border: 1px solid rgba(143, 180, 255, .25);
  color: #fff;
  border-radius: 12px;
}

.iti__dial-code {
  color: #A7B3D6;
}

.iti__country.iti__highlight {
  background: rgba(255, 210, 63, .16);
}

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