/* ================================
   CONTENEDOR BOTÓN FLOTANTE
================================ */
.accessibility-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

/* ================================
   BOTÓN PRINCIPAL
================================ */
.btn-accessibility {
    background-color: #33021B !important;
    color: #fff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    border: none;
    transition: 0.3s ease;
}

.btn-accessibility:hover {
    background-color: #551a3b !important;
}

/* ================================
   SUBMENÚ
================================ */
.accessibility-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 240px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.25);
    padding: 10px;
    display: none;
}

.accessibility-menu .acc-option {
    width: 100%;
    text-align: left;
    padding: 12px;
    margin-bottom: 6px;
    background: #f5f5f5;
    border-radius: 6px;
    border: none;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    min-height: 44px; /* tamaño táctil mínimo */
}

.accessibility-menu .acc-option:hover {
    background: #e9e9e9;
}

.accessibility-menu .reset {
    background: #ffdddd;
}

.accessibility-menu .reset:hover {
    background: #ffbbbb;
}

/* ================================
   MOBILE RESPONSIVE <768px
================================ */
@media (max-width: 767.98px) {
    .accessibility-menu {
        width: 85vw;
        left: -10px;
        bottom: 80px; /* más espacio para navegadores móviles */
    }

    .btn-accessibility {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .accessibility-menu .acc-option {
        font-size: 16px;
        padding: 14px;
    }
}

/* ================================
   TABLET RESPONSIVE 768-1024
================================ */
@media (min-width:768px) and (max-width:1024px) {
    .accessibility-menu {
        width: 260px;
        bottom: 75px;
    }

    .accessibility-menu .acc-option {
        padding: 12px;
        font-size: 15px;
    }
}

/* ================================
   EFECTOS DE ACCESIBILIDAD
================================ */

html.grayscale { filter: grayscale(100%); }
html.high-contrast { background:#000!important; color:#fff!important; }
html.high-contrast a { color: yellow!important; }

html.big-cursor * { cursor: zoom-in !important; }

html.desaturated { filter: saturate(30%); }

html.highlight-links a {
    color: #66284c !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Tamaños de fuente global */
html.font-18 { font-size: 18px; }
html.font-20 { font-size: 20px; }
html.font-22 { font-size: 22px; }
html.font-24 { font-size: 24px; }
