/* === MAIN WEBSITE TOOLBAR === */
.main-toolbar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  height: 46px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--toolbar-bg, rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--toolbar-border, rgba(0, 0, 0, 0.08));
  transition: background 0.2s ease, border-color 0.2s ease;
}

.main-toolbar,
.main-toolbar a,
.main-toolbar span,
.main-toolbar button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.main-toolbar-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Veriteble logo on the left */
.toolbar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--toolbar-fg, #111) !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  transition: opacity 0.15s ease;
}

.toolbar-brand:hover {
  opacity: 0.85;
  text-decoration: none !important;
}

.toolbar-logo-badge {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--toolbar-badge-bg, #111);
  color: var(--toolbar-badge-fg, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.toolbar-logo-text {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Pages on the right */
.toolbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.toolbar-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--toolbar-muted, #666) !important;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-decoration: none !important;
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.toolbar-link:hover {
  color: var(--toolbar-fg, #111) !important;
  background-color: var(--toolbar-hover-bg, rgba(0, 0, 0, 0.05));
  text-decoration: none !important;
}

.toolbar-link.active {
  color: var(--toolbar-accent, #111) !important;
  background-color: var(--toolbar-active-bg, rgba(0, 0, 0, 0.08));
  font-weight: 600;
}

@media (max-width: 640px) {
  .main-toolbar-inner {
    padding: 0 1rem;
  }

  .toolbar-logo-text {
    font-size: 0.9rem;
  }

  .toolbar-nav {
    gap: 0.1rem;
  }

  .toolbar-link {
    font-size: 0.78rem;
    padding: 0.25rem 0.5rem;
  }
}
