/* Accessibility overrides aligned with WCAG 2.1 AA and TN high-contrast standards */

/*
 Fix ACA-105: Color contrast for error info boxes
 The previous palette resembled Bootstrap alert-danger (#b94a48 on #f2dede) which
 can drop below 4.5:1 at normal text sizes. We ensure a minimum 4.5:1 by using
 a light background with dark text and explicit link coloring.
*/
.info-box.alert-error {
  background-color: #f8d7da; /* light red */
  color: #000; /* black text for strong contrast */
  border: 1px solid #842029; /* visible border for high-contrast modes */
}
.info-box.alert-error a { color: #111; text-decoration: underline; }
.info-box.alert-error a:focus,
.info-box.alert-error a:hover { color: #000; text-decoration: underline; }
.info-box.alert-error ul,
.info-box.alert-error li { color: inherit; }

/* Ensure focus outlines are always visible (high-contrast friendly) */
:focus {
  outline: 2px solid #0b5ed7; /* TN blue outline */
  outline-offset: 2px;
}

/* Chosen dropdown accessibility tweaks (ACA-104) */
.chosen-container .chosen-results[tabindex="0"] {
  /* Make focus ring clearly visible on scrollable results area */
  box-shadow: 0 0 0 2px #0b5ed7 inset;
}
