/* Shared Client top navigation — the single standard navbar across all Client pages.
   Visual theming (colors, dark mode) lives in client-redesign.css; this file owns
   the structural layout so every page's navbar is identical. */

.site-navbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: min(96%, 1600px);
  margin: 12px auto 0;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.site-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: nowrap;
  padding: 8px 16px;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  height: 52px;
  width: auto;
}

.site-nav-links,
.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

/* Higher specificity than ui-preferences' .site-nav-link so the navbar stays
   compact on one line (the 20px content scale would otherwise wrap it). */
.site-navbar .site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #334155;
  font-weight: 600;
  font-size: 15px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-navbar .btn-back {
  font-size: 15px !important;
  padding: 8px 14px;
  white-space: nowrap;
}

.site-nav-link:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #0f172a;
  text-decoration: none;
}

.site-nav-link.is-current {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
}

.nav-preferences-item {
  display: flex;
  align-items: center;
}

.nav-preferences-item .daia-ui-switcher-host {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Compact the inline theme/language switcher so the navbar fits one line. */
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__controls {
  gap: 6px;
}
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__row {
  width: 96px;
}
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__button,
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__select {
  min-height: 32px !important;
  font-size: 13px !important;
  border-radius: 9px;
}
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__select {
  min-width: 108px;
  padding: 0 8px;
}
.site-navbar .daia-ui-switcher--inline .daia-ui-switcher__label {
  font-size: 13px !important;
  white-space: nowrap;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #5866e9 0%, #4a5fd8 100%);
  color: white !important;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(88, 102, 233, 0.28);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
  text-decoration: none;
  color: white !important;
}

@media (max-width: 768px) {
  .site-navbar__inner {
    flex-direction: column;
    text-align: center;
  }
  .site-nav-links,
  .site-nav-actions {
    justify-content: center;
  }
}

/* Home / Back-To-Home nav removed across client pages (home is now the Auction Events page). */
.js-nav-home, .js-nav-home2 { display: none !important; }
