/* ======================================================
MEMBRES - GRILLE D'AFFICHAGE + CARTES UTILISATEUR
====================================================== */

/* === GRILLE PRINCIPALE DES MEMBRES === */
.membre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    padding: 20px;
    max-height: 100vh;
}

/* === CARTE INDIVIDUELLE D'UN MEMBRE === */
.membre {
    background-color: black;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    min-height: 250px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-around;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease, transform 0.5s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 0, 76, 0.3);
}

.membre.show {
    opacity: 1;
    visibility: visible;
}

.membre:hover {
    transform: scale(1.025);
    transition: transform 0.3s ease;
}

/* === PHOTO DU MEMBRE === */
.photo {
    width: 40%;
    height: 95%;
    background-color: black;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* === DESCRIPTIF / INFOS MEMBRE === */
.descriptif {
    width: 55%;
    height: 95%;
    display: flex;
    font-size: 16px;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background-color: black;
}

.info {
    width: 95%;
    height: 20%;
    display: flex;
    justify-content: space-between;
}

/* === BLOCS D'INFORMATION === */
.pseudo,
.style,
.age,
.genre,
.profil {
    border: 1px solid white;
    color: black;
    text-align: center;
    background-color: white;
    padding: 1px;
    box-shadow: 2px 2px 5px #f7f4f4;
    border-radius: 10px;
}

.pseudo {
    width: 95%;
    height: 20%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.style {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age {
    width: 12%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.genre {
    width: 18%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profil {
    width: 95%;
    height: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === BOUTON SUPPRESSION ADMIN (CROIX) === */
.delete-cross-form {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.delete-cross {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #dc3545;
    cursor: pointer;
}

.delete-cross:hover {
    color: #a3001c;
}

/* === ICÔNE MODIFICATION PROFIL UTILISATEUR === */
.edit-profil-icon {
    font-size: 1.2rem;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.edit-profil-icon:hover {
    color: #ff004c;
    cursor: pointer;
}
