/* ── PROFILE: avatar, dropdown, notif toggle ─────────────────────── */
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.profile-dropdown {
  position: fixed;
  bottom: 68px;
  left: 60px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  min-width: 210px;
  z-index: 600;
  overflow: hidden;
}
.profile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--body);
  cursor: pointer;
  transition: background 0.1s;
}
.profile-item:hover { background: var(--surface); }
.profile-item-danger { color: var(--danger); }
.profile-separator { height: 1px; background: var(--border); }

.notif-toggle {
  width: 34px;
  height: 19px;
  border-radius: 10px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
}
.notif-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.notif-toggle.on { background: var(--purple); }
.notif-toggle.on::after { transform: translateX(15px); }

@media (max-width: 767px) {
  .profile-dropdown { left: 12px; bottom: 68px; }
}
