.form-feedback{display:flex;align-items:center;gap:15px;padding:18px 20px;margin-block:18px;border:1px solid var(--accent);border-radius:12px;background:var(--surface,var(--paper));color:var(--ink);text-align:left;max-width:100%;overflow-wrap:anywhere}
.feedback-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:var(--accent);color:white;box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent)}
.feedback-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.feedback-icon path{stroke-dasharray:30;stroke-dashoffset:0}
.feedback-copy{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:14px;line-height:1.65;color:var(--sub)}
.feedback-copy strong{font-size:16px;line-height:1.5;color:var(--ink)}
[data-feedback=error]{border-color:var(--sub)}
[data-feedback=error] .feedback-icon{background:var(--ink);font-weight:800;box-shadow:none}
.feedback-spinner{background:transparent;box-shadow:none;border:3px solid var(--line);border-top-color:var(--accent)}
.feedback-enter{animation:feedback-in .4s ease-out both}
.feedback-enter:not([data-feedback=loading]) .feedback-icon{animation:feedback-pop .5s ease-out both}
.feedback-enter .feedback-icon path{animation:feedback-check .45s .15s ease both}
.feedback-spinner{animation:feedback-spin .8s linear infinite}
.form-submitting::before{content:'';width:15px;height:15px;display:inline-block;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:feedback-spin .8s linear infinite}
@keyframes feedback-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes feedback-pop{0%{transform:scale(.65)}65%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes feedback-check{from{stroke-dashoffset:30}to{stroke-dashoffset:0}}
@keyframes feedback-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.form-feedback{padding:16px;gap:12px}.feedback-icon{flex-basis:36px;width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.form-feedback,.form-feedback *,.form-submitting::before{animation:none!important;transition:none!important}}
