.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  font-family: system-ui, sans-serif;
}

.link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.link:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.linkActive {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: none;
}

.linkActive:hover {
  background: #1d4ed8;
  border-color: #1e40af;
  color: #fff;
}
