/* 语言切换容器 */
.language {
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  border-radius: 25px 0 0 25px;
  overflow: hidden;
  display: none;
}


/* 基础按钮样式 */
#langBtn.z {
  width: 120px;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  
  /* 默认状态 */
  background: #354C5B; /* 保持您指定的主色 */
  color: #fff; /* 初始文字白色 */
  
  /* 布局优化 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

/* 悬停状态修正 */
#langBtn.z:hover {
  background: #354C5B; /* 悬停背景变白 */
  color: #fff; /* 文字颜色变主色 */
}

/* 移除干扰动画 */
.btn-text {
  font-size: 16px;
  font-weight: 500;
  text-shadow: none; /* 移除文字阴影 */
  transition: inherit; /* 继承父级过渡效果 */


    /* 字体优化 */
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    
    /* 平滑过渡 */
    transition: opacity 0.2s ease;
}
#translateSelectLanguage{
  display: none;
}