/* ==========================================================================
   ESTILOS WIDGET DE ACCESIBILIDAD VISUAL
   ========================================================================== */

.accessibility-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1080;
}

/* Botón flotante */
.accessibility-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #111111;
    color: #ffc107;
    border: 2px solid #ffc107;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.accessibility-btn:hover {
    background-color: #ffc107;
    color: #111111;
    transform: scale(1.1) rotate(15deg);
}

/* Panel flotante de controles */
.accessibility-menu {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 250px;
    z-index: 1085;
    animation: fadeInUp 0.25s ease forwards;
}

/* Modo Alto Contraste */
body.high-contrast {
    background-color: #000000 !important;
    color: #ffffff !important;
}

body.high-contrast .card,
body.high-contrast header,
body.high-contrast footer,
body.high-contrast main,
body.high-contrast section {
    background-color: #121212 !important;
    color: #ffffff !important;
    border-color: #ffc107 !important;
}

body.high-contrast a {
    color: #ffc107 !important;
}

/* Modo Escala de Grises */
body.grayscale-mode {
    filter: grayscale(100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}