/* ================= Botão Idioma - Mobile ================= */
.botaoidioma-selector {
  display: flex;
  gap: 10px;
  margin-left: 10px;
  align-items: center;
}

.botaoidioma-btn {
  background: var(--bg-color);
  border: 2px solid var(--hover-color);
  cursor: pointer;
  padding: 2px;
  width: 35px;
  height: 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neon-box-shadow);
  position: relative;
  overflow: hidden;
}

.botaoidioma-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--hover-color);
}

.botaoidioma-btn img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.botaoidioma-btn.active {
  background: var(--hover-color);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--hover-color);
}

.botaoidioma-btn.active img {
    filter: brightness(1.1);
}

.botaoidioma-btn:not(.active) {
  opacity: 0.7;
}

.botaoidioma-btn:not(.active):hover {
  opacity: 1;
}

/* Neon border igual ao da imagem de perfil para o botão de idioma */
.botaoidioma-btn {
  border: 1px solid var(--hover-color) !important;
  outline: 2px solid var(--bg-color) !important;
  box-shadow: var(--neon-box-shadow) !important;
  background: var(--bg-color);
  transition: box-shadow 0.3s, border 0.3s, outline 0.3s;
}

.botaoidioma-btn:hover, .botaoidioma-btn.active {
  box-shadow: 0 0 20px var(--hover-color) !important;
  border-color: var(--hover-color) !important;
}

/* Media queries para mobile */
@media (max-width: 600px) {
  .botaoidioma-btn {
    width: 28px;
    height: 22px;
    font-size: 0.9rem;
    padding: 1px;
  }
  .botaoidioma-btn img {
    width: 100%;
    height: 100%;
  }
}