[v-cloak] {
    display: none;
}


* {
    box-sizing: border-box !important;
    font-size: 15px;
}

.x-nav {
    padding: 0 20px;
    position: relative;
    z-index: 99;
    border-bottom: 1px solid #e5e5e5;
    line-height: 39px;
    height: 39px;
    overflow: hidden;
    background: #fff;
}

body::-webkit-scrollbar {
    display: none
}

.color_red {
    color: red
}

.color_y {
    color: #009688;
}

.pointer:hover,
.p_c:hover {
    cursor: pointer;
}

.edid_td .p_c {
    color: #009688;
    text-decoration: underline;
}


.self_s_input {
    border: 1px solid #ddd;
    width: 200px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    /* margin: 5px 5px 5px 0; */
    margin-bottom: 5px;
    font-size: 14px;
    position: relative;
}

.layui-card-body .layui-btn {
    border-radius: 4px;
    height: 30px;
    line-height: 30px;
}



.seModel {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 999;
    border: 1px solid #ddd;
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    background-color: #fff;
}

.seModel .d {
    height: 200px;
    overflow-y: auto;
    min-width: 150px;
    border-right: 1px solid #ddd;
}

.seModel .d div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 2px 5px;
}

.fNory {
    width: 100%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}

.seModel .d div img {
    width: 8px;
    height: 8px;
    object-fit: contain;
}


/* 表格 */
.table_div {
    width: 100%;
    min-width: 1000px;
}

.th_div_o {
    width: 100%;
    padding-right: 15px;
}

.scr_div_o {
    width: 100%;
    overflow: hidden;
    /* padding-right: 17px; */
    overflow-y: scroll;
}

/* .scr_div_o:hover {
    padding-right: 0;
    overflow-y: scroll;
} */

.th_div {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid #eee;
    background-color: #f5f5f5;
    color: #666;
    position: relative;
}

.th_div p {
    flex: 1;
    /* border-right: 1px solid #ddd; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 5px;
    word-break: break-all;
}

.th_div p:last-child {
    border-right: none;
}

.tr_div {
    width: 100%;
    overflow: auto;
    min-height: 100px;
    /* overflow: overlay; */
}


.tr_div_d {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tr_div_d p {
    flex: 1;
    /* border-left: 1px solid #ddd; */
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    text-align: center;
    word-break: break-all;
    color: #333;
}

.table_div .serial {
    flex: .5;
}

.tr_div_d:hover {
    background-color: #f5f5f5;
}

.tr_div_d p:last-child {
    border-right: 1px solid #ddd;
}

.tr_div_d span,
.tr_div_d a {
    border-bottom: none;
    text-decoration: underline;
}

.switch_label {
    background-color: #2F9688;
    width: 55px;
    height: 25px;
    border-radius: 25px;
    display: inline-block;
    margin: auto;
    position: relative;
    color: #fff;
    line-height: 25px;
    text-align: left;
    font-size: 12px !important;
    padding: 0 10px;
    cursor: pointer;
}

.switch_label2 {
    background-color: #666;
    text-align: right;

}

.switch_span {
    position: absolute;
    width: 21px;
    height: 21px;
    background-color: #fff;
    top: 2px;
    right: 2px;
    border-radius: 50%;
}

.switch_span2 {
    left: 2px;
}

.layui-col-space5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.row_top_out {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-right: 50px;
}

.row_top_out .row_top_list {
    border: none;
}

.row_top_list {
    display: flex;
    flex-direction: row;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.row_top_list div {
    padding: 0 5px;
    padding: 20px;
    text-align: center;
}

.row_top_list .act {
    border-bottom: 2px solid #009688;
    color: #009688;
    font-weight: bold;
}

/* 表格 */

.table {
    overflow: auto;
    width: 98%;
    margin: 0 1%;
    border-bottom: 0;
    border-right: 0;
    min-height: 300px;
}

.table table {
    border-collapse: separate;
    table-layout: fixed;
    width: 100%;
    /* 固定寬度 */
}

.table td,
.table th {
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    /* 单元格宽高 */
    width: 120px;
    text-align: center;
    padding: 10px;
    color: #333;
    line-height: 20px;
    word-break: break-all;
    font-size: 14px;
}

.table td {
    color: #666;
}

.table th {
    background-color: #f5f5f5;
    font-weight: normal;
}

.table .leftTable {
    position: sticky;
    left: 0;
    /* 首行在左 */
    z-index: 999;
    border-right: 1px solid #ddd;
}

.table .leftTable div {
    display: inline-block;
    width: 100px;
}

tbody .leftTable {
    background-color: #fff;

    &:hover {
        background-color: #f5f5f5;
    }
}

.table .t {
    z-index: 9999;
}


/* 控制左边固定的核心代码 */
.table .l {
    position: sticky;
    right: 0;
    /* 首行在左 */
    z-index: 1;
    background-color: #fff;
    /* border-left: 1px solid #ddd; */
    width: 150px;
    box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.05);

    &:hover {
        background-color: #f5f5f5;
    }
}

.table .sticky-right-2 {
    position: sticky;
    right: 150px;
    /* 假设最右侧列宽120px，需与实际列宽匹配 */
    background-color: #fff;
    z-index: 1;
    /* 低于最右侧列，避免覆盖 */
    box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.05);

    &:hover {
        background-color: #f5f5f5;
    }
}


