/* Lead form — visual match to .lf, keep intgrtn / validation class hooks */

#custom-regbox {
  width: 100%;
  padding-top: 0;
}

#custom-regbox #main-container {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

#custom-regbox .form-section {
  width: 100%;
}

#custom-regbox .form-container {
  width: 100%;
  background: rgba(18, 18, 20, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid #2a2a2e;
  border-radius: 22px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  box-sizing: border-box;
}

#custom-regbox .formHeader {
  background: transparent;
  color: #f4f4f5;
  text-align: left;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
  font-family: inherit;
  border-radius: 0;
  white-space: normal;
  word-break: break-word;
}

#custom-regbox .form-sub {
  font-size: 14px;
  color: #a1a1aa;
  margin: -10px 0 0;
  padding: 0;
  line-height: 1.4;
}

#custom-regbox .formwrap-outer,
#custom-regbox .intgrtn-form-signup,
#custom-regbox .formwrap {
  padding: 0;
  margin: 0;
  width: 100%;
}

#custom-regbox .intgrtn-form-signup,
#custom-regbox .intgrtn-form-signup *,
#custom-regbox .intgrtn-form-signup-3-steps,
#custom-regbox .intgrtn-form-signup-3-steps * {
  box-sizing: border-box;
  outline: 0;
  text-indent: 0;
}

#custom-regbox .intgrtn-form-signup-3-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
}

#custom-regbox .intgrtn-steps-holder .intgrtn-step {
  display: none;
}

#custom-regbox .intgrtn-steps-holder .intgrtn-step.intgrtn-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#custom-regbox .intgrtn-name-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

#custom-regbox .intgrtn-input-holder {
  margin: 0;
  width: 100%;
}

#custom-regbox .intgrtn-input-holder::before {
  display: block;
  font-size: 13px;
  color: #a1a1aa;
  margin-bottom: 6px;
}

#custom-regbox .intgrtn-input-holder-first-name::before {
  content: "Nome";
}

#custom-regbox .intgrtn-input-holder-last-name::before {
  content: "Sobrenome";
}

#custom-regbox .intgrtn-input-holder-email::before {
  content: "E-mail";
}

#custom-regbox .intgrtn-input-holder-phone::before {
  content: "Telefone (WhatsApp)";
}

#custom-regbox .intgrtn-input {
  -webkit-appearance: none;
  appearance: none;
  height: 50px;
  width: 100%;
  display: block;
  background: #0e0e10;
  border: 1px solid #2e2e33;
  border-radius: 12px;
  padding: 0 14px;
  color: #f4f4f5;
  font-size: 16px;
  font-family: inherit;
  line-height: 1.2;
  margin: 0;
  transition: border-color 0.15s ease;
}

#custom-regbox .intgrtn-input::placeholder {
  color: #71717a;
}

#custom-regbox .intgrtn-input:focus {
  border-color: #f4f4f5;
}

#custom-regbox .iti {
  width: 100%;
  display: block;
}

#custom-regbox .iti--separate-dial-code .iti__selected-flag {
  background: #0e0e10;
  border-radius: 12px 0 0 12px;
}

#custom-regbox .iti__country-list {
  background: #121214;
  border: 1px solid #2e2e33;
  color: #f4f4f5;
  z-index: 20;
}

#custom-regbox .iti__country.iti__highlight {
  background: #1f1f23;
}

#custom-regbox .iti input.intgrtn-input {
  padding-left: 92px;
}

#custom-regbox .intgrtn-btn-go-to-step-holder {
  margin: 6px 0 0;
  text-align: center;
  width: 100%;
}

#custom-regbox .intgrtn-btn-go-to-step,
#custom-regbox .send-btn {
  width: 100%;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: #f4f4f5;
  color: #0b0b0c;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-transform: none;
  text-align: center;
  padding: 0 24px;
  margin: 0;
  display: block;
  white-space: normal;
  transition: background 0.2s ease;
}

#custom-regbox .intgrtn-btn-go-to-step:hover,
#custom-regbox .send-btn:hover {
  background: #fff;
}

#custom-regbox .lf-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 12px;
  color: #a1a1aa;
  font-family: "Geist Mono", monospace;
  margin-top: 4px;
}

#custom-regbox .lf-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

#custom-regbox .lf-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4f4f5;
}

#custom-regbox .lf-legal {
  font-size: 12px;
  line-height: 1.5;
  color: #8b8b94;
  text-align: center;
  text-wrap: pretty;
}

#custom-regbox .lf-legal a {
  color: inherit;
  text-decoration: underline;
}

/* validation colors — keep readable on dark fields */
#custom-regbox .form-send .activeGood {
  color: #f4f4f5 !important;
  background: #0e0e10 !important;
  border-color: #5ec849 !important;
}

#custom-regbox .form-send .activeBad {
  color: #f4f4f5 !important;
  background: #0e0e10 !important;
  border-color: #f87171 !important;
}
