/* The external CSS takes care of styling ul.pll-switcher */
/* This is a fallback just in case the external CSS isn't loaded on this page */

ul.pll-switcher {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px !important;
  padding: 3px !important;
  gap: 2px !important;
  list-style: none !important;
  margin: 0 !important;
  min-width: unset !important;
  box-shadow: none !important;
  position: static !important; /* evita aparecer como dropdown */
  opacity: 1 !important;
  visibility: visible !important;
}

/* --- Cada item de idioma --- */
ul.pll-switcher > li.lang-item {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

/* --- Link de cada idioma --- */
ul.pll-switcher > li.lang-item > a,
ul.pll-switcher > li.lang-item > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  color: #9BAFA4 !important;
  text-decoration: none !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  transition: color 0.15s ease, background 0.15s ease !important;
  line-height: 1 !important;
  background: transparent !important;
  border: none !important;
  white-space: nowrap !important;
}

/* Oculta bandeiras se existirem, mantém só o texto */
ul.pll-switcher > li.lang-item > a img,
ul.pll-switcher > li.lang-item > span img {
  display: none !important;
}

/* --- Hover nos idiomas inativos --- */
ul.pll-switcher > li.lang-item:not(.current-lang):not(.current-lang-item) > a:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* --- Idioma ativo (current) --- */
ul.pll-switcher > li.lang-item.current-lang > a,
ul.pll-switcher > li.lang-item.current-lang > span,
ul.pll-switcher > li.lang-item.current-lang-item > a,
ul.pll-switcher > li.lang-item.current-lang-item > span {
  background: #3E6F58 !important;
  color: #FFFFFF !important;
  cursor: default !important;
}