/* Styles pour le groupe de boutons presence */
.attendance-toggle-group {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.attendance-option {
    display: inline-block;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    text-align: center;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style pour les icônes */
.attendance-option .icon {
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

/* Style pour l'option Présent */
.present-option {
    color: #0ab39c;
    border-color: rgba(10, 179, 156, 0.3);
}

/* Style pour l'option Retard */
.late-option {
    color: #f7b84b;
    border-color: rgba(247, 184, 75, 0.3);
}

/* Style pour l'option Absent */
.absent-option {
    color: #f06548;
    border-color: rgba(240, 101, 72, 0.3);
}

.form-check-input:checked + .present-option {
    background-color: #0ab39c;
    color: white;
    border-color: #0ab39c;
    box-shadow: 0 0 0 2px rgba(10, 179, 156, 0.3);
}

.form-check-input:checked + .late-option {
    background-color: #f7b84b;
    color: white;
    border-color: #f7b84b;
    box-shadow: 0 0 0 2px rgba(247, 184, 75, 0.3);
}

.form-check-input:checked + .absent-option {
    background-color: #f06548;
    color: white;
    border-color: #f06548;
    box-shadow: 0 0 0 2px rgba(240, 101, 72, 0.3);
}

.attendance-option.checked {
    transform: scale(1.05);
}

.attendance-option:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .attendance-toggle-group {
        gap: 3px;
    }

    .attendance-option {
        min-width: 28px;
        height: 28px;
    }

    .attendance-option .icon {
        font-size: 1rem;
    }
}