.container {
    padding: 10px 20px; /* 避免滚动条遮挡内容 */
}

/* 表格样式 */
table {
    width: 100%; /* 表格宽度占满屏幕 */
    border-collapse: collapse; /* 合并边框 */
    font-family: Arial, sans-serif;
    table-layout: fixed; /* 固定表格布局，使列宽自动平分 */
    font-size: 12px;
}

/* 表头样式 */
th {
    width: 100px;
    background-color: #f2f2f2; /* 背景色 */
    color: #333; /* 文字颜色 */
    font-weight: bold; /* 加粗 */
    padding: 10px; /* 内边距 */
    border: 1px solid #ddd; /* 边框 */
    text-align: center; /* 文字对齐 */
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}


/* 单元格样式 */
td {
    padding: 5px; /* 内边距 */
    border: 1px solid #ddd; /* 边框 */
    text-align: center; /* 文字居中 */
    background-color: #f9f9f9; /* 背景色 */
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

/* 鼠标悬停效果 */
td:hover {
    background-color: #f1f1f1; /* 鼠标悬停时的背景色 */
}

/* 手机端按钮容器样式 */
@media (max-width: 1024px) {
    table {
        width: 1024px;
        overflow-x: auto; /* 允许水平滚动 */
    }

}


.yxbclbutton {
    /* 圆角 */
    border-radius: 18px;

    /* 默认背景色 */
    background-color: #2e3588;

    /* 文字颜色 */
    color: white;

    /* 文字居中 */
    text-align: center;

    /* 内边距 */
    padding: 8px 20px;

    /* 去掉边框 */
    border: none;

    /* 鼠标指针 */
    cursor: pointer;

    /* 字体大小 */
    font-size: 14px;

    /* 过渡效果 */
    transition: background-color 0.3s ease;
}

/* 鼠标悬停时的背景色 */
.yxbclbutton:hover {
    background-color: #0056b3;
}


.yxbSelectbutton {
    /* 默认背景色 */
    background-color: #724087;

    /* 文字颜色 */
    color: white;

    /* 文字居中 */
    text-align: center;

    /* 内边距 */
    padding: 3px 20px;

    /* 去掉边框 */
    border: none;

    /* 圆角 */
    border-radius: 5px;

    /* 鼠标指针 */
    cursor: pointer;

    /* 字体大小 */
    font-size: 12px;

    /* 过渡效果 */
    transition: background-color 0.3s ease;
}

/* 鼠标悬停时的背景色 */
.yxbSelectbutton:hover {
    background-color: #5a326b; /* 悬停时稍深的颜色 */
}

.selected-values {
    margin-top: 20px;
}
.results-table {
    margin-top: 20px;
}

.total-results {
    margin-left: 10px;
    font-weight: bold;
}
.page-item {
    cursor: pointer;
}

/* 分页容器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* 分页项之间的间距 */
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

/* 分页项样式 */
.pagination a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #724087; /* 文字颜色 */
    border: 1px solid #ddd; /* 边框 */
    border-radius: 4px; /* 圆角 */
    transition: background-color 0.3s ease, color 0.3s ease; /* 过渡效果 */
}

/* 当前页样式 */
.pagination a.active {
    background-color: #724087; /* 当前页背景色 */
    color: white; /* 当前页文字颜色 */
    border-color: #724087; /* 当前页边框颜色 */
}

/* 分页项悬停效果 */
.pagination a:hover:not(.active) {
    background-color: #f1f1f1; /* 悬停背景色 */
}

/* 禁用样式（用于上一页/下一页不可用状态） */
.pagination a.disabled {
    color: #ccc; /* 禁用文字颜色 */
    pointer-events: none; /* 禁用点击事件 */
    cursor: not-allowed; /* 禁用鼠标指针 */
}


/* 表格容器 */
.YXBtable-container {
    width: 100%; /* 占满全屏宽度 */
    overflow-x: auto; /* 允许水平滚动 */
}

