/* Styles for the accessibility widget */
#accessibility-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

#accessibility-toggle {
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* The menu that appears on clicking the toggle */
#accessibility-menu {
    display: none;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#accessibility-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#accessibility-menu li {
    margin: 0;
    padding: 5px 10px;
    text-align: left;
}

#accessibility-menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    text-align: left;
    padding: 5px 0;
}

/* Accessibility mode styles */

/* Sepia effect */
.accessibility-sepia {
    filter: sepia(1) !important;
}

/* High Contrast Mode */
.accessibility-high-contrast {
    filter: contrast(2) brightness(1.2) !important;
}

/* Highlight Links Mode */
.accessibility-highlight-links a {
    outline: 2px solid red !important;
}

/* ADHD mode overlay styling */
.adhd-overlay {
    position: fixed;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 9998;
}

/* Magnify Text Popup styling */
#magnify-popup {
    position: fixed;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 18px;
    border-radius: 4px;
    z-index: 10000;
    display: none;
}
