/**
 * Accessibility Widget Styles
 * Extracted for better performance
 */

#fli-accessibility-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
}

#fli-a11y-toggle {
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#fli-a11y-toggle:hover {
    background: #135e96;
    transform: scale(1.05);
}

#fli-a11y-panel {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 20px;
    min-width: 250px;
}

#fli-a11y-panel h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

#fli-a11y-panel button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
}

#fli-a11y-panel button:hover {
    background: #f0f0f0;
    border-color: #2271b1;
}

#fli-a11y-panel button:last-child {
    background: #f0f0f0;
}

/* Accessibility Modes */
body.high-contrast {
    background: #000 !important;
    color: #fff !important;
}

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

body.high-contrast a {
    color: #ffff00 !important;
    text-decoration: underline !important;
}

body.large-text {
    font-size: 120% !important;
}

body.large-text * {
    font-size: inherit !important;
}

body.readable-font {
    font-family: Arial, sans-serif !important;
    line-height: 1.8 !important;
}

body.readable-font * {
    font-family: inherit !important;
    line-height: inherit !important;
}
