/**
 * BWAT Accessibility Plugin - Minimal CSS
 * Only essential features - NO layout/styling changes
 * Version: 1.1.1 - Focus indicators fixed with !important
 */

/* Skip Navigation Link */
.bwat-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000000;
    color: #ffffff;
    padding: 8px 16px;
    z-index: 99999;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.bwat-skip-link:focus {
    top: 0;
    outline: 3px solid #0056b3;
}

/* Screen Reader Only */
.sr-only,
.screen-reader-text,
.bwat-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Focus Indicators - MUST override theme that removes outlines */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #0056b3 !important;
    outline-offset: 2px !important;
}

/* Additional focus for navigation elements */
nav a:focus,
.main-navigation a:focus,
.menu a:focus,
.menu-item a:focus {
    outline: 3px solid #0056b3 !important;
    outline-offset: 2px !important;
}

/* Override any theme rules that remove focus */
*:focus {
    outline: 3px solid #0056b3 !important;
    outline-offset: 2px !important;
}

/* Dropdown menu visibility on keyboard focus */
.menu-item:focus-within > .sub-menu,
.menu-item:focus-within > .children {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Slider Controls */
.bwat-slider-controls {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    justify-content: center;
}

.bwat-slider-pause {
    background: #0056b3;
    color: #fff;
    border: 2px solid #003d82;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.bwat-slider-pause:focus {
    outline: 3px solid #0056b3;
}

/* THAT'S IT - Nothing else! */
