/**
 * Accessibility Enhancements
 * WCAG 2.2 Level A/AA compliance improvements for ne-sos-paper-report
 *
 * WCAG Success Criteria Addressed:
 *   2.4.1 Bypass Blocks (Level A)   - skip link
 *   1.4.3 Contrast Minimum (Level AA) - footer dark background text
 *   2.4.7 Focus Visible (Level AA)  - enhanced focus indicators
 */

/* -------------------------------------------------------
   Skip to main content link (WCAG 2.4.1)
   Visible only on keyboard focus; off-screen otherwise
------------------------------------------------------- */
.sr-only-focusable:focus {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: block;
    padding: 8px 16px;
    background: #fff;
    color: #003366;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #003366;
    outline: none;
}

/* -------------------------------------------------------
   Footer dark background — light text (WCAG 1.4.3)
   Footer background is rgb(0,0,0); default dark text fails contrast.
   Scope to .footer div to avoid affecting Bootstrap components.
------------------------------------------------------- */
.footer,
.footer p,
.footer address {
    color: #E0E0E0;
}

/* Links on dark footer background — light blue */
.footer a {
    color: #66B3FF;
}

.footer a:hover,
.footer a:focus {
    color: #99CCFF;
    text-decoration: underline;
}

/* -------------------------------------------------------
   Focus indicators (WCAG 2.4.7)
   Ensure keyboard focus is always visible.
------------------------------------------------------- */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
