/* 通用导航样式 */

/* 左侧导航样式 */
.left-nav {
  width: 200px;
  background-color: transparent;
  height: 100vh;
  position: fixed;
  left: 5%;
  top: 5%;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  z-index: 100;
}

.nav-logo {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 15px;
}

.nav-logo-img {
  max-width: 100%;
  height: auto;
}

.nav-item {
  background-color: transparent;
  background-image: url("m0.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin: 10px 0;
  transition: transform 0.2s;
}

.nav-item:hover, .nav-item.active {
  transform: translateY(-2px);
}
.user-icon {
  width: 30px;
  height: 30px;
  background-image: url('ic.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  font-size: 0;
  /* 隐藏原有的表情符号 */
  margin-right: 5px;
}
/* 容器样式调整，适应左侧导航 */


/* 响应式设计 */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  
  .left-nav {
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    margin-bottom: 10px;
  }
  
  .nav-logo {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .nav-item {
    width: 150px;
    height: 50px;
    font-size: 14px;
    margin: 5px;
  }
  
  .nav-logo {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .nav-logo-img {
    max-width: 180px;
  }
}

<!--ecms sync check [sync_thread_id="3bcee7cc5a424330844ab778a62d31c1" sync_date="2025-09-12 10:33:56" check_sum="3bcee7cc5a424330844ab778a62d31c1]-->