/* design-system/css/header.css */
/* Top navigation bar shared across all Loadshift mockups (atom-level styles like .icon-btn and .badge-count moved to atoms.css). */
/* Not for: atoms — see atoms.css. */

@import "./atoms.css";

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 10px max(40px, calc((100% - 1400px) / 2));
  background: #fff;
  box-shadow: 0 1px 3px rgba(18, 21, 27, 0.16);
  position: relative;
  z-index: 2;
}

/* ── Left side: logo + nav links ── */
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  height: 29px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #1f376b;
  text-decoration: none;
  font-weight: 400;
}

.nav-link img {
  width: 24px;
  height: 24px;
}

.nav-link.is-active {
  font-weight: 700;
}

/* ── Right side: icons + button + user ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* .icon-btn and .badge-count moved to atoms.css */

.post-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  background: #ff380f;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.user-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid #fff;
  object-fit: cover;
}

.user-text {
  color: #1f376b;
}

.user-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.user-text span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: #5c6370;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}
