.navbar {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  width: 100vw;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  padding: 0 32px;
}

/* === LOGO === */
.navbar-spacer {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 100px;
}

.navbar-spacer img {
  max-height: 30px;
  min-width: 60px;
  width: auto;
  margin-right: 10px;
}

/* === NAV LINKS === */
.navbar-nav {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-item:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: fill 0.15s;
}

.nav-label {
  font-size: var(--font-default-size);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === LOGOUT === */
.navbar-logout {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 80px;
  margin-left: 30px;
}

/* Adjust layout when screen gets smaller */
@media (max-width: 600px) {
  .navbar-spacer {
    display: none;
  }
  .navbar-spacer img {
    display: none;
  }
}

@media (max-width: 500px) {
  .navbar {
    padding: 0 6px;
  }
  .nav-label {
    font-size: 12px;
  }
  .navbar-nav {
    gap: 5px;
  }
  .nav-item {
    padding: 4px 8px;
  }
  .navbar-logout {
    margin: 0 8px 0 12px;
}
}