/* ============================================================
   topnav-redesign.css v1.0 — 顶栏 + 左侧导航优化（只动这两块）
   ⚠️ 所有规则限定在 .topCont / .navBar2 作用域，其他页面元素一概不碰
   ============================================================ */

/* ---------- 1. 顶栏 ---------- */
.topCont {
  background: #FFFFFF !important;
  border-bottom: 1px solid #EBEEF5 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

/* Logo 区域 */
.topCont .logoBox {
  padding: 0 16px !important;
  gap: 8px;
}
.topCont .logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.topCont .logo img {
  height: 32px !important;
  width: auto !important;
  border-radius: 6px;
  display: block;
}
.topCont .logo .topnav-logo-svg svg {
  display: block;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(19,111,254,0.3);
}
.topCont .logo-txt {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1A1A1A !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* 右侧用户区 */
.topCont .rightNav {
  padding-right: 16px !important;
  gap: 6px;
}
.topCont .rightNav .topNavs {
  margin-left: 8px !important;
}
.topCont .rightNav img {
  border-radius: 50% !important;
}
.topCont .rightNav .el-dropdown {
  cursor: pointer;
}
.topCont .rightNav .el-dropdown .el-row {
  border-radius: 6px;
  padding: 2px 8px;
  transition: background 0.2s;
}
.topCont .rightNav .el-dropdown .el-row:hover {
  background: #F5F7FA;
}
.topCont .rightNav span {
  font-size: 14px !important;
  color: #333333 !important;
  font-weight: 500;
}

/* ---------- 2. 左侧导航 ---------- */
.navBar2 {
  background: #FFFFFF !important;
  border-right: 1px solid #EBEEF5 !important;
  box-shadow: none !important;
}

/* 菜单容器 */
.navBar2 .navBarList2 {
  padding: 8px 0 !important;
}

/* 菜单项 */
.navBar2 .navBarItem {
  height: 46px !important;
  margin: 3px 10px !important;
  border-radius: 8px !important;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.navBar2 .navBarItem .txt {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  width: 100%;
  height: 100%;
  font-size: 14px !important;
}
.navBar2 .navBarItem .iconfont {
  font-size: 18px !important;
}

/* 未选中态 */
.navBar2 .navBarItem .txt,
.navBar2 .navBarItem .iconfont {
  color: #5A5E66 !important;
}

/* Hover 态 */
.navBar2 .navBarItem:hover {
  background: #F5F7FA !important;
}

/* 选中态：浅蓝底 + 左侧 3px 蓝竖条 + 蓝字 */
.navBar2 .navBarItem.active {
  background: #EAF2FF !important;
  color: #136FFE !important;
  border-left: 3px solid #136FFE !important;
  box-sizing: border-box !important;
}
.navBar2 .navBarItem.active .txt,
.navBar2 .navBarItem.active .iconfont {
  color: #136FFE !important;
  font-weight: 600 !important;
}

/* 收起按钮 */
.navBar2 .exchange {
  margin: 10px !important;
  padding: 6px 0 !important;
  border-radius: 6px !important;
  background: #F5F7FA !important;
  color: #5A5E66 !important;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 13px !important;
}
.navBar2 .exchange:hover {
  background: #EAF2FF !important;
  color: #136FFE !important;
}
