.bodyFlexUpDown{
    overflow-x:hidden;
    overflow-y: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.bodySon2{
    flex: 1;
    min-height: 0;
    /* 移除整体滚动，让子元素独立滚动 */
}

.sidebarScroll{
    height: 100%;
    overflow-y: auto;
    overflow-x:hidden;
}
.sidebarScroll>div{
    height: 100%;
}

.contentScroll{
    height: 100%;
    min-height: 0;
    overflow-y: auto;
}

/* 内容容器底部间距 */
.content-container::after {
    content: '';
    display: block;
    height: 2rem; /* 5rem 底部间距 */
    width: 100%;
    flex-shrink: 0;
}

/* 滚动条颜色变量 */
:root {
  --scrollbar-color: #d1d5db;
  --scrollbar-hover: #9ca3af;
}