/* 模板：Www.AdminBuy.Cn */
html,
body,
div,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
form,
input,
textarea,
th,
td,
select {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

ul,
ol {
    list-style: none;
}

img {
    display: block;
}

a {
    display: block;
    text-decoration: none;
    color: #383836;
}

i {
    font-style: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 滚动容器样式 */


/* 表格本身恢复标准表格布局，确保列对齐 */
.ab_img {
    width: 100%;
    min-width: 0;           /* 覆盖 Grid/Flex 子项的默认 min-width: auto */
}

/* 表格自身滚动，不撑开父级 */
.ab_img table {
    display: block;         /* 使表格支持滚动 */
    /*width: 100%;*/
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;    /* 确保内容不换行（如果需要） */
    border-collapse: collapse;
    width:fit-content;
    /*margin-left: auto !important;
    margin-right: auto !important;*/
    margin-bottom: 16px;
}

.ab_img th,
.ab_img td {
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

/* 表头样式（根据你的要求调整，与原风格一致） */
.ab_img th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #1e2a3a;
    border-bottom-width: 2px;
    border-bottom-color: #cbd5e1;
}

/* 斑马纹 */
.ab_img tbody tr:nth-child(odd) {
    background-color: #f9f9fb;  /* 白色 */
}
.ab_img tbody tr:nth-child(even) {
    background-color: #ffffff;}
.ab_img tbody tr:hover {
    background-color: #f8fafc;
}

/* 响应式：大屏增加内边距 */
@media (min-width: 768px) {
    .ab_img th,
    .ab_img td {
        padding: 14px 20px;
    }
    .ab_img table {
        font-size: 15px;
    }
}
@media (min-width: 1024px) {
    .ab_img th,
    .ab_img td {
        padding: 16px 24px;
    }
    .ab_img table {
        font-size: 16px;
    }
}
.ab_img td.number,
.ab_img td.num {text-align: right; font-variant-numeric: tabular-nums;}
.ab_img blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: #F8FAFE;
    border-left: 4px solid #0F3B6F;
    font-style: italic;
    color: #4A627A;
    border-radius: 8px;}

input,
textarea {
    outline: none;
    border: none;
}

textarea {
    resize: none;
    overflow: auto;
}

.clearfix {
    zoom: 1;
}

.clearfix::after {
    content: "";
    width: 0;
    height: 0;
    visibility: hidden;
    display: block;
    clear: both;
    overflow: hidden;
}

.fl {
    float: left
}

.fr {
    float: right
}

.tl {
    text-align: left;
}

.tc {
    text-align: center
}

.tr {
    text-align: right;
}

button {
    border: 0;
    outline: none;
    background-color: transparent;
}

.flex {
    display: flex;
    align-items: center; 
}
.flex_row{display: flex; align-items: center; flex-wrap: wrap; flex-direction: row;gap: 12px;}

.ellipse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipse_d {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    white-space: normal;
}


.inline {
    display: inline-block;
    display: inline;
    zoom: 1;
}

select {
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*在选择框的最右侧中间显示小箭头图片*/
    background: url("../images/arrow.png") no-repeat scroll right center transparent;
    padding-right: 14px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.shengming{    background-color: #f5f6fa;
    padding: 8px 8px;
    border-radius: 8px;
}