  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
      display: flex;
      min-height: 100vh;
      background-color: #f5f5f5;
  }

  /* 侧边导航栏样式 */
  .sidebar {
      width: 250px;
      background: linear-gradient(135deg, #3a4f6a, #1e2a3a);
      color: white;
      height: 100vh;
      position: fixed;
      padding: 20px 0;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      z-index: 1000;
  }

  .sidebar-header {
      text-align: center;
      padding: 20px 0;
      margin-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-header h2 {
      font-size: 1.5rem;
      font-weight: 600;
  }

  .sidebar-menu {
      list-style: none;
  }

  .menu-item {
      position: relative;
      margin: 5px 15px;
      border-radius: 5px;
      overflow: hidden;
  }

  .menu-item a {
      display: flex;
      align-items: center;
      padding: 12px 20px;
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      font-size: 1rem;
      transition: all 0.3s ease;
  }

  .menu-item a:hover {
      color: white;
      background-color: rgba(255, 255, 255, 0.1);
  }

  .menu-item.active a {
      color: white;
      background-color: rgba(255, 255, 255, 0.2);
  }

  .menu-item i {
      margin-right: 12px;
      font-size: 1.2rem;
  }

  .menu-item .badge {
      margin-left: auto;
      background-color: #4CAF50;
      color: white;
      padding: 2px 8px;
      border-radius: 10px;
      font-size: 0.7rem;
  }

  /* 子菜单样式 */
  .submenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 0 0 5px 5px;
  }

  .submenu.show {
      max-height: 500px;
  }

  .submenu-item a {
      padding-left: 50px !important;
      font-size: 0.9rem;
  }

  .menu-item.has-submenu > a::after {
      content: '›';
      margin-left: auto;
      transform: rotate(90deg);
      transition: transform 0.3s ease;
  }

  .menu-item.has-submenu.active > a::after {
      transform: rotate(0deg);
  }

  /* 主要内容区域 */
  .main-content {
      flex: 1;
      margin-left: 250px;
      padding: 30px;
      background-color: white;
      min-height: 100vh;
  }

  .main-content h1 {
      color: #333;
      margin-bottom: 20px;
  }

  .main-content p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 15px;
  }

  /* 响应式设计 - 小屏幕时隐藏导航栏 */
  @media (max-width: 768px) {
      .sidebar {
          transform: translateX(-100%);
      }
      
      .sidebar.show {
          transform: translateX(0);
      }
      
      .main-content {
          margin-left: 0;
      }
      
      .menu-toggle {
          display: block !important;
      }
  }

  /* 菜单切换按钮 */
  .menu-toggle {
      position: fixed;
      top: 20px;
      left: 20px;
      background: #3a4f6a;
      color: white;
      border: none;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
      z-index: 1100;
      display: none;
  }

  /* 使用Font Awesome图标 */
  .fa {
      display: inline-block;
      width: 20px;
      text-align: center;
  }