.container {
      display: flex;
      height: 100dvh;
      position: relative;
    }

    /* 左侧导航 */
    .sidebar {
      width: 240px;
      background-color: var(--white);
      color: var(--text-primary);
      display: flex;
      flex-direction: column;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
      border-right: 1px solid var(--border);
      z-index: 10;
      transition: transform 0.3s ease;
    }

    .logo{
      height: 2rem;
    }

    @media (max-width: 768px) {
      .sidebar {
        position: fixed;
        left: 0; top: 0; bottom: 0;
        transform: translateX(-100%);
      }
      .sidebar.show {
        transform: translateX(0);
      }
    }

    .sidebar-header {
      padding: .5em;
      text-align: center;
      background-color: var(--primary-light);
      color: var(--primary);
      font-size: 1.8rem;
      font-weight: bold;
    }

    .nav-list {
      list-style: none;
      flex: 1;
      overflow-y: auto;
      padding: 8px 0;
    }

    .nav-item {
      margin: 2px 10px;
      border-radius: 6px;
    }

    .nav-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: .6em 1em;
      color: var(--text-primary);
      text-decoration: none;
      transition: all 0.25s ease;
      border-radius: var(--radius);
      
    }

    .nav-link i {
      width: 16px;
      font-size: 16px;
      color: #666;
    }

    .nav-link:hover{
      color: var(--primary);
      text-decoration: none;
    }
    .nav-link.active {
      color: var(--primary);
      text-decoration: none;
    }

    .nav-link:hover i,
    .nav-link.active i {
      color: var(--primary);
    }

    /* 右侧内容 */
    .content-wrapper {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .top-bar {
      height: 62px;
      background-color: var(--white);
      display: flex;
      align-items: center;
      padding: 0 28px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      font-size: 17px;
      color: #333;
      border-bottom: 1px solid var(--border);
    }

    .menu-btn {
      display: none;
      font-size: 20px;
      color: var(--primary);
      margin-right: 15px;
      cursor: pointer;
    }

    @media (max-width: 768px) {
      .menu-btn { display: block; }
    }

    .top-bar i {
      margin-right: 10px;
      color: var(--primary);
    }

    .iframe-container {
      flex: 1;
      border: none;
      background-color: var(--bg-page);
      height: 100vh;
    }

    /* 遮罩 */
    .overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.3);
      z-index: 9;
      display: none;
    }
    .overlay.show {
      display: block;
    }

    /* 滚动条 */
    .nav-list::-webkit-scrollbar { width: 6px; }
    .nav-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }