.vm-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #748096;
  font-size: 10px;
  white-space: nowrap;
}

.vm-language-icon {
  width: 22px;
  height: 22px;
  padding: 5px;
  border: 1px solid #e1e5ed;
  border-radius: 6px;
  background: #fff;
  color: #5d6b83;
  flex: 0 0 auto;
}

.vm-language-switcher select {
  width: auto;
  min-width: 92px;
  padding: 8px 27px 8px 9px;
  border: 1px solid #dde2eb;
  border-radius: 7px;
  background: #fff;
  color: #536078;
  font: 10px var(--sans);
  box-shadow: none;
}

.vm-language-floating {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 60;
  padding: 5px 7px;
  border: 1px solid #e6e9ef;
  border-radius: 9px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 26px rgba(35, 52, 86, .09);
  backdrop-filter: blur(12px);
}

.console-header .vm-language-switcher select {
  min-width: 82px;
  padding-block: 7px;
}

.header-actions .vm-language-switcher {
  margin-right: -7px;
}

@media (max-width: 820px) {
  .console-header .vm-language-icon {
    display: none;
  }

  .console-header .vm-language-switcher select {
    min-width: 74px;
    max-width: 82px;
  }

  .header-actions .vm-language-switcher {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 60;
    margin: 0;
    padding: 5px 7px;
    border: 1px solid #e6e9ef;
    border-radius: 9px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 26px rgba(35, 52, 86, .12);
    backdrop-filter: blur(12px);
  }

  .vm-language-floating {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .vm-language-switcher select {
    min-width: 80px;
    font-size: 9px;
  }

  .vm-language-floating {
    top: 10px;
    right: 10px;
  }
}