.l span,
.l a {
    display: block;
}

/* 控制表头固定的核心代码 */
.table thead tr th {
    position: sticky;
    top: 0;
    padding: 20px 5px;
    z-index: 2;
    /* 第一列最上 */
}


.table .bTrBot td {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background-color: #f5f5f5;
    padding: 20px 0;
    /* 第一列最上 */
}



.table .lTh {
    z-index: 2;
    background-color: #f5f5f5;
    text-align: center;
}

.table .p_c {
    text-decoration: underline;
    color: #009688;
    line-height: 25px;
}

.table tbody tr {
    &:hover {
        background-color: #f5f5f5;
    }
}

.table .serial {
    width: 50px;
}

/* // tbody无数据居中 */
[data_empty_reminder]:empty:before {
    content: attr(data_empty_reminder);
    text-align: center;
    width: 100%;
    height: 80px;
    line-height: 80px;
    color: #999;
    display: block;
}

tbody[data_empty_reminder] {
    display: table-caption !important;
    caption-side: bottom;
    /* border: 2px solid #f0f0f0; */
    border-top: 0;
    color: #999;
}

tbody[data_empty_reminder]:empty:before {
    display: table-row;
}


/* 图片上传 */
.row_img_div {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-radius: 5px;
    margin: 0 10px 10px 0;
    position: relative;
    overflow: hidden;
}

.row_imgPos {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.row_imgPos label {
    color: #fff;
    padding: 5px;
    background: none;
    text-decoration: underline;
    cursor: pointer;
}

.row_img_div .close {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
    width: 20px;
    height: 20px;
    margin: 0;
}

.row_img_div p {
    font-size: 20px;
    margin-bottom: 5px;
}

.row_img_div .img {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    object-fit: cover;
    border: 1px solid #ddd;
    margin: 0;
    border-radius: 5px;
}

.row_img_div .pdf {
    width: 20px;
    height: 20px;
    margin: 40px;
}

.row_img_div span {
    display: inline-block;
    width: 100px;
    height: 15px;
    line-height: 15px;
    background-color: #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
}


.row_flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row_flex_top_btw {
    justify-content: space-between;
    width: 100%;
    margin: 10px 0;
    min-width: 600px;
    overflow: auto;
}

.row_flex_top_btw div {
    flex: 1;
    min-width: 150px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin: 0 10px 0 0;
    color: #333;
    height: auto;
}

.row_flex_top_btw div:first-child {
    margin-left: 0;
}

.row_flex_top_btw p {
    font-size: 24px !important;
}

.row_flex_top_btw div .h1 {
    font-size: 30px !important;
    display: inline-block;
    margin-right: 5px;
    /* letter-spacing: 1px; */
}

.row_flex_f_input {
    width: 390px;
    color: #666;
    margin-left: 10px;
}

.self_s_input1 {
    width: 120px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.row_flex_s_input_div {
    margin-left: 10px;
    background-color: #f5f5f5;
}

.row_flex_s_input_div p {
    padding: 0 5px;
}

.no_view_t {
    margin: 20px 0 0 20px;
}



.layui-layer-photos {
    background: none !important;
}

/* 滚动条 */
.custom-scroll {
    overflow: auto;
}

.custom-scroll::-webkit-scrollbar {
    border-radius: 10px;
    width: 6px;
    /* 垂直滚动条宽度（关键：控制滚动条粗细） */
    height: 6px;
    /* 水平滚动条高度（可选） */
    background-color: rgba(0, 0, 0, 0.1);
    /* 滚动条容器背景（与页面背景协调） */
}

.custom-scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #2F9688;
}