/* Seletor de idioma (bandeiras) */
.swagger-ui .lang-switcher {
  position: fixed;
  left: 16px;
  top: 24px;
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 8px;
  z-index: 9999;
  box-shadow: 0px 2px 5px rgba(124, 58, 237, 0.5);
  transition: box-shadow 1.5s ease-out;
}

.swagger-ui .lang-switcher.lang-switcher--glow {
  transition: box-shadow 0.15s ease-out;
}

.swagger-ui .lang-switcher__button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px;
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swagger-ui .lang-switcher__flag {
  display: block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}

.swagger-ui .lang-switcher__button:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.swagger-ui .lang-switcher__button.is-active {
  opacity: 1;
  transform: scale(1.3);
}

/* Brilho (shadow) em volta do lang-switcher na cor do país */
.swagger-ui .lang-switcher[data-glow-lang='pt-BR'].lang-switcher--glow {
  box-shadow: 0 0 6px #009739, 0 0 15px #009739;
}

.swagger-ui .lang-switcher[data-glow-lang='en'].lang-switcher--glow {
  box-shadow: 0 0 6px #2c6bff, 0 0 15px #2c6bff;
}

.swagger-ui .lang-switcher[data-glow-lang='es'].lang-switcher--glow {
  box-shadow: 0 0 6px #ff2b2b, 0 0 15px #ff2b2b;
}
