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

#alta #main-container,
#alta-final .main-container,
.page-acceso #main-container,
.custom-regbox .main-container {
  max-width: none;
  width: 100%;
  margin: 0;
}

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

.custom-regbox .form-container.form-card {
  overflow: visible;
  background-color: var(--white);
  background-image: linear-gradient(90deg, var(--green), var(--yellow));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 124, 58, 0.08);
  border-radius: 24px;
}

.custom-regbox .form-container.form-card::before {
  content: none;
}

#custom-regbox .formHeader,
.custom-regbox .formHeader {
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  margin: 0;
  padding: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: none;
  border-radius: 0;
  font-family: inherit;
  white-space: normal;
}

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

.custom-regbox .intgrtn-form-signup .intgrtn-steps-holder .intgrtn-step.intgrtn-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.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-bottom: 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: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.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 .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-input-holder-phone .intgrtn-input::placeholder {
  color: #8a9a90;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-input-holder .intgrtn-input {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #d5e3da;
  background-color: #fbfcfb;
  padding: 0 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-input-holder .intgrtn-input::placeholder {
  color: transparent;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-input-holder .intgrtn-input:focus {
  outline: 2px solid rgba(14, 124, 58, 0.35);
  border-color: var(--green);
  background-color: #fff;
}

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

.custom-regbox .iti--separate-dial-code .iti__selected-flag {
  background: transparent;
  border-right: 1px solid var(--line);
  border-radius: 12px 0 0 12px;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step-holder {
  margin: 0;
  text-align: center;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .custom-regbox .form-container.form-card {
    padding: 12px 12px 10px;
    border-radius: 16px;
  }

  #custom-regbox .formHeader,
  .custom-regbox .formHeader {
    font-size: 1.02rem;
  }

  .custom-regbox .intgrtn-form-signup .intgrtn-steps-holder .intgrtn-step.intgrtn-active {
    gap: 8px;
  }

  .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 {
    margin-bottom: 3px;
    font-size: 0.72rem;
  }

  .custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-input-holder .intgrtn-input,
  .custom-regbox .iti input {
    min-height: 38px;
  }

  .custom-regbox .formwrap-outer .intgrtn-form-signup .intgrtn-form-signup-3-steps .intgrtn-btn-go-to-step {
    min-height: 40px;
  }
}
