/* 布局：百分比宽度 + 固定高度 */
.leftpart {
    width: 18%;       /* 百分比，你可自行微调 */
    height: 805px;    /* 固定高度 */
    margin-top: 42px; /* 与右侧搜索框平齐 */
    overflow-y: auto;
    overflow-x: hidden;
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
}
.rightpart {
    width: 80%;       /* 百分比，你可自行微调 */
    height: 892px;    /* 固定高度，与左侧一致 */
    overflow: hidden !important; /* 禁止滚动 */
    padding: 0;
}

/* 树形菜单 */
.tree-node {
    margin: 6px 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 3px 4px;
    border-radius: 4px;
    white-space: nowrap;
}
/* 当前激活叶子淡底色 */
.tree-node.active-leaf {
    background-color: #e7f3ff;
}
.tree-node i {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}
.level-1 { margin-left: 12px; }
.level-2 { margin-left: 28px; }
.level-3 {
    margin-left: 44px;
    color: #222;
}
.level-3:hover {
    color: #0d6efd;
    font-weight: 500;
}
/* 叶子文字单行省略 */
.level-3 span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 22px);
    display: block;
}

/* 黄色文件夹图标 */
.folder-open { color: #ffc107 !important; }
.folder-close { color: #6c757d !important; }
/* 文档图标 */
.leaf-icon { color: #495057; }

/* 右侧表格区域 */
.table-container {
    width: 100%;
    table-layout: fixed; /* 固定布局，切换数据不抖动 */
}
.search-box {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}
.search-input {
    width: 280px;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* 表格禁止横向滚动 + 列宽均分 */
.table {
    width: 100% !important;
    table-layout: fixed;
    word-wrap: break-word;
    margin-bottom: 10px;
}
.table th, .table td {
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 分页右下角 + 按钮等大 */
.pagination-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}
.pagination .page-item .page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 搜索高亮 */
.highlight {
    background-color: #fff2cc !important;
    font-weight: 500;
}

/* 微调表格 */
.table>:not(caption)>*>* {
    padding: .46rem .5rem;
}
.table>tbody {
    font-size: 14px;
}
.d-flex.gap-3{
    width: 90%;
    margin: 0 auto;
}