 /* 导航栏基础样式 */
    body {
        padding-top: 56px;
        overflow-x: hidden;
    }
      .mobile-navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        width: 100vw;
      }

      /* 左侧品牌区域 */
      .navbar-left {
        display: flex;
        align-items: center;
        gap: 8px;
      }

      .navbar-icon {
        color: #fff;
        font-size: 18px;
      }
      .navbar-icon img {
        width: 32px;
        height: 32px;
        margin-right: 10px;
      }
      .navbar-yf {
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .navbar-brand {
        font-size: 16px;
        font-weight: 600;
        color: #333;
      }
      .navbar-icon a {
        text-decoration: none;
      }
      /* 右侧菜单按钮 */
      .navbar-right {
        position: relative;
      }

      .navbar-toggle {
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }

      .navbar-toggle span {
        width: 100%;
        height: 2px;
        background: #333;
        transition: all 0.3s ease;
      }

      .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
      }

      .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
      }

      /* 下拉菜单 */
      .navbar-menu {
        position: fixed;
        top: 56px; /* 初始位置在屏幕上方不可见 */
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 56px); /* 高度不变，从导航栏下方开始 */
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 调整阴影，现在在底部 */
        transition: top 0.3s ease; /* 过渡属性改为top */
        z-index: 999;
        display: none;
        opacity: 0;
        }

      .navbar-menu.active {
         /* top: 56px;  */
        opacity: 1;
        display: block;
        display: flex;
        flex-direction: column;
      }

      /* 用户信息区域 */
      .menu-header {
        padding: 20px;
        background: #3498db;
        color: #fff;
      }

      .menu-user {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .user-avatar {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
      }

      .user-info {
        flex: 1;
      }

      .user-name {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 4px;
      }

      .user-level {
        font-size: 12px;
        opacity: 0.8;
      }

      /* 菜单列表 */
      .menu-list {
        flex: 1;
        overflow-y: auto;
        padding: 10px 0;
      }

      .menu-item {
        margin: 5px 15px;
      }

      .menu-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        color: #333;
        text-decoration: none;
        /* border-radius: 8px; */
        transition: all 0.3s ease;
      }

      .menu-link:hover {
        /* background: #f5f5f5; */
        color: #3498db;
      }

      .menu-link i {
        width: 20px;
        text-align: center;
        font-size: 18px;
      }

      .menu-link span {
        font-size: 15px;
        flex: 1;
      }

      .menu-arrow {
        font-size: 12px;
        transition: transform 0.3s ease;
      }

      .menu-submenu.active .menu-arrow {
        transform: rotate(180deg);
      }

      /* 子菜单样式 */
      .submenu {
        height: 0; 
        overflow: hidden;
        transition: height 0.3s ease;
        background: #f8f9fa;
        /* margin: 0 15px; */
        border-radius: 8px;
      }

      .menu-submenu.active .submenu {
        /* max-height: 500px; */
        height: auto;
      }

      .submenu-item {
        padding: 5px 0;
      }

      .submenu-link {
        display: block;
        padding: 10px 15px;
        color: #666;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
      }

      .submenu-link:hover {
        color: #3498db;
        background: #fff;
        padding-left: 20px;
      }

      /* 底部按钮 */
      .menu-footer {
        padding: 15px;
        border-top: 1px solid #eee;
      }

      .contact-btn {
        width: 100%;
        padding: 12px;
        background: #3498db;
        color: #fff;
        border: none;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 15px;
        cursor: pointer;
        transition: background 0.3s ease;
      }

      .contact-btn:hover {
        background: #2980b9;
      }

      /* 遮罩层 */
      .navbar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        /* background: rgba(0, 0, 0, 0.5); */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
      }

      .navbar-overlay.active {
        opacity: 1;
        visibility: visible;
      }

      /* 响应式调整 */
      @media (min-width: 768px) {
        .mobile-navbar {
          padding: 0 20px;
        }

        .navbar-menu {
          width: 320px;
        }
      }
      .submenu {
        padding: 0;
        margin: 0;
      }
      ul li {
        list-style: none;
      }