#profile-section {
  height: 100vh;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
} 
.profile-header {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-left: 6px;
    font-weight: bold;
    font-size: 1.1em;
    color: black;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 1em;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  display: flex;              
  align-items: center;       
  justify-content: center;  
  margin-right: 12px;
}


.profile-info h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.profile-info p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: black; /* Sous-texte gris */
  font-weight: bold;
}

/* Menu */
.profile-menu {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.menu-item svg:last-child {
  margin-left: auto; 
  color: #333;
}


.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: #111; /* Texte noir foncé */
  transition: background 0.2s;
}
.menu-text{
  font-weight: bold;
  font-size: 16.5px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.menu-item:hover {
  background: #f9f9f9;
}

.menu-item svg {
  color: #333; /* Icône gris */
}

/* Déconnexion en rouge */
.menu-item.logout {
  color: #d9534f;
}

.menu-item.logout svg {
  color: #d9534f;
}

/* Bouton retour */
.back-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  cursor: pointer;
}
.back-btn svg {
  color: black;
}
.back-btn span {
  color: black;
  font-weight: bold;
  font-size: 21px;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}

@media (min-width: 768px) {
    .profile-header {
    width: 60%;
  }
  .menu-item svg:last-child {
    margin: 0;
    color: #007BFF;
  }
}

