#boton-accesibilidad {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
    background-color: transparent;
    color: white;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

#herramientas-accesibilidad {
    display: none;
    position: fixed;
    bottom: 125px;
    right: 20px;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
}

#herramientas-accesibilidad button {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    background-color: #1e518f;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#herramientas-accesibilidad button:hover {
    background-color: #005bb5;
}

#herramientas-accesibilidad button.seleccionado {
    background-color: #005bb5;
}

/* Estilos para alto contraste */
body.alto-contraste {
    background-color: black !important;
    color: yellow !important;
}

body.alto-contraste a {
    color: cyan !important;
}

body.alto-contraste button {
    background-color: yellow !important;
    color: black !important;
}

body.alto-contraste #boton-accesibilidad {
    background-color: transparent !important;
    color: black !important;
}

body.alto-contraste #herramientas-accesibilidad {
    background-color: black !important;
    color: yellow !important;
    border: 1px solid yellow !important;
}

body.alto-contraste #herramientas-accesibilidad button {
    background-color: yellow !important;
    color: black !important;
}

/* Modo Lectura */
body.modo-lectura .header, body.modo-lectura .footer, body.modo-lectura .sidebar {
    display: none;
}
body.modo-lectura .content {
    width: 100%;
}

/* Subrayar Enlaces */
body.subrayar-enlaces a {
    text-decoration: underline;
}

/* Ajustar Espaciado del Texto */
body.ajustar-espaciado-texto {
    line-height: 1.8;
    letter-spacing: 0.1em;
}

/* Desactivar Animaciones */
body.desactivar-animaciones * {
    animation: none !important;
    transition: none !important;
}

/* Cambiar Fuente */
body.cambiar-fuente {
    font-family: Arial, sans-serif;
}

/* Paletas de colores */
#colorPickerBackground,
#colorPickerText {
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#aplicarColores {
    background-color: #28a745;
}

#restablecerConfiguraciones {
    background-color: #dc3545;
}
