:root {
  --vr-white: #ffffff;
  --vr-blue: #012169;
  --vr-red: #c74b3f;
}

.vr-public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: transparent;
  font-family: "Source Sans 3", Arial, sans-serif;
}

.vr-public-header-blur {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: #ffffff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 2%), 0 1px 0 rgb(0 0 0 / 6%);
}

.dark .vr-public-header-blur {
  background: #111827;
  box-shadow: 0 -1px 0 rgb(255 255 255 / 10%) inset;
}

.vr-public-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 90rem;
  height: 4rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vr-public-header .vr-navbar-logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
}

.vr-navbar-logo {
  display: block;
  width: clamp(175px, 20vw, 225px);
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.vr-navbar-logo-dark {
  display: none;
}

.dark .vr-navbar-logo-light {
  display: none;
}

.dark .vr-navbar-logo-dark {
  display: block;
}

.vr-public-nav,
.vr-public-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vr-public-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

.vr-public-nav-link:hover {
  color: #1f2937;
  background: transparent;
}

.dark .vr-public-nav-link {
  color: #9ca3af;
}

.dark .vr-public-nav-link:hover {
  color: #e5e7eb;
}

.vr-public-header a[href="/support"],
.vr-public-header a[href="/support/"] {
  color: var(--vr-white);
  border-radius: 4px;
  background: var(--vr-blue);
  padding-right: 0.9rem;
  padding-left: 0.9rem;
  font-weight: 700;
}

.vr-public-header a[href="/support"]:hover,
.vr-public-header a[href="/support/"]:hover {
  color: var(--vr-white);
  background: var(--vr-red);
  text-decoration: none;
}

.dark .vr-public-header a[href="/support"],
.dark .vr-public-header a[href="/support/"] {
  color: #0f1720;
  background: var(--vr-blue);
}

.dark .vr-public-header a[href="/support"]:hover,
.dark .vr-public-header a[href="/support/"]:hover {
  color: #0f1720;
  background: var(--vr-red);
}

.vr-theme-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #5a6a78;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.vr-theme-switch:hover {
  color: #c74b3f;
  border-color: #d0dce8;
  background: #ffffff;
}

.vr-theme-switch-sun {
  display: none;
}

.dark .vr-theme-switch {
  color: #9fb0bf;
}

.dark .vr-theme-switch:hover {
  color: #f4f7ff;
  border-color: #314457;
  background: #10202c;
}

.dark .vr-theme-switch-moon {
  display: none;
}

.dark .vr-theme-switch-sun {
  display: inline-flex;
}

.vr-user-widget-slot,
#vr-user-widget.vr-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 2.375rem;
  min-height: 2.375rem;
}

.vr-initials-link,
.vr-widget-provider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 999px;
  text-decoration: none;
}

.vr-initials-link {
  background: #0f8a7b;
  color: #ffffff;
  font-weight: 800;
}

.vr-widget-provider {
  color: #082f49;
  border: 1px solid rgba(15, 138, 123, 0.28);
  background: rgba(255, 255, 255, 0.86);
}

.dark .vr-widget-provider {
  color: #e4eef7;
  border-color: rgba(89, 200, 184, 0.38);
  background: rgba(16, 32, 44, 0.86);
}

.vr-public-menu-button {
  display: none;
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: currentColor;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 0.125rem;
}

.vr-public-menu-button:active {
  background: rgb(156 163 175 / 20%);
}

.vr-navbar-search-row {
  display: flex;
  justify-content: flex-end;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1.5rem 0.75rem;
}

@media (max-width: 767px) {
  .vr-public-header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 4rem;
    padding: 0.5rem 1rem;
  }

  .vr-public-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.125rem;
  }

  .vr-public-menu-button {
    display: none;
  }
}
