.c-tab {
    width: 500px;
    margin: 20px auto;
    position: relative;
}

.c-tab-h5 {
    height: 100%;
}

.c-tab .tab-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    background: white;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.c-tab .tab-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.c-tab .tab-nav-item {
    padding: 8px 20px;
    cursor: pointer;
    user-select: none;
    font-weight: bold;
    flex-shrink: 0;
}

.c-tab .item-full-width {
    flex: 1;
    /* 使每个项均匀分布 */
    text-align: center;
    /* 使文本居中 */
}



.c-tab .tab-nav-item.active {
    color: #1890ff;
    border-bottom: 2px solid #1890ff;
    /* background-color: #f6f6f6; */
}

.c-tab .tab-content {
    background: white;
    overflow-x: scroll;
    white-space: nowrap;
}

.c-tab-h5 .tab-nav {}

.c-tab-h5 .tab-content {
    height: calc(100% - 40px);
}

.c-tab .tab-pane {
    display: none;
}

.c-tab .tab-pane.active {
    display: block;
}

.app-tab-pane.c-tab {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.app-tab-pane.c-tab .tab-content {
    height: calc(100% - 40px);
}

.app-tab-pane.c-tab .tab-pane {
    height: 100%;
}


/* 确保所有列表组件都能正确显示 */
.app-tab-pane.c-tab .c-data-viewer {
    height: 100%;
    display: block;
}

/* 确保表格容器可以正确滚动 */
.app-tab-pane.c-tab .c-data-viewer .table-container {
    height: calc(100% - 185px);
    /* 减去其他元素的高度 */
    overflow: auto;
}