html,
body,
p {
    margin: 0 !important;
    padding: 0 !important;
}

.overHiddenScroll {
    height: 100%;
    overflow: hidden;
}

.vtx-business-modal-wrap {
    .mask {
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.45);
    }

    &.dark {
        --table-bg: transparent;
        --table-header-bg-color: #00adb11a;
        --table-color: white;
        --table-head-color: #d3fff9;
        --table-row-border: 1px solid transparent;
        --table-row-bg-color: #ffffff0d;
        a {
            color: #a9d5d3 !important;
        }
        .vtx-form-layout {
            padding: 30px 24px;
        }
        .vtx-form-pane-title {
            color: #95fff9;
        }
        .ant-form,
        .ant-card-head {
            color: var(--label-color);
        }
        .vtx-datagrid-toolbar-left,
        .vtx-datagrid-toolbar {
            color: var(--info-color);
        }
        .ant-card-head,
        .ant-card-bordered {
            border-color: rgba(255, 255, 255, 0.2);
        }
        .vtx-form-layout .vtx-form-card-expand-icon {
            color: var(--arrow-icon-color);
        }
        // font-family: PingFangSC-Regular, serif;
        .vtx-page--table {
            background: none;
        }
        .vtx-table-search {
            background: none;
        }
        .vtx-table-wrap {
            background: none;
        }
        .vtx-search {
            background: none;
        }
        .ant-card {
            background: none;
        }
        .ant-picker-range,
        .ant-picker {
            --color: #a9d5d3ff;
            --border: 1px solid #3c7073ff;
            --bg-color: #0d1a1b;
            --hover-color: white;
            .ant-picker-active-bar {
                background: #59ffe2;
            }
            background-color: var(--bg-color) !important;
            border: var(--border) !important;

            .ant-picker-suffix {
                color: var(--color);
            }

            &:hover {
                border-color: var(--hover-color);
            }

            .ant-picker-input {
                input {
                    color: var(--color);
                }
            }

            .ant-picker-separator {
                color: var(--color);
            }

            .ant-picker-clear {
                color: var(--color);
                background: transparent;
            }
        }
        .ant-descriptions-bordered {
            .ant-descriptions-item-label {
                background-color: inherit;
                color: var(--label-color);
            }
            .ant-descriptions-item-content {
                color: var(--info-color);
            }
        }
        .ant-pagination {
            color: white;
            .ant-pagination-item {
                background-color: transparent;
                border-color: #454847;
                > a {
                    color: white;
                }

                &.ant-pagination-item-active,
                &:hover {
                    border-color: #95fff9;
                    > a {
                        color: #95fff9;
                    }
                }
            }
            .ant-select-arrow {
                color: white;
            }
            .ant-pagination-item-link {
                color: white;
                background-color: transparent;
                border-color: #454847;
                &:hover :not(:disabled) {
                    color: #95fff9;
                    border-color: #95fff9;
                }
            }
            .ant-select-dropdown {
                background: #0d1a1b;
                .ant-select-item {
                    color: white;
                }
                .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
                    background-color: #2d575a;
                }
                .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
                    background-color: #1c3436;
                }
            }
            .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
                color: #ffffff40;
            }
            .ant-pagination-options-quick-jumper input {
                color: white;
                background: transparent;
                border: 1px solid #3c7073;
                &:hover {
                    border: 1px solid #6cc9ce;
                }
            }
            .ant-select:not(.ant-select-customize-input) .ant-select-selector {
                background-color: red;
                border: 1px solid #3c7073;
            }
            .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
                border: 1px solid #6cc9ce;
            }
            .ant-select {
                color: white;
            }
        }
        .ant-table {
            background: var(--table-bg);

            .ant-table-container {
                border: none;
                &::before {
                    display: none;
                }

                &::after {
                    display: none;
                }

                .ant-table-content {
                    padding-bottom: 10px;
                }
                table {
                    border-collapse: collapse;
                    border: none !important;
                    thead {
                        tr {
                            th {
                                padding: 8px 8px;
                                color: var(--table-head-color);
                                white-space: nowrap;
                                background-color: var(--table-header-bg-color);
                                border: none !important;

                                &::before {
                                    display: none;
                                }
                            }
                        }
                    }

                    tbody {
                        tr {
                            td {
                                padding: 8px 8px;
                                color: var(--table-color);
                                white-space: nowrap;
                                background-color: transparent;
                                border: none !important;
                            }

                            &:nth-child(odd) {
                                td {
                                    background-color: var(--table-row-bg-color);
                                    border-top: var(--table-row-border);
                                    border-bottom: var(--table-row-border);

                                    &:first-child {
                                        border-left: var(--table-row-border);
                                    }

                                    &:last-child {
                                        border-right: var(--table-row-border);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        .vtx-ztree-select {
            .ant-input-affix-wrapper {
                background-color: #0d1a1b !important;
                border: 1px solid #3c7073 !important;
                color: #a9d5d3;
                .ant-input {
                    background-color: #0d1a1b !important;
                    color: #a9d5d3;
                }
            }
        }
        .ant-select-selector {
            background-color: #0d1a1b !important;
            border: 1px solid #3c7073 !important;
            .ant-select-selection-item {
                color: #a9d5d3;
            }
            &:hover {
                border: 1px solid #6cc9ce !important;
            }
        }
        .ant-select-clear,
        .ant-select-arrow {
            background-color: #0d1a1b !important;
            color: #a9d5d3;
        }
        .ant-btn-primary {
            background: #2bd8cf;
            border-color: #2bd8cf;
            > span {
                color: black;
            }
        }
        .vtx-form-layout .vtx-form-item--view .ant-form-item-label > label {
            color: var(--label-color);
        }
        .vtx-form-layout .vtx-form-item--view .ant-form-item-control {
            color: var(--info-color);
        }
        .vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) {
            background: var(--table-row-bg-color);
            td {
                background: var(--table-row-bg-color) !important;
            }
        }
    }
    &.blue {
        .ant-picker-input > input[disabled] {
            color: #ccc;
        }
    }
}

.ant-select-dropdown {
    &.dark {
        background: #0d1a1b;
        .ant-select-item {
            color: white;
        }
        .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
            background-color: #2d575a;
        }
        .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
            background-color: #1c3436;
        }
    }
}

.ant-picker-dropdown-range {
    &.dark {
        .ant-picker-range-arrow {
            background: none;
            &::before {
                background: #0d1a1be6;
            }
        }
        .ant-picker-panel-container {
            background: #0d1a1be6;
            box-shadow: 0 3px 6px -4px #ffffff1f, 0 6px 16px #ffffff14, 0 9px 28px 8px #5454540d;
            .ant-picker-header {
                button {
                    color: white;
                    &:hover {
                        color: #95fff9;
                    }
                }
            }
            .ant-picker-content {
                th {
                    color: white;
                }
                .ant-picker-cell-inner {
                    color: white;
                }
                .ant-picker-cell-in-view.ant-picker-cell-in-range::before {
                    background: #6cff2340;
                }
                .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
                    background: #6cff2340;
                }
                .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
                .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
                .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
                    background: #52c41a;
                }
                .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
                .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
                    .ant-picker-cell-inner {
                    background: #f5f5f55e;
                }
                .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
                    border: 1px solid #52c41a;
                }

                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,
                .ant-picker-panel
                    > :not(.ant-picker-date-panel)
                    .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
                .ant-picker-panel
                    > :not(.ant-picker-date-panel)
                    .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
                    background: #52c41abb;
                }

                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
                    .ant-picker-cell-inner::after,
                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
                    .ant-picker-cell-inner::after {
                    background: #52c41abb !important;
                }
            }
        }
    }
    &.blue {
        .ant-picker-range-arrow {
            background: #1e406a !important;
            &::before {
                background: rgb(23 62 110);
            }
        }
        .anticon {
            color: #fff !important;
        }
        .ant-picker-panel {
            border-bottom: 1px solid #95fff933 !important;
        }
        .ant-picker-footer {
            border-top: 1px solid #95fff933 !important;
        }

        .ant-picker-panel-container {
            background: rgb(23 62 110);
            box-shadow: 0 3px 6px -4px #ffffff1f, 0 6px 16px #ffffff14, 0 9px 28px 8px #5454540d;
            .ant-picker-header {
                border-bottom: 1px solid #95fff933;
                button {
                    color: white;
                    &:hover {
                        color: #95fff9;
                    }
                }
            }

            .ant-picker-footer {
                border-top: 1px solid #95fff933 !important;
            }
            .ant-picker-content {
                th {
                    color: white;
                }
                .ant-picker-cell-inner {
                    color: white;
                }
                .ant-picker-cell-in-view.ant-picker-cell-in-range::before {
                    background: #6cff2340;
                }
                .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
                    background: #6cff2340;
                }
                .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
                .ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
                .ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
                    background: #52c41a;
                }
                .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
                .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
                    .ant-picker-cell-inner {
                    background: #f5f5f55e;
                }
                .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
                    border: 1px solid #52c41a;
                }

                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,
                .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,
                .ant-picker-panel
                    > :not(.ant-picker-date-panel)
                    .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
                .ant-picker-panel
                    > :not(.ant-picker-date-panel)
                    .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
                    background: #52c41abb;
                    border-bottom: 1px solid #95fff933;
                }

                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
                    .ant-picker-cell-inner::after,
                .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
                    .ant-picker-cell-inner::after {
                    background: #52c41abb !important;
                }
                .ant-picker-panel-container .ant-picker-panel {
                    border-bottom: 1px solid #95fff933 !important;
                }
            }
        }
    }
}

