/* Shared enquiry-form feedback (loaded by mu-plugins/pyp-inquiry, theme-independent).
 * Only touches the status box and the sending state; field styling stays with the theme. */
.pyp-form-status:not(:empty) {
  display: block; margin-top: 12px; padding: 14px 16px 14px 44px; position: relative;
  border-left: 3px solid #2e463c; background: rgba(46, 70, 60, .08); color: #1f3a30;
  font-size: 14px; line-height: 1.55; text-align: left;
}
.pyp-form-status:not(:empty)::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%;
  background: #2e463c url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 8.5 6.8 11 12 5.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}
.pyp-form-status.is-sending:not(:empty) { border-left-color: rgba(46,70,60,.4); background: rgba(46,70,60,.05); color: #4c5148; }
.pyp-form-status.is-sending:not(:empty)::before {
  background: transparent; border: 2px solid rgba(46,70,60,.25); border-top-color: #2e463c;
  animation: pyp-status-spin .8s linear infinite;
}
.pyp-form-status.is-error:not(:empty) { border-left-color: #9c5b2e; background: rgba(156, 91, 46, .09); color: #773d1f; }
.pyp-form-status.is-error:not(:empty)::before {
  background: #9c5b2e url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 4v5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/><circle cx='8' cy='11.6' r='1' fill='%23fff'/></svg>") center / 12px no-repeat;
}
.pyp-form-status:empty { display: none; }
@keyframes pyp-status-spin { to { transform: rotate(360deg); } }

form[data-pyp-submitting="true"] [type="submit"] { opacity: .72; cursor: progress; }
.pyp-contact-upload.is-dragover, .pyp-home-inquiry__upload.is-dragover,
.pyp-home-project-form__upload.is-dragover { border-color: #9c5b2e; background: rgba(156, 91, 46, .06); }
.pyp-contact-upload.has-files strong, .pyp-home-project-form__upload.has-files strong { color: #9c5b2e; }
@media (prefers-reduced-motion: reduce) { .pyp-form-status.is-sending:not(:empty)::before { animation: none; } }
