/*
  Rules for classes ASP.NET emits at runtime. Tailwind cannot see these — it
  scans source files, and these class names only ever appear in rendered HTML —
  so they have to be written by hand rather than generated into iryst.css.
*/

/* Applied by the framework to an input that failed validation. */
.input-validation-error {
    border-color: var(--coral);
}

.input-validation-error:focus-visible {
    outline-color: var(--coral);
}

/* The <span asp-validation-for> holder. Empty when the field is valid, so it
   must not reserve space and push the layout around. */
.field-validation-valid {
    display: none;
}
