
#accessibility-icon {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #1b6e53;
    color: #fff;
    font-size: 24px;
    padding: 14px;
    border-radius: 50%;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    text-align: center;
}

#accessibility-toolbar {
    position: fixed;
    bottom: 90px;
    left: 25px;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#accessibility-toolbar.hidden {
    display: none;
}

#accessibility-toolbar button {
    background: #f6f6f6;
    color: #222;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}

#accessibility-toolbar button:hover {
    background: #e3fcef;
    border-color: #1b6e53;
    color: #1b6e53;
}

.dyslexia-font * {
    font-family: 'OpenDyslexic', Arial, sans-serif !important;
}

.high-contrast {
    filter: contrast(2) invert(1);
}

.reduce-motion * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

.theme-dark {
    background-color: #121212 !important;
    color: #f2f2f2 !important;
}

/* Fix dark theme text visibility */
.theme-dark,
.theme-dark p,
.theme-dark span,
.theme-dark li,
.theme-dark a,
.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark strong,
.theme-dark em,
.theme-dark label,
.theme-dark div,
.theme-dark section,
.theme-dark article {
    color: #f2f2f2 !important;
    background-color: #121212 !important;
}
