/**
 * Estilos para la diapositiva de índice - Versión simplificada
 */

/* Contenedor principal */
.index-slide {
    position: relative;
    text-align: center;
}

/* Título del índice */
.index-slide h2 {
    color: var(--primary-color, #0077cc);
    margin-bottom: 1.5rem;
    font-size: 2.4rem;
}

/* Lista de índice */
.index-list {
    list-style-position: inside;
    padding: 0;
    margin: 1.5rem auto;
    max-width: 80%;
    text-align: left;
}

/* Elementos del índice */
.index-list li {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efectos hover */
.index-list li:hover {
    background-color: rgba(0, 119, 204, 0.1);
    transform: translateX(5px);
}

/* Tema oscuro - hover */
body.dark-theme .index-list li:hover {
    background-color: rgba(77, 166, 255, 0.2);
}

/* Indicador visual de que es clicable */
.index-list li:after {
    content: '\f054'; /* Icono de flecha FontAwesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color, #0077cc);
}

.index-list li:hover:after {
    opacity: 1;
    right: 0.5rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .index-list li {
        font-size: 1.2rem;
        margin-bottom: 0.7rem;
        padding: 0.4rem 0.7rem;
    }
    
    .index-list {
        max-width: 90%;
    }
}
