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

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

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

#custom-regbox .form-container {
  background: rgba(5, 6, 10, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: none;
  padding: 24px;
}

#custom-regbox .formHeader {
  display: none;
}

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

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

#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,
#custom-regbox .intgrtn-btn-go-to-step-holder {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

#custom-regbox .intgrtn-input-holder::before {
  font-size: 13px;
  line-height: 1.2;
  color: #9AA3B5;
}

#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"; }
#custom-regbox .intgrtn-input-holder-phone::before { content: "Teléfono"; }

#custom-regbox .intgrtn-input-holder .intgrtn-input {
  height: 50px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0B0D14;
  color: #F2F4F8;
  padding: 0 14px;
  font-size: 16px;
  line-height: normal;
  outline: none;
  box-shadow: none;
}

#custom-regbox .intgrtn-input::placeholder {
  color: rgba(242, 244, 248, 0.38);
}

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

#custom-regbox .iti--separate-dial-code .iti__selected-flag {
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 0 0 12px;
}

#custom-regbox .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background: rgba(255, 255, 255, 0.06);
}

#custom-regbox .iti--separate-dial-code .iti__selected-dial-code {
  color: #F2F4F8 !important;
}

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

#custom-regbox .iti__arrow--up {
  border-top: none;
  border-bottom-color: #F2F4F8;
}

#custom-regbox .iti__country-list {
  z-index: 30;
  background: #0B0D14;
  color: #F2F4F8;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

#custom-regbox .iti__country-name {
  color: #F2F4F8;
}

#custom-regbox .iti__dial-code {
  color: #9AA3B5;
}

#custom-regbox .iti__country.iti__highlight {
  background: rgba(46, 107, 255, 0.28);
}

#custom-regbox .iti__divider {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

#custom-regbox .intgrtn-btn-go-to-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin: 0;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: #2E6BFF;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  box-shadow: none;
}

#custom-regbox .intgrtn-btn-go-to-step:hover {
  background: #2458d6;
}

#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, 0.6) !important;
}

#custom-regbox .cn-form-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9AA3B5;
  text-align: left;
}

/* Empezar: the form itself was the larger card, with a title inside. */
body:not(:has(#registro)) #custom-regbox .form-container {
  background: rgba(10, 12, 18, 0.92) !important;
  border-radius: 26px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 40px 120px rgba(46, 107, 255, 0.18);
}

body:not(:has(#registro)) #custom-regbox .formHeader {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  background: none;
  color: #F2F4F8;
  text-align: left;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -1px;
  border-radius: 0;
  white-space: normal;
}

body:not(:has(#registro)) #custom-regbox .cn-form-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #9AA3B5;
}

body:not(:has(#registro)) #custom-regbox .intgrtn-steps-holder .intgrtn-step.intgrtn-active {
  gap: 14px;
}

body:not(:has(#registro)) #custom-regbox .intgrtn-input-holder .intgrtn-input {
  height: 52px;
}

body:not(:has(#registro)) #custom-regbox .intgrtn-btn-go-to-step {
  height: 56px;
  font-size: 17px;
  box-shadow: 0 12px 40px rgba(46, 107, 255, 0.45);
}
