/* ============================================================
   38. PROFIL
   ============================================================ */

.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

/* Carte identité (colonne gauche) */
.profile-identity-card {
  text-align: center;
  padding: 32px 24px;
}

.profile-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gold-light);
  color: var(--primary-gold-dark);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  letter-spacing: 1px;
}

.profile-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid white;
  transition: background 0.15s;
}
.profile-avatar-edit:hover { background: var(--primary-gold-dark); }

.profile-avatar-delete {
  background: none;
  border: none;
  color: var(--red-500);
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 6px;
  font-family: var(--font-family);
}
.profile-avatar-delete:hover { text-decoration: underline; }

/* Sidebar avatar image */
.sidebar-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-identity-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.profile-identity-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-gold-dark);
  margin-bottom: 6px;
}

.profile-identity-email {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Colonne droite */
.profile-info-col {
  display: flex;
  flex-direction: column;
}

/* Grille infos (2 colonnes) */
.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.profile-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-info-value {
  font-size: 0.9375rem;
  color: var(--gray-800);
  font-weight: 500;
}

/* Actions du mode édition */
.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

