﻿.user-dialog-card {
    max-width: 1000px; /* Largeur maximale de la carte */
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.photo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f5f5f5;
    flex-direction: column;
    width: 100%; /* Utilise toute la largeur disponible */
}

.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%; /* Assure que le conteneur prend toute la largeur disponible */
}

.user-photo {
    width: 100%; /* Agrandit la photo pour remplir l'espace disponible */
    height: auto;
    object-fit: cover;
    border-radius: 12px; /* Bord arrondi pour la photo */
    border: 4px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.upload-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-section {
    padding: 24px;
}

.mud-card-actions {
    justify-content: flex-end;
    padding: 16px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.user-photo {
    width: 40px; /* Ajustez la taille selon vos besoins */
    height: 40px; /* Ajustez la taille selon vos besoins */
    border-radius: 50%; /* Cela rend l'image ronde */
    object-fit: cover; /* Assure que l'image couvre bien l'espace sans être déformée */
}
