
        :root {
            --bg-color: #fff;
            --container-bg: #f2f6ff; /* Fondo oscuro estilo lector PDF profesional */
            --accent-color: #071753; /* Azul institucional */
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-color);
            margin: 0;
            /* padding: 20px; */
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Bloqueo nativo de selección de texto a nivel CSS */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        h2 {
            color: #071753;
            margin-bottom: 5px;
        }

        .alert-text {
            color: #2b1f10;
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        /* Barra de navegación SUPERIOR */

        .pdf-toolbar {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
        /* .pdf-toolbar {
            max-width: 850px;
            width: 100%;
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-bottom: none; /* Quitamos el borde inferior para conectar con el visor */
            /* border-radius: 8px 8px 0 0; Bordes redondeados arriba */
            /* padding: 12px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px; */
            /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
            /* box-sizing: border-box;
            z-index: 10; */
        }

        /* Contenedor principal del visor (Abajo de la barra) */
        .pdf-viewer-container {
    position: relative;
    /* background: #525659; */
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    min-height: 600px; /* EVITA QUE SE COLASE A ALTO 0 */
}
        /* .pdf-viewer-container {
            position: relative;
            max-width: 850px;
            width: 100%;
            background: var(--container-bg);
            border: 1px solid var(--border-color);
            border-radius: 0 0 8px 8px;/*ordes redondeados abajo */
            /* box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px 0;
            min-height: 500px; */
        } */

        /* El ESCUDO: Capa invisible que bloquea interacciones de mouse sobre el documento */
        .pdf-shield {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 999;
}
        /* .pdf-shield {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999;
            background: rgba(255, 255, 255, 0);
        } */

        canvas {
    max-width: 95%;
    height: auto !important;
    z-index: 1;
}


        .nav-button {
            background-color: #071753;            
            border: none;
            padding: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.2s, opacity 0.2s;
        }

        .nav-button i {
            color: #17d6b5;
        }

        .nav-button:hover {
            background-color: #17d6b5;
        }

        .nav-button:hover i {
            color: #071753;
        }

        .nav-button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
            opacity: 0.6;
        }

        .nav-button:disabled i{
            color: #071753;
        }

        .page-info {
            font-size: 0.95rem;
            color: #0717538;
            font-weight: 600;
        }
        



        /* contenido */

        .contenido_rit {
            margin-top: 6rem;
        }

        .contenido_rit div {
            font-size: 2rem;
            text-align: center;
        }

        .contenido_rit div p {
            padding: 1rem 3rem;
            text-align: left;
        }
        /* Desactivar impresión mediante CSS */
        @media print {
            body, .pdf-viewer-container, .pdf-toolbar { display: none !important; }
        }
