body,
html {
    height: 100%;
}

body {
    min-width: 1200px;
}

#app {
    height: 100%;
    position: relative;
}

@font-face {
    font-family: 'num';
    src: url('fonts/num.ttf') format('truetype');
    font-style: normal;
}

.admin-layout-sidebar * {
    box-sizing: border-box;
}

.admin-layout-sidebar {
    position: fixed;
    top: 60px;
    bottom: 0;
    z-index: 10000;
    display: block;
    width: 160px;
    font-weight: 500;
    backface-visibility: hidden;
    transition: 0.3s transform;
    transform: translateX(0);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

.admin-layout-sidebar-close .admin-layout-sidebar {
    width: 60px;
}

.admin-layout-sidebar-close .admin-layout-page-tabbar,
.admin-layout-sidebar-close .admin-layout-content {
    left: 60px;
}

.admin-layout-sidebar-info {
    height: 100%;
    position: relative;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}


/* 左侧导航菜单 */
.sidebar-main {
    transform: translateZ(0);
}

.nav-drawer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-drawer>li {
    position: relative;
    display: block;
}

.nav-drawer li a {
    position: relative;
    display: flex;
    white-space: nowrap;
    height: 48px;
    align-items: center;
}

.nav-drawer li a:hover {
    color: var(--main-color);
}

.nav-drawer>li>a {
    border-right: 2px solid transparent;
}

.nav-drawer>li>a>span {
    white-space: nowrap;
}

.nav-drawer>.active>a {
    background-color: #F4F5FA;
    border-color: var(--main-color);
}

.nav-drawer>li.active>a {
    background-color: #F4F5FA !important;
}

.nav-drawer>.active>a:hover,
.nav-drawer>.active>a:focus,
.nav-drawer>.active>a:active {
    background-color: #F4F5FA;
    border-color: var(--main-color);
}

.nav-drawer .nav-subnav>li.active>a,
.nav-drawer .nav-subnav>li>a:hover {
    color: var(--main-color);
    background-color: transparent;
}

.nav-drawer>li>a>i {
    font-size: 20px;
    height: 20px;
    line-height: 20px;
    display: block;
    width: 30px;
    margin-left: 15px;
    flex-shrink: 0;
    text-align: center;
}

.nav-drawer ul li ul {
    padding-left: 2em;
}

.nav-item-has-subnav>a:after {
    height: 48px;
    width: 48px;
    text-align: center;
    line-height: 48px;
    display: block;
    margin-left: auto;
    transition: transform 0.1s linear;
    font-family: "iconfont" !important;
    font-size: 12px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: '\e856';
}

.nav-item-has-subnav .nav-item-has-subnav>a:after {
    top: 10px;
}

.nav-item-has-subnav.open>a:after {
    transform: rotate(90deg);
}

.nav-item-has-subnav.open>.nav-subnav {
    display: block;
}

.nav-subnav {
    display: none;
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 45px;
}


/** ----------------------------------
 * 头部导航
 -------------------------------------- */
.admin-layout-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    box-sizing: border-box;
    padding: 15px;
    z-index: 4;
    box-shadow: 0 0 5px rgb(0 0 0 / 8%);
    display: flex;
    align-items: center;
    background: var(--main-color);
}

.admin-layout-header .admin-logo {
    height: 40px;
}

.admin-layout-header .admin-title {
    font-size: 20px;
    padding-left: 10px;
    font-weight: 400;
    color: #fff;
}

/* 侧边栏开关 */
.admin-aside-toggler {
    padding-left: 15px;
    cursor: pointer;
}

.admin-aside-toggler .admin-toggler-bar {
    display: block;
    height: 2px;
    width: 15px;
    background-color: #fff;
    margin: 3px 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.admin-aside-toggler .admin-toggler-bar:nth-child(2) {
    width: 8px;
}

.admin-aside-toggler:hover .admin-toggler-bar:nth-child(2) {
    width: 15px;
}

.admin-layout-sidebar-close .admin-aside-toggler .admin-toggler-bar {
    width: 15px;
}

.admin-layout-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0);
    background-image: url("images/loading.gif");
    background-size: 60px 60px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2147483647;
}

