/* Modulo contatti: campo esca, errori e messaggio di esito. */

.bs-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bs-form .wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.bs-form [aria-invalid="true"] {
  border-color: #c70a1a !important;
  box-shadow: 0 0 0 3px rgba(199, 10, 26, 0.12);
}

.bs-form__error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.3;
  color: #c70a1a;
}

.form-quiz .bs-form__error {
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
}

.bs-form__status:empty {
  display: none;
}

.bs-form__status {
  margin-top: 36px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.4;
  background: rgba(38, 38, 38, 0.06);
}

.bs-form__status.is-ok {
  background: #e7f5ea;
  color: #1d6b32;
}

.bs-form__status.is-error {
  background: #fbe9ea;
  color: #9b0d19;
}

body[data-theme="dark"] .bs-form__status.is-ok {
  background: rgba(46, 160, 67, 0.16);
  color: #7ee29a;
}

body[data-theme="dark"] .bs-form__status.is-error {
  background: rgba(224, 82, 82, 0.16);
  color: #ff9a9a;
}

.bs-form.is-sending .wpcf7-btn {
  opacity: 0.6;
  pointer-events: none;
}
