/* Form errors (assets/js/form-errors.js): one look for every form, frontend and admin. */
.has-error input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.has-error select,
.has-error textarea,
.has-error .dp-display,
input.is-invalid, select.is-invalid, textarea.is-invalid{border-color:#d64545!important;background-color:#fffafa!important;box-shadow:0 0 0 3px rgba(214,69,69,.12)!important}
.has-error input:focus, .has-error select:focus, .has-error textarea:focus, .has-error .dp-display:focus{box-shadow:0 0 0 3px rgba(214,69,69,.22)!important}
.pf-chips.has-error .pf-chip span, .sub-months.has-error .sub-month span, .pf-radio-cards.has-error .pf-radio span{border-color:#e9a3a3!important}
.has-error > .pf-label, label.has-error{color:#b42318}
.field-error{display:flex!important;align-items:flex-start;gap:5px;margin-top:5px;font-size:11.5px!important;font-weight:600!important;line-height:1.4;color:#c0392b!important;text-transform:none;letter-spacing:0;grid-column:1/-1}
.field-error:before{content:"!";flex:none;width:14px;height:14px;border-radius:50%;background:#d64545;color:#fff;font-size:10px;font-weight:800;display:grid;place-items:center;line-height:1;margin-top:1px}
.form-error-summary{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:11px 14px;border-radius:12px;background:#fff5f5;border:1px solid #f5cfcf;color:#a93226;font-size:12.5px;line-height:1.45;animation:feIn .2s ease-out}
.form-error-summary b{font-weight:800;color:#b42318}
.form-error-summary:before{content:"";flex:none;width:18px;height:18px;margin-top:-1px;background:no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d64545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E")}
@keyframes feIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.form-error-summary{animation:none}}