.vtx-business-modal {
    .background {
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    width: fit-content;
    min-height: 620px;
    max-height: calc(100% - 60px);
    min-width: 1000px;
    // max-width: calc(100% - 64px);
    overflow: hidden;
    position: fixed;
    top: 50px;
    left: 50%;
    // transform: translateX(-50%);
    z-index: 1000;
    background: var(--modal-content-bg);
    border: 2px solid var(--modal-border-color);
    border-radius: 8px;
    &.bottom.blue,
    &.bottom.light {
        padding-bottom: 44px;
        max-height: calc(100% - 100px);
    }
    &.blue {
        border-radius: 16px;
        &::-webkit-scrollbar-track {
            background: var(--scroll-bar-hover-bg);
            border-radius: 5px;
        }

        border: var(--border);

        --border: 1px solid #1464a6;
        --border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
        --border-active: 1px solid #95fff9ff;
        --color: #fff;
        --active-color: #fff !important;
        --active-bg: linear-gradient(180deg, #2a55e9 0%, #0dbafe 100%);
        --info-color: #74bbf4;
        .ant-tabs-top > .ant-tabs-nav::before,
        .ant-tabs-bottom > .ant-tabs-nav::before,
        .ant-tabs-top > div > .ant-tabs-nav::before,
        .ant-tabs-bottom > div > .ant-tabs-nav::before {
            border-bottom: 1px solid #219fff5d;
        }
        .ant-empty-description {
            color: var(--info-color);
        }
        .ant-radio-button-wrapper {
            border: 1px solid rgba(204, 204, 204, 0.3);
            background-color: transparent;
            color: #fff;
            &::before {
                background: none;
            }
        }
        .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
        .pump-alarm-card {
            background-color: rgba(0, 139, 237, 0.1);
            border: 1px solid #1464a6;
        }
    }
    &--head {
        background: var(--head-bg);
        height: 60px;
        line-height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 22px;
        &.blue {
            // border: 1px solid var(--head-bg-border-color2);
            // border-radius: 10px;
            background: url('../imgs/bg_blue.png');
            background-size: 100% 100%;
            margin: 0;
        }
        &-title {
            position: relative;
            height: 100%;
            font-weight: bold;
            display: flex;
            align-items: center;
            &.blue {
                padding-left: 15px;
                width: auto;
                // font-family: DINAlternate-Bold, DINAlternate;
                // font-style: italic;
                // color: var(--title-color);
                // -webkit-text-stroke: 1px #034193c0;
                // background: RGBA(27, 65, 100, 1);
                font-family: PingFang SC;
                font-weight: 600;
                font-size: 18px;
                color: #ffffff;
                line-height: 63px;
                margin: 1px;
            }
            &.dark {
                padding-left: 58px;
                font-family: DINAlternate-Bold, DINAlternate;
                font-style: italic;
                color: var(--title-color);
                -webkit-text-stroke: 1px #034193c0;
            }
            &.light {
                padding-left: 24px;
                font-size: 18px;
                color: #222;
            }
            &-bg {
                &.dark {
                    width: 400px;
                    height: 60px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    .background();
                    background-image: url('../imgs/title_bg.png');
                }
                &.blue {
                    width: 400px;
                    height: 60px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    .background();
                    // background-image: url('../imgs/title_bg_blue.png');
                }
            }
        }
        &-btns {
            display: flex;
            justify-content: end;
            align-items: center;
        }
        &-btn {
            color: var(--title-color2);
            font-size: 16px;
            margin-right: 15px;
            cursor: pointer;
            &.blue,
            &.light {
                font-size: 14px;
                display: flex;
                align-items: center;
                margin-left: 16px;
            }
            img {
                width: 38px;
                height: 42px;
                margin-right: 8px;
            }
        }
        .close-btn {
            cursor: pointer;
            transition: transform 0.3s;
            &.blue {
                margin-right: 10px;
            }
            &:hover {
                transform: rotate(180deg);
            }
        }
    }

    &--content {
        height: calc(~'100% - 60px');
        min-height: calc(~'500px - 60px');
        background: var(--modal-content-bg);
        display: flex;
        justify-content: space-between;
        // overflow: scroll;
        &.blue {
            .ant-tabs-top {
                background-color: transparent !important;
                color: #fff;
            }
            .pump-sbxl-main-top,
            .pump-sbxl-main-bottom {
                background-color: transparent;
                color: #fff;
            }
            .pump-sbxl-main-top-sbyxqk {
                border-right: 1px solid #1464a6;
            }
            .pump-sbxl-main-top-title,
            .pump-sbxl-main-top-sbyxqk-legend-items-text,
            .pump-sxyx-card-title,
            .pump-sxyx-card-content-label,
            .pump-sxyx-card-title-text,
            .pump-sjfx-top,
            .pump-alarm-card-title {
                color: #fff;
            }
            .pump-sbxl-main-bottom-title,
            .pump-sxyx-card-title,
            .pump-sjfx-card-title,
            .ant-radio-wrapper,
            .pump-alarm-card-title {
                color: #fff;
                border-bottom: 1px solid #1464a6;
            }
            .pump-sxyx-card-content-value {
                color: var(--info-color);
            }
            .ant-radio-button-wrapper {
                border: 1px solid rgba(204, 204, 204, 0.3);
                background-color: transparent;
                color: #fff;
                &::before {
                    background: none;
                }
            }
            .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled),
            .pump-alarm-card {
                background-color: rgba(0, 139, 237, 0.1);
                border: 1px solid #1464a6;
            }
            .ant-select-selector {
                background: rgba(0, 139, 237, 0.1) !important;
                border: 1px solid #1464a6 !important;
                .ant-select-selection-item {
                    color: white;
                }
            }
            &:hover {
                .ant-select-selector {
                    border: 1px solid #018aff !important;
                }
            }
            .ant-select-arrow {
                color: white;
            }
        }
        &-right,
        .dark {
            display: flex;
            .vtx-modal-tabs--tab {
                // padding: 10px 12px;
                // border-top: 1px solid #21aeff;
                height: 34px;
                &.light,
                &.blue {
                    line-height: 29px !important;
                }

                margin-bottom: -1px;
                margin-top: 10px;
                padding-top: 0;
                border-left: none !important;
            }
            .vtx-modal-tabs--tab_active {
                // margin-top: -1px;
                margin-top: 10px;
                &.light,
                &.blue {
                    line-height: 29px !important;
                }

                padding-top: 0;
                border-left: none !important;
                background-image: none;
                // &.light {
                //     border-left: none !important;
                //     padding-bottom: 6px;
                //     height: 34px;
                //     padding-top: 0;
                //     background-image: none !important;
                // }
                // &.blue {
                //     border-left: none !important;
                //     height: 34px;
                //     padding-top: 0;
                //     padding-bottom: 6px;
                //     background-image: none !important;
                // }
                // &.light {
                //     border-left: none !important;
                // }
            }
        }
        &-top.dark {
            display: flex;
        }
        &-top.blue,
        &-top.light {
            // .vtx-business-modal--content;

            flex-direction: column;
            .vtx-modal-tabs-top {
                .vtx-modal-tabs;
                display: flex;
                flex-flow: row;
                width: auto;
                justify-content: flex-start;
                background: transparent;
                margin: 0 0 10px 0;
                // border-bottom: 1px solid rgba(64, 146, 215, 0.3);
                border-left: none !important;
                background-color: var(--bg-color2);
                img {
                    margin-right: 7px;
                }

                .vtx-modal-tabs--tab {
                    border-bottom: 1px solid transparent;

                    display: flex;
                    // padding: 10px 12px;
                    // border-top: 1px solid #21aeff;
                    height: 34px;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: -1px;
                    margin-top: 10px;
                    padding-top: 0;
                    border-left: none !important;
                    &.light {
                        border-left: none !important;
                        padding-bottom: 6px;
                    }
                    &.blue {
                        height: 34px;
                        padding-top: 0;
                    }
                }
                .vtx-modal-tabs--tab_active {
                    display: flex;
                    // padding: 10px 12px;
                    border-bottom: 1px solid #21aeff;

                    align-items: center;
                    justify-content: center;
                    // margin-top: -1px;
                    margin-top: 10px;
                    padding-top: 0;
                    border-left: none !important;
                    background-image: none;
                    &.light {
                        border-left: none !important;
                        padding-bottom: 6px;
                        height: 34px;
                        padding-top: 0;
                        background-image: none !important;
                    }
                    &.blue {
                        border-left: none !important;
                        height: 34px;
                        padding-top: 0;
                        padding-bottom: 6px;
                        background-image: none !important;
                    }
                    // &.light {
                    //     border-left: none !important;
                    // }
                }
            }
        }
        &-top.blue {
            .vtx-modal-tabs-top {
                .vtx-modal-tabs--tab,
                .vtx-modal-tabs--tab_active {
                    height: 44px !important;
                    padding-bottom: 0;
                    line-height: 44px;
                    margin-top: 0px;
                    font-family: PingFang SC;
                    font-weight: 400;
                    font-size: 14px;
                    color: #72bdff;
                    &.blue {
                        padding-bottom: 0px;
                    }
                }
                .vtx-modal-tabs--tab_active {
                    &.blue {
                        padding-bottom: 0px;
                    }
                    color: #4cb2ff;
                }
            }
        }
        &-bottom.dark {
            display: flex;
        }
        &-bottom.blue,
        &-bottom.light {
            // .vtx-business-modal--content;

            flex-direction: column;
            .vtx-modal-tabs-bottom {
                .vtx-modal-tabs;
                z-index: 9999;
                position: absolute;
                bottom: 0;
                display: flex;
                flex-flow: row;
                width: auto;
                justify-content: flex-start;
                background: transparent;
                border-left: none !important;
                margin: 0 10px 10px 10px;
                border-top: 1px solid rgba(64, 146, 215, 0.3);
                &.light {
                    width: 100%;
                    border-top: 1px solid rgba(189, 194, 198, 0.5);
                }
                img {
                    margin-right: 7px;
                }

                .vtx-modal-tabs--tab {
                    display: flex;
                    // padding: 10px 12px;
                    border-color: transparent;
                    // border-top: 1px solid #21aeff;
                    height: 34px;
                    align-items: center;
                    justify-content: center;
                    margin-top: -1px;
                    padding-top: 0;
                    &.light {
                        background-image: none !important;
                        border-left: none !important;
                        padding-top: 6px;
                    }
                    &.blue {
                        height: 34px;
                        padding-top: 6px;
                    }
                }
                .vtx-modal-tabs--tab_active {
                    display: flex;
                    // padding: 10px 12px;

                    border-top: 1px solid #21aeff;
                    height: 34px;
                    align-items: center;
                    justify-content: center;
                    margin-top: -1px;
                    &.light {
                        background-image: none !important;
                        border-left: none !important;

                        padding-top: 6px;
                    }
                    &.blue {
                        height: 34px;
                        border-left: none !important;
                        padding-top: 6px;
                    }
                }
            }
        }
    }

    &--main {
        flex: 1;
    }
    &--main.right {
        width: calc(~'100% - 140px');
    }
    &--main-notab {
        width: 100%;
        min-height: 450px;
    }

    .vtx-modal-tabs {
        --tabs-bg-color: #fcfcfc;
        --tabs-btn-color: #666;
        --tabs-btn-active-color: #1890ff;
        --border-left: #1890ff;

        &.dark {
            --tabs-bg-color: #fcfcfc;
            --tabs-btn-color: #9dbcbaff;
            --tabs-btn-active-color: #fff;
            --border-left: rgba(255, 255, 255, 0.2);
        }
        &.blue {
            --tabs-bg-color: #fff;
            --tabs-btn-color: rgba(132, 179, 222, 1);
            --tabs-btn-active-color: #fff;
            --border-left: rgba(255, 255, 255, 0.2);
            font-size: 14px;
        }

        // &.blue {
        //     --tabs-btn-color: #aaa;
        //     --tabs-btn-active-color: #ffffff;
        // }
        width: 140px;
        font-size: 18px;
        font-family: PingFangSC-Regular, PingFang SC;
        color: var(--tabs-btn-color);
        text-align: center;
        background: var(--modal-content-bg);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        flex-flow: column;
        justify-content: center;
        &--tab {
            width: 140px;
            height: 64px;
            line-height: 64px;
            cursor: pointer;
            color: var(--tabs-btn-color);

            &.blue {
                text-align: center;
                height: 76px;
                overflow: hidden;
                line-height: 29px;
                padding-top: 6px;
                img {
                    height: 16px;
                    width: 16px;
                }
            }
            &_active {
                color: var(--tabs-btn-active-color);
                background-image: url('../imgs/tab_bg_light.png');
                .background();
                &.dark {
                    background-image: url('../imgs/tab_bg.png');
                }
                &.blue {
                    overflow: hidden;
                    padding-top: 6px;
                    height: 76px;
                    line-height: 29px;
                    img {
                        height: 16px;
                        width: 16px;
                    }
                    background: rgba(33, 158, 255, 0.1);
                    font-weight: bold;
                    border-left: 1px solid rgba(33, 174, 255, 1);
                }
            }
        }
        &--title {
            &.blue {
                // margin-top: 4px;
            }
        }
    }
    .vtx-modal-tabs-right {
        .vtx-modal-tabs;
    }
}

.dark {
    .ant-popover-inner {
        background-color: #0d1a1b !important;
        .ant-input {
            background-color: #0d1a1b !important;
            color: #a9d5d3;
        }
    }

    .ztree li a {
        color: #a9d5d3 !important;
    }
}
.blue {
    .ant-popover-inner {
        background: #1464a6 !important;
        border-radius: 8px;
    }
    .ant-popover-arrow {
        display: none;
    }
}

@media screen and(max-width: 1440px) and (max-height: 900px) {
    .vtx-business-modal {
        height: 100%;
        top: 0;
        &--content {
            height: 100%;
        }
    }
}

@media screen and (max-width: 1366px) and (max-height: 768px) {
    .vtx-business-modal {
        width: 100%;
        height: 100%;
        top: 0;
        &--content {
            height: 100%;
        }
    }
}

.gradeTip {
    display: inline-block;
    margin-left: 10px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 14px;
    background: rgba(38, 216, 140, 0.102);
    border: 1px solid #26d88c;
    border-radius: 4px;
    font-style: normal;
    color: #26d88c;
}

.classTip {
    display: inline-block;
    margin-left: 10px;
    padding: 0 8px;
    line-height: 24px;
    font-size: 14px;
    background: rgba(0, 197, 203, 0.102);
    border: 1px solid #00c5cb;
    border-radius: 4px;
    font-style: normal;
    color: #00c5cb;
}
