/* === PATCH: nav profile & dropdown === */

/* Profile button — just avatar, no chevron */
.nav-profile-btn {
  display: flex; align-items: center;
  padding: 4px; border-radius: 50%;
  cursor: pointer; transition: opacity 0.15s;
  border: none; background: none;
}
.nav-profile-btn:hover { opacity: 0.8; }

.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0;
  display: block;
}

.nav-guest-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted2);
}

/* Dropdown — smaller */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 200px;
  background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 500; overflow: hidden;
  display: none; animation: fadeUp 0.15s ease;
}
.nav-dropdown.open { display: block; }

.dropdown-header {
  display: flex; align-items: center; gap: 9px;
  padding: 12px; background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.dropdown-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--accent); object-fit: cover; flex-shrink: 0;
}
.dropdown-name  { font-size: 12px; font-weight: 700; color: var(--text); }
.dropdown-email { font-size: 11px; color: var(--muted2); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }

.dropdown-guest-header {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 12px 12px; background: var(--bg3);
  border-bottom: 1px solid var(--border); gap: 5px;
}
.dropdown-guest-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg4); border: 2px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted2); margin-bottom: 2px;
}

.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; font-size: 12px; font-weight: 600;
  color: var(--muted3); cursor: pointer; transition: all 0.12s;
  width: 100%; border: none; background: none;
  font-family: 'Nunito', sans-serif; text-align: left;
  text-decoration: none;
}
.dropdown-item:hover { color: var(--text); background: var(--bg3); }
.dropdown-item-accent { color: var(--accent) !important; }
.dropdown-item-accent:hover { background: var(--accent2) !important; }
.dropdown-logout { color: var(--red) !important; }
.dropdown-logout:hover { background: rgba(229,62,62,0.08) !important; }

/* === FOOTER === */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding: 32px 20px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.footer-socials {
  display: flex; align-items: center; gap: 20px;
}
.footer-social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border);
  color: var(--muted3); transition: all 0.15s;
  text-decoration: none;
}
.footer-social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent2); }
.footer-version { font-size: 11px; color: var(--muted2); font-family: 'Rajdhani', sans-serif; letter-spacing: 0.3px; }
.footer-copy { font-size: 12px; color: var(--muted2); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: var(--muted3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
