/* 基础布局和你之前的样式保持一致 */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", sans-serif;
    background-color: #f3f3f3;
    color: #333;
}

.container {
    display: flex;
    height: 100vh;
}

/* 左侧导航栏 */
.sidebar {
    width: 250px;
    background-color: #ffffff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
}

.sidebar-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list a {
    display: block;
    text-decoration: none;
    padding: 6px 4px;
    transition: background-color 0.4s ease;
}

.nav-list a:hover {
    background-color: #f0f0f0;
}

/* 一级菜单 */
.nav-level-1 {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
}

.nav-level-1.toggle {
    cursor: pointer;
    padding: 4px 0;
    user-select: none;
}

/* 二级菜单 */
.nav-level-2 {
    font-size: 14px;
    margin-left: 16px;
    color: #1f553d;
}

/* 子菜单过渡隐藏展开 */
.nav-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 12px;
    padding-left: 8px;
    border-left: 2px solid #eee;
}

/* 展开时设置大 max-height */
.nav-sub.expanded {
    max-height: 500px; /* 大于最大内容高度 */
}

/* 右侧内容区域 */
.content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background-color: #fafafa;
}

 table {
     border-collapse: collapse;
     width: 100%;
 }

table, th, td {
    border: 1px solid black;
    padding: 8px;
}

pre{
    border-radius: 4px;
    padding: 10px;
    background-color: #b5b5b5;
}


table>thead>tr>th {
    background-color: #b5b5b5;
}