/* ExamRobotic — menu styles */

/* Focus accesibilidad */
.module-card:focus,
.list-card:focus,
button:focus {
    outline: 3px solid #1a6fd4;
    outline-offset: 3px;
}

/* Tarjeta de módulo */
.module-card {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover {
    transform: translateY(-5px);
    border-color: #1a6fd4;
    box-shadow: 0 8px 24px -4px rgba(11,32,64,0.13);
}
.module-card:hover .arrow-icon {
    transform: translateX(5px);
}

/* Flecha animada */
.arrow-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Tarjeta formato lista */
.list-card {
    transition: transform 0.2s ease, border-left-color 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid transparent;
}
.list-card:hover {
    transform: translateX(5px);
    border-left-color: #1a6fd4;
    box-shadow: 0 4px 16px -4px rgba(11,32,64,0.1);
}
.list-card:hover .arrow-icon {
    transform: translateX(5px);
}

/* Número de unidad */
.number-badge {
    transition: background-color 0.2s ease, color 0.2s ease;
}
.list-card:hover .number-badge {
    background-color: #1a6fd4;
    color: #ffffff;
}
