/* What is stopping a save, made visible app-wide: any field with an error
   line under it is outlined, a line flagged as wrong is outlined, and
   js/components/error-focus.js brings the first one to the reader. */
.is-invalid,
.has-error .form-control,
.has-error select,
.has-error textarea,
.form-field:has(> .field-error) .form-control,
.form-field:has(> .field-error) select,
.form-field:has(> .field-error) textarea,
.form-field:has(> .field-error) input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, .15);
}
.form-field:has(> .field-error) > label { color: #b91c1c; }
.field-error { color: #b91c1c; font-size: .85rem; margin-top: .25rem; }
.tg-row-error {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
  border-radius: 10px;
}
.tg-error-flash { animation: tg-error-flash 1.2s ease-out 1; }
@keyframes tg-error-flash {
  0% { box-shadow: 0 0 0 6px rgba(220, 38, 38, .35); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}
