body {
    background-color: rgb(231, 231, 231);
}

/* Conteneur du profil dans la navbar */
.navbar {
    background-color: #575757;
}

.navbar-profile {
    position: relative;
}

/* En-tête cliquable du profil */
.profile-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.image-status {
    position: relative;
    /* positionnement du point vert en absolu */
}

.profile-picture {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Le point vert est positionné en bas à droite de l’image */
.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #00cc00;
    border-radius: 50%;
    border: 2px solid white;
}


.text-info {
    display: flex;
    flex-direction: column;
}

.name {
    font-weight: bold;
    font-size: 0.95rem;
}

.role {
    font-size: 0.75rem;
}

.chevron {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    position: relative;
    bottom: 9px;
    color: white;
}

.chevron.rotate {
    transform: rotate(180deg);
}

/* Dropdown stylisé */
.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 220px;
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown .title {
    text-align: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.dropdown .avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown .fullname {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.dropdown .field {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: 4px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.buttons button {
    flex: 1;
    margin: 0 4px;
    padding: 6px;
    font-size: 0.7rem;
    border: none;
    border-radius: 20px;
    background-color: black;
    color: white;
    cursor: pointer;
}

.buttons button:hover {
    background-color: #222;
}

@media (max-width: 500px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Style générale du liste */
.bg-custom{
    margin-top: 86px;
    position: relative;
    bottom:45px;
}
