.ppost-form-status {
  margin-top: 12px;
}

.ppost-form-success p {
  color: #1b7f3b;
  font-weight: 600;
  margin: 0;
}

.ppost-form-error p {
  color: #c62828;
  font-weight: 600;
  margin: 0;
}

.livi-form-status {
  margin: 0 0 16px;
  padding: 14px 16px;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

.livi-form-error {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: rgba(198, 40, 40, 0.1) !important;
  border: 1px solid #e57373 !important;
}

.livi-form-error p {
  color: #c62828 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.module.form .moze-formerror,
.module.form [aria-invalid="true"] {
  border-color: #e57373 !important;
}

.module.form.livi-form-sent .thankYou,
.module.form .thankYou.livi-thankyou {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 22px 20px !important;
  background: rgba(27, 127, 59, 0.12) !important;
  border: 1px solid #81c784 !important;
  border-left: 4px solid #1b7f3b !important;
  text-align: left !important;
  color: #1b7f3b !important;
}

.module.form .thankYou p,
.module.form .livi-thankyou__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #1b7f3b !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.module.form .h-captcha,
.module.form .hcaptcha-badge {
  display: none !important;
}

.module.form input.livi-hp,
input.livi-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  min-width: 0 !important;
  max-width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  border: 0 !important;
}

.module.form .livi-turnstile {
  clear: both;
  width: 100%;
  margin: 12px 0 8px;
  min-height: 68px;
}

/* Submit styles target input[type=submit]. The handler switches that to
   type=button, so the control was stretching full width and the reply note
   (margin-top: -14px, text-align: right) sat on top of it. */
.module.form input[data-livi-submit] {
  display: table;
  width: auto;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.module.form .livi-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  clear: both;
  width: 100%;
  margin-top: 4px;
}

.module.form .livi-submit-row > .module.text {
  flex: 1 1 auto;
  margin: 0 !important;
  min-width: 0;
}

.module.form .livi-submit-row .custom7 {
  margin: 0;
  text-align: right;
  line-height: 1.3;
}

@media only screen and (max-width: 767px) {
  .module.form .livi-submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .module.form input[data-livi-submit] {
    width: 100%;
  }

  .module.form .livi-submit-row .custom7 {
    text-align: left;
  }
}
