/* Styles pour le module Chauffeurs */

/* Liste des chauffeurs */
.chauffeur-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chauffeur-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Détail du chauffeur */
.chauffeur-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.chauffeur-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #6c757d;
    border: 5px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
}

/* Animations */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.05) !important;
}

/* Adaptations pour mobile */
@media (max-width: 767px) {
    .chauffeur-photo, .chauffeur-photo-placeholder {
        width: 120px;
        height: 120px;
    }
}

/* Animations pour les actions */
.btn-group .btn {
    transition: all 0.2s ease;
}

.btn-group .btn:hover {
    transform: translateY(-2px);
}

/* État Actif/Inactif */
.badge.bg-success {
    background-color: #10b981 !important;
}

/* Formulaires */
.form-control:focus, .form-check-input:focus {
    border-color: #4facfe;
    box-shadow: 0 0 0 0.25rem rgba(79, 172, 254, 0.25);
}

.form-switch .form-check-input {
    width: 2.5em;
    height: 1.25em;
}

.form-check-input:checked {
    background-color: #10b981;
    border-color: #10b981;
}
