/* Ответ CF7 сохраняется под формой, если окно SweetAlert2 недоступно. */
html body .wpcf7 form.wpcf7-form .wpcf7-response-output {
  clear: both;
  margin: 16px 0 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #9A712E !important;
  border-radius: 12px;
  background: #FFF3D6;
  color: #553C12;
  font: 400 14px/1.5 var(--v-text, sans-serif) !important;
  text-align: left;
  overflow-wrap: anywhere;
}
html body .wpcf7 form.wpcf7-form.sent .wpcf7-response-output {
  display: block !important;
  border-color: #2E8C83 !important;
  background: #E5F4EE;
  color: #164C43;
}
html body .wpcf7 form.wpcf7-form.invalid .wpcf7-response-output,
html body .wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output,
html body .wpcf7 form.wpcf7-form.failed .wpcf7-response-output,
html body .wpcf7 form.wpcf7-form.aborted .wpcf7-response-output,
html body .wpcf7 form.wpcf7-form.spam .wpcf7-response-output {
  display: block !important;
}
html body .wpcf7 form.wpcf7-form.failed .wpcf7-response-output,
html body .wpcf7 form.wpcf7-form.aborted .wpcf7-response-output {
  background: #FCEDEA;
  border-color: #B84C3A !important;
  color: #7B291C;
}
html body .wpcf7 form.wpcf7-form.sent.vgd-cf7-success-shown .wpcf7-response-output {
  display: none !important;
}
html body .wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin: 4px 0 10px;
  color: #D94E3F;
  font-size: 13px;
  line-height: 1.4;
}
html body .wpcf7 [aria-invalid="true"] { border-color: #D94E3F !important; }

/* Отдельное окно поверх модальных форм; стили не затрагивают остальные окна. */
html body .swal2-container.vgd-cf7-alert-container { z-index: 2147483647; padding: 20px; }
html body .swal2-popup.vgd-cf7-alert {
  width: 460px;
  max-width: 100%;
  padding: 28px 22px;
  border: 1px solid rgba(231, 235, 232, .18);
  border-radius: 22px;
  font-family: var(--v-text, sans-serif);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
html body .vgd-cf7-alert .swal2-title {
  padding: 0;
  color: #EEF1EE !important;
  font-family: var(--v-display, sans-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}
html body .vgd-cf7-alert .swal2-html-container {
  margin: 14px 0 0;
  color: rgba(231, 235, 232, .82);
  font-size: 16px;
  line-height: 1.5;
}
html body .vgd-cf7-alert .swal2-actions { margin: 22px 0 0; }
html body .vgd-cf7-alert .vgd-cf7-alert__confirm {
  width: auto;
  min-width: 140px;
  height: auto;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--v-spectrum, linear-gradient(100deg, #5CC0B3, #A9CFD8, #F2C98A)) !important;
  color: #0E1211 !important;
  font: 600 16px/1.4 var(--v-text, sans-serif);
  cursor: pointer;
}
html body .vgd-cf7-alert .vgd-cf7-alert__confirm:focus-visible {
  outline: 2px solid #A9CFD8 !important;
  outline-offset: 4px;
}
