/***********************APARIENCIA MENU ACCESIBILIDAD DIGITAL**********************************/
.offcanvas-access-digital .offcanvas-header {
    display: flex;
    align-items: center;
    padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
    background: #0e2346;
    color: #fff;
}
.offcanvas-access-digital .offcanvas-body {
    background: #ddd;
}

.offcanvas-access-digital  .offcanvas-title {
    color: #fff;
}

.offcanvas-access-digital .btn-menu-close {
    border: none;
    font-size: 22px;
    position: absolute;
    right: -16.5px;
    top: 15px;
    padding: 0;
    line-height: 1;
    width: 33px;
    height: 33px;
    line-height: 35px;
    font-size: 18px;
    z-index: 1;
    color: #fff;
    background-color: #0e2346;
    border-radius: 50%;
}
.offcanvas-access-digital .btn-menu-close:hover {
    background-color: #000;
}
/*******************************************************/
.card-accesibilidad-refrescar {
    border-radius: 18px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #0e2346;
    background: #0e2346;
    color: #fff;
}
   .card-accesibilidad-refrescar:hover {
        background: #000;
        transform: translateY(-2px);
    }

.card-accesibilidad {
    border-radius: 18px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    background: #fff;
}

    .card-accesibilidad:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

.card-header-accesibilidad {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.icon-circle-refrescar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0e2346;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.card-accesibilidad.active .check-circle {
    opacity: 1;
    border-color: #000;
}

.indicador {
    display: flex;
    gap: 8px;
}

.line {
    width: 35px;
    height: 4px;
    background: #ddd;
    border-radius: 10px;
    transition: 0.3s ease;
}

    .line.active {
        background: #000;
    }

.modo-oscuro {
    background: #121212 !important;
    color: #fff !important;
}

    .modo-oscuro a {
        color: #4da3ff !important;
    }

.modo-invertido .contenido-filter {
    filter: invert(1) hue-rotate(180deg);
}
.modo-monocromo .contenido-filter {
    filter: grayscale(1);
}

.modo-luz {
    background: #ffffff !important;
    color: #000 !important;
}

.resaltar-enlaces a {
    background: #000  !important;
    color: yellow !important;
    font-weight: bold;
    padding: 2px 4px;
    text-decoration:revert-layer !important;
}

.cursor-grande {
    cursor: url("../img/accesibilidad/cursor.png") 32 32, auto !important;
}
/*******************mascara de lectura***************************/
#readingMask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    z-index: 9998;
    background: linear-gradient( to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.75) 38%, #0e2346 39%, 
    transparent 40%, transparent 60%, #0e2346 61%, 
    rgba(0,0,0,0.75) 62%, rgba(0,0,0,0.75) 100% );
}

/*****************lectura guiada ****************/
#readingGuide {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    pointer-events: none;
    display: none;
    z-index: 9999;
    transition: top 0.05s linear;
}

#readingGuide {
    height: 20px;
    background: #000;
    border-top: 3px solid yellow;
    border-bottom: 3px solid yellow;
}

/**************boton de accesibilidad******************/
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 65px;
    height: 65px;
    background: #0d6efd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
}

    .chatbot-btn img {
        width: 64px;
        height: 64px;
        transition: all 0.3s ease;
    }
    .chatbot-btn:hover {
        transform: scale(1.15);
        box-shadow: 0 0 20px #00f7ff;
        background: #00c2ff;
    }

        .chatbot-btn:hover img {
            filter: brightness(1.4) contrast(1.2);
        }

.chatbot-tooltip {
    position: fixed;
    bottom: 35px;
    left: 95px;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.chatbot-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,194,255,0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0,194,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,194,255,0);
    }
}

/*****************11/03/2026************************/
.lectura-activa {
    outline: 3px solid yellow;
    background: yellow;
    transition: all .2s ease;
}

.modo-lectura * {
    cursor: pointer;
}