/* ============================================================
   ESTRUCTURA GENERAL
   Reglas de layout globales que no pertenecen a un componente.
   ============================================================ */

main {
    position: relative;
    z-index: 20;
    margin-top: 0;
}

/* ============================================================
   BARRA DE SCROLL PERSONALIZADA (AMARILLO / AZUL)
   ============================================================ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #07112600;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-acento, var(--color-acento)) 0%, #1557a4 100%);
    border-radius: 999px;
    border: 2px solid #07112600;
    transition: background 0.3s var(--curva-salida);
}

@media (hover: hover) and (pointer: fine) {
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #ffd043 0%, #1e6bd6 100%);
    }
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-acento) #07112600;
}
/* Texto solo para lectores de pantalla y buscadores (invisible en pantalla) */
.texto-solo-lector {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
