/* Auth profile & login styles */
.auth-profile { display: flex; align-items: center; margin-left: auto; margin-right: .75rem; }
.auth-profile-link { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.auth-profile-link:hover .auth-avatar { box-shadow: 0 0 0 2px var(--an-teal-light); }
.auth-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--an-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
  transition: box-shadow .2s;
}
.auth-name { font-size: .85rem; color: var(--text); font-weight: 500; }
.auth-login-btn {
  background: var(--an-teal); color: #fff; border: none;
  padding: .4rem 1rem; border-radius: 6px; cursor: pointer;
  font-size: .85rem; font-weight: 500; margin-left: auto; margin-right: .75rem;
  transition: background .2s;
}
.auth-login-btn:hover { background: var(--an-teal-light); }

/* Profile page */
.profile-card {
  max-width: 480px; margin: 2rem auto; padding: 2rem;
  background: var(--bg-card); border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08); text-align: center;
}
.profile-avatar-large {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--an-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; margin: 0 auto 1rem;
}
.profile-name { font-size: 1.4rem; font-weight: 700; color: var(--text-heading); margin: 0 0 .25rem; }
.profile-email { font-size: .9rem; color: var(--text-muted); margin: 0 0 1.5rem; }
.profile-stats { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.5rem; }
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--an-teal); }
.profile-stat-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; }
.profile-formation {
  display: inline-block; padding: .3rem .8rem;
  background: rgba(36,148,122,.1); color: var(--an-teal);
  border-radius: 6px; font-size: .85rem; font-weight: 600;
}
.profile-logout {
  margin-top: 1.5rem; background: transparent; border: 1px solid var(--border);
  padding: .4rem 1.2rem; border-radius: 6px; cursor: pointer;
  color: var(--text-muted); font-size: .85rem; transition: all .2s;
}
.profile-logout:hover { border-color: #e53e3e; color: #e53e3e; }

@media (max-width: 768px) {
  .auth-name { display: none; }
  .profile-stats { flex-direction: column; gap: .75rem; }
}
