/* 语言切换组件样式 */
.language-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border-radius: 20px;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.language-switcher:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.language-switcher:active {
  background-color: #dee2e6;
  transform: scale(0.98);
}

.language-switcher-content {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-icon {
  font-size: 16px;
}

.language-text {
  font-size: 14px;
  color: #495057;
  font-weight: 500;
}

.language-arrow {
  font-size: 10px;
  color: #6c757d;
  transition: transform 0.2s ease;
}

.language-switcher:active .language-arrow {
  transform: rotate(180deg);
}

/* 小尺寸变体 */
.language-switcher.small {
  padding: 6px 12px;
}

.language-switcher.small .language-text {
  font-size: 12px;
}

.language-switcher.small .language-icon {
  font-size: 14px;
}

/* 紧凑变体 */
.language-switcher.compact {
  padding: 4px 8px;
  border-radius: 12px;
}

.language-switcher.compact .language-text {
  display: none;
}

.language-switcher.compact .language-arrow {
  display: none;
}
