@charset "UTF-8";
/**
 * Accessibility Styles
 * Skip links, focus indicators, and keyboard navigation improvements
 */

/* Skip Links */
.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
    background: #000;
    color: #fff;
    padding: 1rem 1.5rem;
    text-decoration: none;
    z-index: 100000;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    left: 0;
    clip: auto;
    height: auto;
    width: auto;
    overflow: visible;
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

/* Enhanced Focus Indicators */
body.user-is-tabbing *:focus {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

body.user-is-tabbing button:focus,
body.user-is-tabbing input:focus,
body.user-is-tabbing select:focus,
body.user-is-tabbing textarea:focus,
body.user-is-tabbing a:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

/* Screen Reader Only Text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .skip-link:focus {
        border: 3px solid currentColor;
    }

    body.user-is-tabbing *:focus {
        outline-width: 4px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