/** ----------------------------------
 * 主要内容
 -------------------------------------- */
.admin-layout-content {
    position: absolute;
    top: 108px;
    right: 0;
    bottom: 0;
    left: 160px;
    transition: left 0.3s;
    background: #F4F5FA;
    overflow: auto;
    padding: 15px 15px 0 15px;

}




.admin-layout-content .error-page,
.admin-tab-content-panel .error-page {
    text-align: center;
    padding: 48px;
}

.admin-layout-content .error-page img,
.admin-tab-content-panel .error-page img {
    max-width: 100%;
}

.admin-layout-content .error-page b,
.admin-tab-content-panel .error-page b {
    font-size: 48px;
    color: var(--main-color);
    display: block;
    padding: 24px 0;
    font-family: 'num';
}



@media (min-width: 1024px) {

    .admin-layout-sidebar-close .nav-drawer>li>a span {
        display: none;
    }

    .admin-layout-sidebar-close .nav-drawer>li>a:after {
        content: '';
    }

    .admin-layout-sidebar-close .ps__rail-x,
    .admin-layout-sidebar-close .ps__rail-y {
        pointer-events: none;
    }

    .admin-layout-sidebar-close .admin-layout-sidebar:not(:hover) .ps {
        overflow: visible !important;
    }

    .admin-layout-sidebar-close .admin-layout-sidebar:not(:hover) .nav-item-has-subnav>.nav-subnav {
        display: none !important;
    }

    .admin-layout-sidebar {
        -webkit-transition: width .3s ease-in-out;
        transition: width .3s ease-in-out;
    }

    .admin-layout-sidebar-close .admin-layout-sidebar:hover {
        width: 160px;
    }

    .admin-layout-sidebar-close .admin-layout-sidebar:hover .nav-drawer>li>a span {
        display: block;
    }

    .admin-layout-sidebar-close .admin-layout-sidebar:hover .nav-drawer .nav-item-has-subnav>a:after {
        content: '\e856';
    }
}

.layui-form-item-block {
    border: 1px solid #f0f0f0;
    border-radius: 5px;
}

.layui-form-item-block .layui-form-label {
    float: none;
    width: 100%;
    background-color: #F4F5FA;
    box-sizing: border-box;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    height: 40px;
    line-height: 40px;
    padding: 0 0 0 15px;
}

.layui-form-item-block .layui-input-block {
    padding: 15px;
    margin: 0;
}

/*card-header-bar*/
.layui-card-header-bar {
    position: relative;
    padding: 8px;
    border-bottom: 1px solid #eee;
    color: #333;
    border-radius: 2px 2px 0 0;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
}

.layui-card-header-bar .layui-form-item {
    margin: 7px !important;
    width: calc(20% - 14px);
}

@media (max-width: 1799px) {
    .layui-card-header-bar .layui-form-item {
        width: calc(25% - 14px);
    }
}

@media (min-width: 2400px) {
    .layui-card-header-bar .layui-form-item {
        width: calc(16.666% - 14px);
    }
}


.layui-card-balance {
    display: flex;
    width: 100%;
}

.layui-card-balance li {
    width: 20%;
    display: flex;
    align-items: center;
}

.layui-card-balance b {
    font-size: 14px;
    font-weight: bold;
}

.layui-card-balance cite {
    font-size: 24px;
    color: var(--normal-color);
    font-style: normal;
    font-family: 'num';
    padding-left: 5px;
}

/*treetable*/
.treetable-empty {
    width: 40px;
    display: inline-block;
}

.treetable-icon {
    cursor: pointer;
}

.treetable-icon .layui-icon-layer,
.treetable-icon .layui-icon-file {
    padding-right: 5px;
}

.treetable-icon .layui-icon-triangle-d:before {
    content: "\e623";
}

.treetable-icon.open .layui-icon-triangle-d:before {
    content: "\e625";
    background-color: transparent;
}


.layui-layer-title {
    font-size: 16px;
    font-weight: bold;
}

.layui-anim-rl {
    -webkit-animation-name: layui-rl;
    animation-name: layui-rl;
}

