/* ==============================================
   【原始正常代码 - 完全保留】PC端语言切换（无下边框）
   ============================================== */
#lang-switch-btn {
  padding-top: 3px !important; /* 这一行就是对齐的关键 */
}

#lang-switch-btn,
#lang-switch-btn:hover,
#lang-switch-btn:focus,
#lang-switch-btn:active {
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background: transparent !important;
  padding-bottom: 0 !important;
}
#lang-switch-btn::after,
#lang-switch-btn::before {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  content: none !important;
  border: none !important;
}

/* 语言按钮与其他菜单 完美垂直对齐 */
.navbar-nav .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}
#lang-switch-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1 !important;
}

/* 下拉菜单：去掉所有下划线/边框 + 手型 */
.dropdown-menu {
  margin-top: 14px !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  border-radius: 4px !important;
  padding: 0 !important;
}
.dropdown-item.lang-item {
  cursor: pointer !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 12px 20px !important;
  font-size: 16px !important;
}
.dropdown-item.lang-item:hover,
.dropdown-item.lang-item:focus,
.dropdown-item.lang-item:active {
  background-color: #f5f5f5 !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.dropdown-item.lang-item::after,
.dropdown-item.lang-item::before {
  display: none !important;
  content: none !important;
}

/* ==============================================
   【新增 - 仅移动端样式】不影响PC端，无任何冲突
   ============================================== */
/* 移动端语言按钮容器：垂直居中对齐汉堡按钮 */
.mobile-lang-wrapper {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}
/* 移动端语言按钮样式：继承PC端样式，保持统一 */
#mobile-lang-switch-btn {
  padding-top: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background: transparent !important;
  padding-bottom: 0 !important;
}
#mobile-lang-switch-btn::after,
#mobile-lang-switch-btn::before {
  display: none !important;
  content: none !important;
}
.mobile-lang-wrapper .nav-item {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
