/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
html,
body,
#root,
#app,
app {
    height: 100%;
}
.colorWeak {
    filter: invert(80%);
}
.ant-layout {
    min-height: 100vh;
}
canvas {
    display: block;
}
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul,
ol {
    list-style: none;
}
@media (max-width: 480px) {
    .ant-table {
        width: 100%;
        overflow-x: auto;
    }
    .ant-table-thead > tr > th,
    .ant-table-tbody > tr > th,
    .ant-table-thead > tr > td,
    .ant-table-tbody > tr > td {
        white-space: pre;
    }
    .ant-table-thead > tr > th > span,
    .ant-table-tbody > tr > th > span,
    .ant-table-thead > tr > td > span,
    .ant-table-tbody > tr > td > span {
        display: block;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    body .ant-design-pro > .ant-layout {
        min-height: 100vh;
    }
}



.ant-tabs-content-holder {
    height: auto !important;
}

.fix_meet {
    border-color: rgba(102, 204, 204, .8);
    border-width: 2px;

> .ant-card-head {
    min-height: 48px;
    margin-bottom: -1px;
    padding: 0 24px;
    color: white;
    font-weight: 500;
    font-size: 16px;
    background: 0 0;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 2px 2px 0 0;
    background-color: rgba(102, 204, 204, .8);
}

> .ant-badge-status-text {
    margin-left: 8px;
    color: white;
    font-size: 14px;
}
}

// 兼容IE11
@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
    body .ant-design-pro > .ant-layout {
        min-height: 100vh;
    }
}

.ant-tabs-bottom > .ant-tabs-nav, .ant-tabs-bottom > div > .ant-tabs-nav, .ant-tabs-top > .ant-tabs-nav, .ant-tabs-top > div > .ant-tabs-nav {
    margin: 0 0 0 0;
}


.font-brown {
    color: #727425;
}

.font-gray {
    color: #BEC0C3;
}

.light-blue {
    color: #BEC0C3;
}

.dark-blue {
    color: #BEC0C3;
}

.lighter-blue {
    color: #BEC0C3
}

.light-red {
    color: #BEC0C3
}

.green {
    color: #BEC0C3
}

.left {
    float: left;
}

.right {
    float: right;
}

/* 分页容器：包含 float 子元素，避免高度塌陷导致与下方按钮/弹窗页脚重叠 */
.pager-wrap {
    overflow: hidden;
    padding-bottom: 4px;
}

/* 商品图片 / 描述图片 管理弹窗网格 */
.img-manage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.img-manage-cell {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
.img-manage-cell > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-manage-op {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
    background: rgba(0,0,0,0.45);
}

.form {
}

.form .row {
    margin-top: 8px;
}

/* Tabs 分区的表单：内容顶部留白，与弹窗底部留白保持一致的呼吸感 */
.form .ant-tabs-tabpane {
    padding-top: 16px;
}

.form .row .label {
    text-align: right;
    line-height: 32px;
    height: 32px;
    white-space: nowrap;
}

.form .row .control {
    text-align: left;
}

.toolbar {
    height: 70px;
    background-color: white;
    padding: 20px 25px;
    border-radius: 2px;
}

.toolbar .btn {
    float: left;
}

.toolbar .query {
    float: right;
}

.h10 {
    height: 10px;
    clear: both;
}

.h20 {
    height: 20px;
    clear: both;
}

.h16 {
    height: 16px;
    clear: both;
}

.h24 {
    height: 24px;
    clear: both;
}

.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    height: 32px;
    overflow: hidden;
}

.whitesmoke-bg {
    background-color: whitesmoke;
}

.white-bg {
    background-color: white;
}

.fl {
    float: left;
}

.fr {
    float: right;
}


.ant-card-head .ant-tabs {
    margin-bottom: 0px;
}


