.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 70px;
  height: 100vh;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.nav-middle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.1s ease;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.nav-btn:active {
  transform: scale(0.9);
  transition: transform 0.1s ease;
}

@keyframes nav-btn-tap {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.88); }
  100% { transform: scale(1); }
}

.nav-btn.tapped {
  animation: nav-btn-tap 0.2s ease forwards;
}

.nav-btn img {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-btn--profile:hover {
  background: none;
}

.nav-btn--profile:hover .nav-profile-circle {
  transform: scale(1.05);
}

.nav-profile-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: block;
  transition: transform 0.15s ease;
}

.nav-profile-circle.has-avatar {
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