.layui-anim-rl,
.layui-anim-rl .layui-layer-title {
    border-radius: 0 !important;
}

@-webkit-keyframes layui-rl {
    from {
        -webkit-transform: translate3d(100%, 0, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@keyframes layui-rl {
    from {
        transform: translate3d(100%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

.layui-anim-lr,
.layui-anim-rl.layer-anim-close {
    -webkit-animation-name: layui-lr;
    animation-name: layui-lr
}

@-webkit-keyframes layui-lr {
    from {
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 1
    }

    to {
        -webkit-transform: translate3d(100%, 0, 0);
        opacity: 1
    }
}

@keyframes layui-lr {
    from {
        transform: translate3d(0, 0, 0)
    }

    to {
        transform: translate3d(100%, 0, 0)
    }
}

.win-page {
    padding: 15px;
    position: relative;
    box-sizing: border-box;
    min-height: 100%;
}

.win-page .layui-input-block {
    min-width: 190px;
}

.sticky-page {
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: auto;
}

.sticky-page-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999999;
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.sticky-page-content {
    padding: 15px;
}

.sticky-page-content .layui-table {
    margin-top: 0;
}

.admin-header-action {
    display: flex;
    padding-left: 20px;
    margin-left: auto;
    align-items: center;
}

.admin-header-action a {
    color: #fff;
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 3px;
}

.admin-header-action a:hover {
    background-color: rgba(0, 0, 0, .1);
}

.admin-header-action .iconfont {
    font-size: 20px;
}



.video-list,
.image-list {
    display: flex;
}

.video-list li,
.image-list li {
    height: 240px;
    position: relative;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-right: 15px;
}

.video-list li video,
.image-list li img {
    height: 240px;
    border-radius: 5px;
}

.video-list li i,
.image-list li i {
    height: 20px;
    width: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
    border: 1px solid #eee;
    background: #fff;
    outline: none;
    z-index: 2;
    display: block;
    cursor: pointer;
}

.video-list li span {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    padding: 5px 10px;
    border-radius: 3px;
}

.video-list li input {
    position: absolute;
    top: 10px;
    right: 10px;
    left: 10px;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    padding: 5px 10px;
    border-radius: 3px;
    border: none;
    outline: none;
}

/*缩略图*/
.single-img {
    width: 188px;
    height: 188px;
    border: 1px solid #eee;
    position: relative;
    background-image: url("images/single-img.svg");
    background-size: 40% auto;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    border-radius: 5px;
}

.single-img img {
    width: 100% !important;
    height: 100%;
    object-fit: scale-down;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.single-img.dark-bg img {
    background-color: var(--main-color);
}

.single-img img[src=""] {
    opacity: 0;
}

.single-img img[src=""]~i {
    display: none !important;
}

.single-img i {
    height: 20px;
    width: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
    border: 1px solid #eee;
    background: #fff;
    outline: none;
    z-index: 2;
    display: block;
}

.layui-btn-abs {
    position: absolute;
    right: 0;
    top: 0;
}

.tinymce {
    display: none;
}

.layui-input-block.flex {
    display: flex;
    flex-wrap: wrap;
}

.layui-input-block.flex .single-img,
.layui-input-block.flex .multiple-button {
    margin-right: 10px;
    width: 122px;
    height: 122px;
    border: 1px solid #eee;
    cursor: pointer;
    border-radius: 2px;
    background-color: #fff;
}

.layui-input-block.flex .multiple-button .iconfont {
    font-size: 36px;
}

.custom-form-item {
    display: flex;
    position: relative;
    padding-bottom: 15px;
}

.custom-form-item .float-info {
    position: absolute;
    background: var(--main-color);
    color: #fff;
    border-radius: 2px;
    padding: 5px 10px;
    top: 0;
    right: 0;
    z-index: 3;
}

.custom-form-item label {
    display: block;
    padding: 9px 15px;
    width: 100px;
    font-weight: 400;
    line-height: 20px;
    text-align: right;
    flex-shrink: 0;
}

.custom-form-item .item-block {
    width: 100%;
    box-sizing: border-box;
}

.agent-config {
    position: relative;
}

.agent-config .layui-card-body img {
    max-width: 100%;
    height: auto;
}

.config-edit {
    width: 60px;
    height: 60px;
    display: block;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    background: var(--main-color);
    position: fixed;
    z-index: 9;
    right: 15px;
}

.config-edit i {
    font-size: 30px;
    color: #fff;
}

.chapter-group {
    width: 100%;
    padding: 8px;
    white-space: nowrap;
    box-sizing: border-box;
}

.chapter {
    border: 1px solid #eee;
    border-radius: 2px;
    margin: 7px;
    padding: 15px;
    position: relative;
    background: #fff;
    width: 400px;
    display: inline-block;

    vertical-align: top;
}

.chapter h1 {
    color: var(--main-color);
    cursor: move;
    line-height: 22px;
    height: 22px;
    font-size: 22px;
}

.chapter .chapter-button {
    position: absolute;
    top: 15px;
    right: 15px;
}

.section {
    border: 1px solid #eee;
    border-radius: 2px;
    padding: 15px;
    margin-top: 15px;
    background: #f8f8f8;
    position: relative;
}

.section h2 {
    color: var(--normal-color);
    cursor: move;
    line-height: 22px;
    height: 22px;
    font-size: 18px;
}

.section .section-button {
    position: absolute;
    top: 15px;
    right: 15px;
}

.video li {
    display: flex;
    border: 1px solid #eee;
    border-radius: 2px;
    padding: 10px;
    margin-top: 15px;
    background: #fff;
    align-items: center;
}

.video li span {
    display: block;
    width: 100%;
}

.document-list li {
    display: flex;
    padding: 15px;
    border: 1px solid #eee;
    margin: 15px;
    background: #f8f8f8;
    border-radius: 2px;
    align-items: center;
}

.document-list li .doc-name {
    width: 400px;
    cursor: move;
    flex-shrink: 0;
}

.document-list li .doc-url {
    width: 100%;
    cursor: move;
}

.document-list li .doc-action {
    width: 160px;
    display: flex;
    flex-shrink: 0;
    justify-content: right;

}

#album_image {
    display: flex;
    flex-wrap: wrap;
}



.console-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.console-block li {
    width: calc((100% - 12px) / 2);
    height: 100px;
    border-radius: 2px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .05);
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    color: var(--main-color);
    line-height: 1.5;
    background-color: #fff;
    cursor: pointer;
}

.console-block li.warning b {
    color: #f00;
}

.console-block li:first-child {
    margin-left: 0;
}

.console-block li:last-child {
    margin-right: 0;
}

.console-block li .text {
    width: 100%;
}

.console-block li .text span {
    display: block;
    font-size: 14px;
}

.console-block li .text b {
    display: block;
    font-size: 24px;
    font-weight: 600;
    font-family: 'num';
}

.console-block li .iconfont {
    height: 100px;
    width: 100px;
    display: block;
    text-align: center;
    line-height: 100px;
    font-size: 30px;
}


.layui-timeline:empty::after {
    display: block;
    margin: 20px auto;
    content: '暂无数据';
    width: 130px;
    height: 150px;
    padding-top: 130px;
    background-image: url(images/no-data.png);
    background-repeat: no-repeat;
    background-size: 130px 130px;
    background-position: center top;
    color: #909399;
    text-align: center;
}

.layui-timeline-title {
    display: flex;
    align-items: center;
}

.layui-timeline-title b {
    font-size: 16px;
    padding-right: 5px;
    font-weight: 400;
}
.layui-timeline-title .layui-badge {
    margin-right: 15px;
}
.login-bg {
    background-image: url('images/bg-login.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
}

.login-wrapper {
    max-width: 420px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
}

.login-wrapper>.layui-form {
    padding: 25px 30px;
    background-color: #fff;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.19);
    box-sizing: border-box;
    border-radius: 4px;
}

.login-wrapper>.layui-form>.logo {
    width: 80px;
    margin: auto;
    display: block;
    padding-bottom: 10px;
}

.login-wrapper>.layui-form>h2 {
    color: #333;
    font-size: 18px;
    text-align: center;
    margin-bottom: 25px;
}

.login-wrapper>.layui-form>.layui-form-item {
    margin-bottom: 25px;
    position: relative;
}

.login-wrapper>.layui-form>.layui-form-item:last-child {
    margin-bottom: 0;
}

.login-wrapper>.layui-form>.layui-form-item>.layui-input {
    height: 46px;
    line-height: 46px;
}

.login-wrapper .layui-input-icon-group>.layui-input {
    padding-left: 46px;
}

.login-wrapper .layui-input-icon-group>.layui-icon {
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 20px;
    color: #909399;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
}

.login-wrapper>.layui-form>.layui-form-item.login-captcha-group {
    padding-right: 135px;
}

.login-wrapper>.layui-form>.layui-form-item.login-captcha-group>.login-captcha {
    height: 46px;
    width: 120px;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
    border-radius: 2px !important;
    position: absolute;
    right: 0;
    top: 0;
}


.login-wrapper>.layui-form .layui-btn-fluid {
    height: 48px;
    line-height: 48px;
    font-size: 16px;
}

.login-copyright {
    color: #333;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.layui-table-freetd .layui-table-cell {
    height: auto !important;
}

.layui-table-freetd .layui-table-cell img {
    max-width: 100%;
    height: auto;
}

@media screen and (min-height: 550px) {
    .login-wrapper {
        margin: -250px auto 0;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        width: 100%;
    }

    .login-copyright {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }
}

.layui-table-tool-temp .layui-form-item {
    margin-bottom: 0 !important;
}

.layui-table-tool-temp .layui-form-item .layui-input-inline {
    width: auto !important;
}

.layui-table-tool-temp .layui-form-pane .layui-form-label {
    height: 30px;
    line-height: 12px;
    font-size: 12px;
}

.layui-table-tool-temp .layui-input,
.layui-table-tool-temp .layui-select,
.layui-table-tool-temp .layui-textarea {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

.insure-toolbar{
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    right: 15px;
    left: 15px;
    bottom: 0;
    border-radius: 5px;
}

.insure-sum {
    display: flex;
    align-items: center;
    justify-content: right;
    width: 100%;
}

.insure-sum b {
    color: var(--danger-color);
    font-size: 18px;
    font-family: 'num';
}


.customer-service {
    display: flex;
    align-items: center;
}

.customer-service img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.customer-service .text {
    padding-left: 10px;
}

.customer-service .text p {
    margin: 0;
    font-family: 'num';
}

.customer-service .text b {
    font-size: 16px;
    color: var(--main-color);
    font-weight: bold;
}

.customer-prompt-number {
    display: flex;
    align-items: center;
    height: 50px;
}

.customer-prompt-number .prompt-item {
    text-align: center;
    width: 100%;
    position: relative;
}

.customer-prompt-number .prompt-item span,
.customer-prompt-number .prompt-item b {
    display: block;
}

.customer-prompt-number .prompt-item b {
    font-size: 20px;
    color: var(--main-color);
    font-family: 'num';
}

.customer-news-list {
    height: 100px;
}

.customer-commerce-list {
    height: 360px;
    padding: 0;
    position: relative;
}

.customer-commerce-list ul {
    height: 360px;
    overflow: auto;
}

.customer-commerce-list li {
    padding: 15px;
    border-radius: 2px;
    margin: 15px;
    background-color: rgb(from var(--shadow-color) r g b / calc(alpha / 5));
    border: 1px solid var(--shadow-color);
}

.customer-commerce-list li .comm-name {
    font-size: 16px;
    color: var(--main-color);
    font-weight: bold;
}

.customer-commerce-list li .comm-desc {
    line-height: 1.5;
}

.customer-commerce-list li .action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--shadow-color);
}

.customer-commerce-list li .action .action-left {
    text-align: left;
}

.customer-commerce-list li .action .action-right {
    text-align: right;
}



.layui-form-item .layui-input-inline.w300 {
    width: 300px !important;
}

/* ========== 弹出层日历容器 ========== */
.multi-date-picker-wrap {
    padding: 10px;
    user-select: none;
}

/* 工具栏 */
.multi-date-picker-wrap .mdp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 0 3px;
}

.multi-date-picker-wrap .mdp-toolbar .mdp-title {
    font-weight: 600;
    color: #333;
}

.multi-date-picker-wrap .mdp-toolbar .mdp-actions a {
    font-size: 12px;
    cursor: pointer;
    color: var(--main-color);
}

/* 选中计数 */
.multi-date-picker-wrap .mdp-count {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

/* 月份网格 - 4列，表格化无间距 */
.multi-date-picker-wrap .mdp-months {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
}

/* 每个月卡片 */
.multi-date-picker-wrap .mdp-month {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.multi-date-picker-wrap .mdp-month .mdp-month-title {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    padding: 3px 0;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.multi-date-picker-wrap .mdp-month .mdp-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
    padding: 4px;
}

.multi-date-picker-wrap .mdp-month .mdp-days .mdp-day {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.12s;
    border-radius: 2px;
    margin: 2px;
}

.multi-date-picker-wrap .mdp-month .mdp-days .mdp-day.selected {
    background: var(--main-color);
    color: #fff;
    font-weight: 600;
}

.multi-date-picker-wrap .mdp-month .mdp-days .mdp-day.empty {
    cursor: default;
}

.multi-date-picker-wrap .mdp-month .mdp-days .mdp-day.empty:hover {
    background: transparent;
}

/* 星期标题 */
.multi-date-picker-wrap .mdp-month .mdp-days .mdp-weekday {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 11px;
    color: #999;
    cursor: default;
    margin: 2px;
}

/* 滚动条美化 */
.multi-date-picker-wrap .mdp-months::-webkit-scrollbar {
    width: 4px;
}

.multi-date-picker-wrap .mdp-months::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}



.article-content img{
    max-width: 100% !important;
    height: auto !important;
}

/* 数字范围滑块弹出层 — 与 laydate 气泡风格一致 */
.numberrange-panel {
    position: absolute;
    z-index: 999;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 15px;
    animation: numberrange-downbit 0.2s both;
}
.numberrange-panel::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #fff;
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.06));
    z-index: 1;
    pointer-events: none;
}
.numberrange-panel .layui-slider{
    margin: 5px 8px;
}
@keyframes numberrange-downbit {
    0% { opacity: 0.3; transform: translate3d(0, -5px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}


/* ========================================
   选项卡（Tab）样式
   .admin-layout-page-tabbar 自身作为 tab 容器（.admin-layout-page-tabbar）
   同时覆盖原 .admin-layout-page-tabbar 的部分样式
   ======================================== */


/* tab 栏容器 */
.admin-layout-page-tabbar {
    padding: 0;
    background-color: #fff;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    background: #fff;
    position: absolute;
    height: 48px;
    top: 60px;
    right: 0;
    left: 160px;
    box-shadow: 0 0 5px rgb(0 0 0 / 8%);
    z-index: 2;
    transition: left 0.3s;
    display: flex;
    align-items: center;
}
.admin-layout-page-tabbar::before {
    display: none;
}

/* 单个标签 */
.admin-layout-page-tabbar .tab-item {
    position: relative;
    text-overflow: ellipsis;
    padding: 0 10px;
    overflow: hidden;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #eee;
}
.admin-layout-page-tabbar .tab-item:hover {
    background-color: #F4F5FA;
}

.admin-layout-page-tabbar .tab-item.active {
    background-color: #fff;
    border-color: var(--main-color);
    color: var(--main-color);
}



.admin-layout-page-tabbar .tab-item.tab-fixed .tab-close {
    display: none !important;
}
.admin-layout-page-tabbar .tab-item .iconfont{
    margin-right: 2px;
}
/* 关闭按钮 */
.admin-layout-page-tabbar .tab-item .tab-close {
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    position: relative;
    margin-right: -5px;
}
.admin-layout-page-tabbar .tab-item .tab-close:hover {
    background-color: var(--danger-color);
    color: #fff;
}

/* 选项卡右键菜单 —— 会话气泡样式 */
.admin-tab-context-menu {
    position: fixed;
    z-index: 19999999;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 5px 0;
    /* 气泡三角箭头（朝上） */
    --arrow-size: 7px;
}
.admin-tab-context-menu::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--arrow-size));
    left: 10px;
    width: 0;
    height: 0;
    border-left: var(--arrow-size) solid transparent;
    border-right: var(--arrow-size) solid transparent;
    border-bottom: var(--arrow-size) solid #fff;
    filter: drop-shadow(0 -1px 2px rgba(0, 0, 0, 0.06));
}
.admin-tab-context-menu a {
    display: block;
    padding: 5px 10px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    position: relative;
    margin: 0 5px;
    border-radius: 5px;
}

.admin-tab-context-menu a:hover {
    background: #f5f7fa;
    color: var(--main-color);
}
.admin-tab-context-menu a.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* 内容面板 */
.admin-tab-content-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: #F4F5FA;
    overflow: auto;
    padding: 15px 15px 0 15px;
    display: none;
}
.admin-tab-content-panel.active-panel {
    display: block;
}