.ant-table.ant-table-bordered > .ant-table-title {
    border: 1px solid #f0f0f0;
    border-bottom: 0;
    background-color: #e6f7ff !important;
    height: 40px;
    line-height: 40px;
    padding: 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

.bw {
    overflow: hidden;
    white-space: pre-wrap;
    /*文字超出宽度则显示ellipsis省略号*/
    text-overflow: ellipsis;
    width: 100%;
}


.ant-select-item-option-content {
    flex: inherit;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ant-page-header-footer {
    margin-top: 0 !important;
}

.ant-page-header-content {
    padding-top: 0 !important;
}

.mr8 {
    margin-right: 8px;
}

::-webkit-scrollbar {
    /*滚动条整体样式（横竖统一厚度，横向滚动条可见）*/
    width : 8px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    /*滚动条里面小方块：浅蓝为主，悬停加深*/
    border-radius   : 8px;
    background-color: #a8c0f5;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #2f54eb;
}
::-webkit-scrollbar-track {
    /*滚动条里面轨道：浅蓝底*/
    background   : #eef3ff;
    border-radius: 8px;
}

.ant-form-item-explain.ant-form-item-explain-error {
    text-align: left;
}

.main {
    background: whitesmoke;
    height: 100%;
}

.sub-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 4px 0;
}

.error {
> input {
    border-color: #ff4d4f;
}
}

/* ============ 菜单/侧边栏：蓝色右边框（与浅蓝主题一致） ============ */
/* ProLayout 侧栏右侧加一道浅蓝分隔线，与表格外框同色系 */
.ant-pro-sider,
.ant-layout-sider {
    border-right: 1px solid #c5ddff !important;
}

/* ============ AntDesign 表格主题：清爽浅蓝风 ============ */
/* 表格容器：极浅蓝外框 + 圆角（表头保留 AntDesign 默认样式） */
.ant-table {
    border: 1px solid #e1ebfa;
    border-radius: 10px;
    overflow: hidden;
}

/* 表头列与列之间不要竖线 */
.ant-table-thead > tr > th::before {
    display: none !important;
}

/* 表体：行高舒展 + 极淡浅蓝行分隔线 */
.ant-table .ant-table-tbody > tr > td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef3fc;
}

/* 最后一行去掉分隔线，与外框衔接 */
.ant-table .ant-table-tbody > tr:last-child > td {
    border-bottom: none;
}

/* 隔行极淡浅蓝（斑马纹，清爽） */
.ant-table-tbody > tr:nth-child(even) > td {
    background: #f8fbff;
}

/* 悬停 / 选中行：浅蓝（取自主题截图） */
.ant-table-tbody > tr.ant-table-row:hover > td {
    background: #e6f7ff;
}

.ant-table-tbody > tr.ant-table-row-selected > td {
    background: #cceaff;
}

/* 固定列 / 展开行底色跟随斑马纹，滚动时不发白 */
.ant-table-tbody > tr:nth-child(even) > td.ant-table-cell-fix-left,
.ant-table-tbody > tr:nth-child(even) > td.ant-table-cell-fix-right {
    background: #f8fbff;
}

.ant-table-tbody > tr.ant-table-row:hover > td.ant-table-cell-fix-left,
.ant-table-tbody > tr.ant-table-row:hover > td.ant-table-cell-fix-right {
    background: #e6f7ff;
}

/* 表头首/末单元格圆角衔接外框 */
.ant-table-thead > tr:first-child > th:first-child {
    border-top-left-radius: 10px;
}

.ant-table-thead > tr:first-child > th:last-child {
    border-top-right-radius: 10px;
}

/* 表格内图片：垂直居中；水平方向交给各列的 flex 包裹层控制（默认靠左） */
.ant-table .ant-table-tbody > tr > td .ant-image,
.ant-table .ant-table-tbody > tr > td img {
    vertical-align: middle;
}

/* ============ 分页器：与主题主蓝 #329DFF 协调（圆角/边框/悬停） ============ */
.ant-pagination .ant-pagination-item,
.ant-pagination .ant-pagination-prev .ant-pagination-item-link,
.ant-pagination .ant-pagination-next .ant-pagination-item-link {
    min-width: 32px;
    height: 32px;
    line-height: 30px;
    border-radius: 8px;
    border-color: #d9e8ff;
    color: #46609a;
}

.ant-pagination .ant-pagination-item a {
    color: #46609a;
}

.ant-pagination .ant-pagination-item:hover,
.ant-pagination .ant-pagination-item-link:hover {
    border-color: #329dff;
    color: #329dff;
}

.ant-pagination .ant-pagination-item:hover a {
    color: #329dff;
}

.ant-pagination .ant-pagination-item-active {
    border-color: #329dff;
    background: #e6f7ff;
}

.ant-pagination .ant-pagination-item-active a {
    color: #329dff;
    font-weight: 600;
}

/* 跳页/总数文字同步柔和蓝灰 */
.ant-pagination .ant-pagination-total-text,
.ant-pagination .ant-pagination-jump-prev,
.ant-pagination .ant-pagination-jump-next {
    color: #8ba0c4;
}

/* 每页条数选择器同步圆角与边框 */
.ant-pagination .ant-pagination-options .ant-select-selector {
    border-radius: 8px !important;
    border-color: #d9e8ff !important;
}


