/*
 * The SGP platform's lead form ([sgp_lead_form], printed by the
 * sgp-connector plugin) inside the theme's gold form box. It replaced the
 * GoHighLevel iframe in 2026-11 and wears the look of the theme's own
 * .input-form / .submit-value fields. The form ships class hooks only
 * (bpa-*), no inline styles, so everything visual lives here.
 */
.form-contact .bpa-lead-form {
  display: grid;
  gap: 16px;
  font-family: "Poppins-Regular";
}

.form-contact .bpa-field {
  display: block;
  margin: 0;
}

.form-contact .bpa-label {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font-family: "Poppins-SemiBold";
  font-size: 15px;
  line-height: 1.4;
}

.form-contact .bpa-input {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  border: 1px solid #DCDCDC;
  background: #fff;
  padding: 17px 24px;
  color: #1f1f1f;
  font-family: "Poppins-Regular";
  font-size: 16px;
  line-height: 1.6;
}

.form-contact textarea.bpa-input {
  height: 140px;
  resize: vertical;
}

.form-contact select.bpa-input {
  padding-top: 0;
  padding-bottom: 0;
}

.form-contact .bpa-input:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.form-contact .bpa-extra {
  gap: 16px;
}

.form-contact .bpa-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.form-contact .bpa-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.form-contact .bpa-fineprint {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.5;
}

.form-contact .bpa-fineprint a {
  color: #fff;
  font-size: 12px;
  text-decoration: underline;
}

.form-contact .bpa-submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #BF8911;
  color: #fff;
  padding: 17px;
  font-family: "Poppins-SemiBold";
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}

.form-contact .bpa-submit:hover {
  background: #A87810;
}

.form-contact .bpa-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-contact .bpa-success,
.form-contact .bpa-error {
  margin: 0;
  color: #fff;
  font-family: "Poppins-SemiBold";
  font-size: 16px;
  text-align: center;
}

.form-contact .bpa-error {
  border-radius: 8px;
  background: rgba(127, 29, 29, 0.35);
  padding: 10px;
}

/* The Testimonials page had the form alone in its section, with no box. */
.form-contact.sgp-form-standalone {
  max-width: 628px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .form-contact .bpa-input {
    padding: 15px 18px;
  }
}
