
/* ==============================================
   STYLES POUR LE MENU ÉTUDIANT
============================================== */
.student-menu-section {
    padding: 1rem 0;
}

.student-menu-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem;
    padding-left: 0.5rem;
    border-left: 3px solid #d4af37;
}

.student-menu-section h5:first-of-type {
    margin-top: 0.5rem;
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.student-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    min-height: 120px;
}

.student-option img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}

.student-option span {
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.student-option:hover {
    border-color: #ccc;
    background: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.student-option.selected {
    border-color: #d4af37;
    background: #fffef8;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.student-option.selected span {
    font-weight: 600;
    color: #d4af37;
}

.student-option.selected::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #d4af37;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }
    
    .student-option {
        padding: 0.5rem;
        min-height: 100px;
    }
    
    .student-option img {
        width: 50px;
        height: 50px;
    }
    
    .student-option span {
        font-size: 0.75rem;
    }
}

.student-menus-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.student-menu-item {
    background: #f5f5f5;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.student-menu-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.student-option.selected {
    animation: pulse 0.3s ease-out;
}
