#bdl-language-switch {
  position: fixed;
  z-index: 1000;
  top: 7.7rem;
  right: max(1rem, env(safe-area-inset-right));
  text-align: right;
}

#bdl-language-switch button {
  padding: .6rem .9rem;
  border: 1px solid #deccc0;
  border-radius: .35rem;
  background: #102738;
  color: #fff;
  font: 600 .9rem/1.2 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}

#bdl-language-switch button:hover {
  background: #21465e;
}

#bdl-language-switch [role="status"] {
  margin: .35rem 0 0;
  max-width: 15rem;
  padding: .5rem .75rem;
  border-radius: .25rem;
  background: #102738;
  color: #fff;
  font-size: .875rem;
}

#bdl-language-switch [role="status"]:empty {
  display: none;
}

@media (max-width: 800px) {
  #bdl-language-switch {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: auto;
    left: max(1rem, env(safe-area-inset-left));
    text-align: left;
  }
}