/* 行样式 */
.YXBrow {
    display: inline-block; /* 使用 inline-block 布局 */
    width: auto; /* 宽度自适应 */
    margin-bottom: 10px; /* 行之间的间距 */
}

/* 列样式 */
.YXBcolumn {
    display: inline-block; /* 使用 inline-block 布局 */
    width: 160px; /* 固定宽度 */
    vertical-align: top; /* 顶部对齐 */
    padding: 10px; /* 内边距 */
    text-align: center; /* 内容居中 */
}

/* 表头样式 */
.YXBheader .YXBcolumn {
    font-size: 12px;
    font-weight: bold; /* 文字加粗 */
    background-color: #f1f1f1; /* 背景色 */
    padding: 10px; /* 内边距 */
    border-radius: 4px; /* 圆角 */
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.YXBrow {
    display: inline-block; /* 使用 inline-block 布局 */
    width: auto; /* 宽度自适应 */
    margin-bottom: 10px; /* 行之间的间距 */
}



/* 列内容样式 */
.YXBcolumnin {
    display: inline-block; /* 使用 inline-block 布局 */
    width: 160px; /* 固定宽度 */
    vertical-align: top; /* 顶部对齐 */
    padding: 10px; /* 内边距 */
    text-align: center; /* 内容居中 */
    margin-right: 5px;
}
.YXBcolumnin:last-child {
    margin-right: 0;
}


/* 按钮容器样式 */
.YXBbutton-container {
    max-height: 180px; /* PC端最大高度，超过时显示滚动条 */
    overflow-y: auto; /* 允许垂直滚动 */
    padding-right: 10px; /* 避免滚动条遮挡内容 */
}

/* 手机端按钮容器样式 */
@media (max-width: 1920px) {
    .YXBbutton-container {
        max-height: 100px; /* 手机端最大高度，超过时显示滚动条 */
    }
}

/* 按钮样式 */
.YXBbutton-container button {
    display: flex; /* 使用 flex 布局 */
    flex-wrap: wrap; /* 允许换行 */
    padding: 6px; /* 内边距 */
    background-color: #724087; /* 背景色 */
    color: white; /* 文字颜色 */
    border: none; /* 去掉边框 */
    border-radius: 4px; /* 圆角 */
    margin-bottom: 5px; /* 按钮之间的间距 */
    cursor: pointer; /* 鼠标指针 */
    font-size: 12px; /* 字体大小 */
    transition: background-color 0.3s ease; /* 背景色过渡效果 */
}

/* 鼠标悬停效果 */
.YXBbutton-container button:hover {
    background-color: #5a326b; /* 悬停时稍深的颜色 */
}

/* 自定义滚动条样式 */
.YXBbutton-container::-webkit-scrollbar {
    width: 6px; /* 滚动条宽度缩小一半 */
}

.YXBbutton-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* 滚动条轨道背景色 */
    border-radius: 4px; /* 圆角 */
}

.YXBbutton-container::-webkit-scrollbar-thumb {
    background: #888; /* 滚动条滑块背景色 */
    border-radius: 4px; /* 圆角 */
}

.YXBbutton-container::-webkit-scrollbar-thumb:hover {
    background: #555; /* 鼠标悬停时滚动条滑块背景色 */
}


/* 手机端样式 */
@media (max-width: 1920px) {
    .YXBtable-container {
        overflow-x: auto; /* 允许水平滚动 */
    }

    .YXBrow {
        display: inline-block; /* 使用 inline-block 布局 */
        white-space: nowrap; /* 防止内容换行 */
    }
}

.yxbqsearchl {
    margin-left: 100px;
    display: inline-block;
}

/* 手机端样式 */
@media (max-width: 768px) {
    .yxbqsearchl {
        display: none;
    }
    .qkeyword {
        margin-top: 20px;
    }
}