form.bxr-region-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 1.2;
  flex-shrink: 0;
  margin: 0;
}

.bxr-region-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  white-space: nowrap;
}

.bxr-region-switcher__current-label {
  opacity: 0.85;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bxr-region-switcher__current-value {
  color: skyblue;
  font-weight: 700;
  font-size: 13px;
}

.bxr-region-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bxr-region-switcher__select {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(135, 206, 235, 0.55);
  border-radius: 2px;
  padding: 5px 8px;
  min-width: 140px;
  max-width: 180px;
  font-size: 12px;
  cursor: pointer;
}

form.bxr-region-switcher--admin {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 0.25rem;
}

.bxr-region-switcher--admin .bxr-region-switcher__current {
  color: #fff;
  margin-bottom: 0.35rem;
}

.bxr-region-switcher--admin .bxr-region-switcher__current-value {
  color: #fff;
}

.bxr-region-switcher--admin .bxr-region-switcher__select {
  width: 100%;
  max-width: none;
  background: #fff;
  color: #333;
  border-color: #ccc;
}

/* Desktop top bar */
#header .nav-right .bxr-region-switcher--public {
  margin-right: 10px;
  order: -1;
  margin-top: -48px;
  transition: all 0.4s ease-in-out;
}

.topnav-top #header .nav-right .bxr-region-switcher--public {
  margin-top: -24px;
}

#header .nav-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Mobile slide-out menu */
.bxr-region-switcher--public-aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 12px 20px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

.bxr-region-switcher--public-aside .bxr-region-switcher__current {
  margin-bottom: 8px;
  font-size: 14px;
}

.bxr-region-switcher--public-aside .bxr-region-switcher__select {
  width: 100%;
  max-width: none;
}

/* Hide desktop bar switcher on small screens; show in mobile menu instead */
@media (max-width: 991px) {
  #header .nav-right .bxr-region-switcher--public {
    display: none;
  }
}

@media (min-width: 992px) {
  .bxr-region-switcher--public-aside {
    display: none;
  }
}
