/* 固定在右側的語言切換器 */
.fixed-language-switcher {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  overflow: hidden;
}

.lang-btn {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  color: #333;
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: white;
}

.lang-btn:hover:not(.active) {
  background-color: #f0f0f0;
}

/* 響應式調整 */
@media (max-width: 768px) {
  .fixed-language-switcher {
    top: auto;
    bottom: 20px;
    right: 20px;
    flex-direction: row;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
}