/** ----------------------------------
 * 响应式处理
 -------------------------------------- */
@media (max-width: 1024px) {
    .admin-layout-sidebar {
        transform: translateX(-100%);
    }

    .admin-layout-page-tabbar,
    .admin-layout-content {
        left: 0;
    }

    .admin-layout-sidebar {
        box-shadow: none;
    }

    .admin-layout-sidebar.admin-aside-open {
        transform: translateX(0);
    }

    /* 遮罩层 */
    .admin-mask-modal {
        background-color: rgba(0, 0, 0, 0.3);
        height: 100%;
        left: 0;
        opacity: 1;
        top: 0;
        visibility: visible;
        width: 100%;
        z-index: 9999;
        position: fixed;
        transition: all .4s;
        transform: translateZ(0);
    }

    .admin-layout-sidebar-close .admin-layout-sidebar {
        width: 160px;
    }
    .admin-layout-sidebar-close .admin-layout-content,
    .admin-layout-sidebar-close .admin-layout-page-tabbar {
        left: 0;
    }

    .admin-title {
        display: none;
    }
}

.static-table {
    border-collapse: separate;
    /* 分离边框模式 */
    border-spacing: 0;
    /* 间隙为0 */
    width: 100%;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #eee;
    overflow: hidden;
}


.static-table th,
.static-table td {
    padding: 10px;
    text-align: left;
    background: transparent;
    border-bottom: 1px solid #eee;

}

