/* Global accessibility helpers applied by user preferences. */

body.a11y-high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.a11y-high-contrast .content-wrapper,
body.a11y-high-contrast .main-header,
body.a11y-high-contrast .main-sidebar,
body.a11y-high-contrast .card,
body.a11y-high-contrast .dropdown-menu,
body.a11y-high-contrast .modal-content,
body.a11y-high-contrast .info-box {
    background-color: #111 !important;
    color: #fff !important;
    border-color: #ffd700 !important;
}

body.a11y-high-contrast a {
    color: #00e5ff !important;
}

body.a11y-readable-font,
body.a11y-readable-font * {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.a11y-underline-links a {
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

body.a11y-highlight-focus *:focus {
    outline: 3px solid #ffbf00 !important;
    outline-offset: 2px;
}

body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
}

