/* Factory language selector chrome — keep visible + usable on every page */
#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate > iframe.skiptranslate,
body > .skiptranslate {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0 !important;
}

#dropBlock_wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 40;
}

#teams-dropdown-menu {
  position: relative;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 8px;
  border-radius: 8px;
}

#teams-dropdown-menu .flag-text,
#teams-dropdown-menu .drop-flg-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#teams-dropdown-menu .flg {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 2px;
}

#teams-dropdown-menu ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

#teams-dropdown-menu ul.active {
  display: block;
}

#teams-dropdown-menu ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #222;
  cursor: pointer;
}

#teams-dropdown-menu ul li:hover {
  background: rgba(0, 0, 0, 0.05);
}

#teams-dropdown-menu font,
#teams-dropdown-menu ul font,
#teams-dropdown-menu ul li font {
  vertical-align: inherit !important;
}