.static-table thead th {
    font-weight: 600;
    color: #0f172a;
    text-transform: uppercase;
    font-size: 13px;
}

/* 去掉最后一行边框 */
.static-table tbody tr:last-child td {
    border-bottom: none;
}
.static-table  tr:nth-child(even){
    background-color: #f5f7fa;
}


/* 按钮/链接内图标不响应鼠标事件，避免 lay-tips 抖动 */
.layui-btn i{ pointer-events: none; }

.payment-detail {
    background-color: #f5f7fa;
    border: 1px solid #eee;
    border-left: 5px solid var(--main-color);
    border-radius: 5px;
    padding: 10px 10px 10px 15px;
    margin-bottom: 15px;
}

.flex-group {
    display: flex;
    flex-wrap: wrap;
    border-radius: 5px;
    border: 1px solid #eee;
    overflow: hidden;
}
.flex-group .group-item {
   display: flex;
   box-sizing: border-box;
   width: 100%;
   padding: 10px 15px;
   border-bottom: 1px solid #eee;
}
.flex-group .group-item.no-border{
    border-bottom: none;
}
.flex-group .group-item.col-2{
    width: 50%;
}

.flex-group .group-item.col-4{
    width: 25%;
}
.flex-group .group-item .key{
    width: 150px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 15px;
    font-weight: bold;
    height: 25px;
    align-items: center;
}
.flex-group .group-item .value{
   flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    padding-right: 15px;
    min-height: 25px;
    align-items: center;
    width: calc(100% - 165px);
}
.flex-group .group-item:last-child{
    border-bottom: none;
}
.flex-group .layui-form-radio{
    margin-top: 1px;
}

