// 配置默认项
// @forward "element-plus/theme-chalk/src/common/var.scss" with (
//   $colors: (
//     "primary": (
//       "base": #00C586,
//       "color": #fff,
//     ),
//   )
// );


@use "element-plus/theme-chalk/src/index.scss" as *;

// 修改全局sass样式变量名
//悬停
.el-table {
    --el-table-row-hover-background-color: #fff !important;
}
//选中
.el-table {
    --el-table-current-row-background-color: #fff !important;
}
.el-button:hover {
    background: --el-color-primary !important;
}
:root {
    --main-bg-color: rgb(242, 242, 242);;
    // --el-color-primary: #00C586;
    //--el-text-color-regular: #fff;
}

body {
    background-color: var(--main-bg-color);
    width: 100vw;
    height: 100vh;
}

#app {
    width: 100%;
    height: 100%;
}

.el-main {
    padding: 0
}

// div.global-search-container {
//     @apply w-full border-gray-500/20 mb-6 bg-white;
//     border-radius: 4px;
//     margin-bottom: 10px;
// }

.global_dialog_content {
    padding: 0 25px;
}

.global_dialog_content .el-form-item--default {
    margin-bottom: 23px;
}


.el-checkbox {
    --el-checkbox-font-size: 12px;
    --el-checkbox-font-weight: var(--el-font-weight-primary);
    --el-checkbox-font-color: var(--el-text-color-regular);
    --el-checkbox-input-height: 14px;
    --el-checkbox-input-width: 14px;
    --el-checkbox-border-radius: var(--el-border-radius-small);
    --el-checkbox-background-color: var(--el-color-white);
    --el-checkbox-input-border: var(--el-border-base);
    --el-checkbox-disabled-border-color: var(--el-border-color-base);
    --el-checkbox-disabled-input-fill: #edf2fc;
    --el-checkbox-disabled-icon-color: var(--el-text-color-placeholder);
    --el-checkbox-disabled-checked-input-fill: var(--el-border-color-extra-light);
    --el-checkbox-disabled-checked-input-border-color: var(--el-border-color-base);
    --el-checkbox-disabled-checked-icon-color: var(--el-text-color-placeholder);
    --el-checkbox-checked-font-color: var(--el-color-primary);
    --el-checkbox-checked-input-border-color: var(--el-color-primary);
    --el-checkbox-checked-background-color: var(--el-color-primary);
    --el-checkbox-checked-icon-color: var(--el-fill-base);
    --el-checkbox-input-border-color-hover: var(--el-color-primary)
}

.el-checkbox__label {
    font-size: var(--el-normal-font-size) !important;
}

.el-input__prefix {
    top: 2px !important;
}

.el-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    // z-index: 2000;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    overflow: auto
}

.el-dropdown {
    cursor: pointer;
}

body {
    margin: 0;
}

a {
    color: var(--el-color-primary);
}

code {
    border-radius: 2px;
    padding: 2px 4px;
    background-color: var(--el-color-primary-light-9);
    color: var(--el-color-primary);
}

.el-table-column--selection .cell {
    padding-left: 14px;
    padding-right: 14px
}

.el-table-filter {
    border: solid 1px var(--el-border-color-lighter);
    border-radius: 2px;
    background-color: #fff;
    box-shadow: var(--el-box-shadow-light);
    box-sizing: border-box;
    margin: 2px 0
}

.el-table-filter__list {
    padding: 5px 0;
    margin: 0;
    list-style: none;
    min-width: 100px
}

.el-table-filter__list-item {
    line-height: 36px;
    padding: 0 10px;
    cursor: pointer;
    font-size: var(--el-font-size-base)
}

.el-table-filter__list-item:hover {
    background-color: var(--el-color-primary-light-9);
    color: var(--el-color-primary-light-2)
}

.el-table-filter__list-item.is-active {
    background-color: var(--el-color-primary);
    color: #fff
}

.el-table-filter__content {
    min-width: 100px
}

.el-table-filter__bottom {
    border-top: 1px solid var(--el-border-color-lighter);
    padding: 8px
}

.el-table-filter__bottom button {
    background: 0 0;
    border: none;
    color: var(--el-text-color-regular);
    cursor: pointer;
    font-size: var(--el-font-size-small);
    padding: 0 3px
}

.el-table-filter__bottom button:hover {
    color: var(--el-color-primary)
}

.el-table-filter__bottom button:focus {
    outline: 0
}

.el-table-filter__bottom button.is-disabled {
    color: var(--el-text-color-placeholder);
    cursor: not-allowed
}

.el-table-filter__wrap {
    max-height: 280px
}

.el-table-filter__checkbox-group {
    padding: 10px
}

.el-table-filter__checkbox-group label.el-checkbox {
    display: block;
    margin-right: 5px;
    margin-bottom: 8px;
    margin-left: 5px
}

.el-table-filter__checkbox-group .el-checkbox:last-child {
    margin-bottom: 0
}

.el-table {
    --el-table-border-color: var(--el-border-color-lighter);
    --el-table-border: 1px solid var(--el-table-border-color);
    --el-table-font-color: var(--el-text-color-regular);
    --el-table-header-font-color: var(--el-text-color-secondary);
    --el-table-row-hover-background-color: var(--el-background-color-base);
    --el-table-current-row-background-color: var(--el-color-primary-light-9);
    --el-table-header-background-color: var(--el-color-white);
    --el-table-fixed-box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
    --el-table-background-color: var(--el-color-white);
    --el-table-tr-background-color: var(--el-color-white);
    --el-table-expanded-cell-background-color: var(--el-color-white);
    margin-top: 12px;
}

.el-table {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    background-color: var(--el-table-background-color);
    font-size: var(--el-normal-font-size);
    color: var(--el-table-font-color)
}

.el-table__empty-block {
    min-height: 60px;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center
}

.el-table__empty-text {
    line-height: 60px;
    width: 50%;
    color: var(--el-text-color-secondary)
}

.el-table__expand-column .cell {
    padding: 0;
    text-align: center
}

.el-table__expand-icon {
    position: relative;
    cursor: pointer;
    color: var(--el-text-color-regular);
    font-size: var(--el-normal-font-size);
    transition: transform var(--el-transition-duration-fast) ease-in-out;
    height: 20px
}

.el-table__expand-icon--expanded {
    transform: rotate(90deg)
}

.el-table__expand-icon > .el-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -5px;
    margin-top: -5px
}

.el-table__expanded-cell {
    background-color: var(--el-table-expanded-cell-background-color)
}

.el-table__expanded-cell[class*=cell] {
    padding: 20px 50px
}

.el-table__expanded-cell:hover {
    background-color: transparent !important
}

.el-table__placeholder {
    display: inline-block;
    width: 20px
}

.el-table__append-wrapper {
    overflow: hidden
}

.el-table--fit {
    border-right: 0;
    border-bottom: 0
}

.el-table--fit .el-table__cell.gutter {
    border-right-width: 1px
}

.el-table--scrollable-x .el-table__body-wrapper {
    overflow-x: auto
}

.el-table--scrollable-y .el-table__body-wrapper {
    overflow-y: auto
}

.el-table thead {
    color: var(--el-table-header-font-color);
    font-weight: 500
}

.el-table thead.is-group th.el-table__cell {
    background: var(--el-background-color-base)
}

.el-table .el-table__cell {
    padding: 12px 0;
    min-width: 0;
    box-sizing: border-box;
    text-overflow: ellipsis;
    vertical-align: middle;
    position: relative;
    text-align: left
}

.el-table .el-table__cell.is-center {
    text-align: center
}

.el-table .el-table__cell.is-right {
    text-align: right
}

.el-table .el-table__cell.gutter {
    width: 15px;
    border-right-width: 0;
    border-bottom-width: 0;
    padding: 0
}

.el-table .el-table__cell.is-hidden > * {
    visibility: hidden
}

.el-table--medium .el-table__cell {
    padding: 10px 0
}

.el-table--small {
    font-size: var(--el-normal-font-size);
}

.el-table--small .el-table__cell {
    padding: 8px 0
}

.el-table--mini {
    font-size: var(--el-normal-font-size);
}

.el-table--mini .el-table__cell {
    padding: 6px 0
}

.el-table tr {
    background-color: var(--el-table-tr-background-color)
}

.el-table tr input[type=checkbox] {
    margin: 0
}

.el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf {
    border-bottom: var(--el-table-border)
}

.el-table th.el-table__cell.is-sortable {
    cursor: pointer
}

.el-table th.el-table__cell {
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    background-color: var(--el-table-header-background-color)
}

.el-table th.el-table__cell > .cell {
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    vertical-align: middle;
    width: 100%
}

.el-table th.el-table__cell > .cell.highlight {
    color: var(--el-color-primary)
}

.el-table th.el-table__cell.required > div::before {
    display: inline-block;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d51;
    margin-right: 5px;
    vertical-align: middle
}

.el-table td.el-table__cell div {
    box-sizing: border-box
}

.el-table td.el-table__cell.gutter {
    width: 0
}

.el-table .cell {
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-all;
    line-height: 23px;
    padding-left: 10px;
    padding-right: 10px
}

.el-table .cell.el-tooltip {
    white-space: nowrap;
    min-width: 50px
}

.el-table--border, .el-table--group {
    border: var(--el-table-border)
}

.el-table--border::after, .el-table--group::after, .el-table::before {
    content: "";
    position: absolute;
    background-color: var(--el-table-border-color);
    // z-index: 1
}

.el-table--border::after, .el-table--group::after {
    top: 0;
    right: 0;
    width: 1px;
    height: 100%
}

.el-table::before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px
}

.el-table--border {
    border-right: none;
    border-bottom: none
}

.el-table--border .el-table__cell {
    border-right: var(--el-table-border)
}

.el-table--border .el-table__cell:first-child .cell {
    padding-left: 10px
}

.el-table--border th.el-table__cell.gutter:last-of-type {
    border-bottom: var(--el-table-border);
    border-bottom-width: 1px
}

.el-table--border th.el-table__cell {
    border-bottom: var(--el-table-border)
}

.el-table--hidden {
    visibility: hidden
}

.el-table__fixed, .el-table__fixed-right {
    position: absolute;
    top: 0;
    left: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: var(--el-table-fixed-box-shadow)
}

.el-table__fixed-right::before, .el-table__fixed::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--el-border-color-lighter);
    // z-index: 4
}

.el-table__fixed-right-patch {
    position: absolute;
    top: -1px;
    right: 0;
    background-color: var(--el-table-header-background-color);
    border-bottom: var(--el-table-border)
}

.el-table__fixed-right {
    top: 0;
    left: auto;
    right: 0
}

.el-table__fixed-right .el-table__fixed-body-wrapper, .el-table__fixed-right .el-table__fixed-footer-wrapper, .el-table__fixed-right .el-table__fixed-header-wrapper {
    left: auto;
    right: 0
}

.el-table__fixed-header-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    // z-index: 3
}

.el-table__fixed-footer-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    // z-index: 3
}

.el-table__fixed-footer-wrapper tbody td.el-table__cell {
    border-top: var(--el-table-border);
    background-color: var(--el-table-row-hover-background-color);
    color: var(--el-table-font-color)
}

.el-table__fixed-body-wrapper {
    position: absolute;
    left: 0;
    top: 37px;
    overflow: hidden;
    // z-index: 3
}

.el-table__body-wrapper, .el-table__footer-wrapper, .el-table__header-wrapper {
    width: 100%
}

.el-table__footer-wrapper {
    margin-top: -1px
}

.el-table__footer-wrapper td.el-table__cell {
    border-top: var(--el-table-border)
}

.el-table__body, .el-table__footer, .el-table__header {
    table-layout: fixed;
    border-collapse: separate
}

.el-table__footer-wrapper, .el-table__header-wrapper {
    overflow: hidden
}

.el-table__footer-wrapper tbody td.el-table__cell, .el-table__header-wrapper tbody td.el-table__cell {
    background-color: var(--el-table-row-hover-background-color);
    color: var(--el-table-font-color)
}

.el-table__body-wrapper {
    overflow: hidden;
    position: relative
}

.el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed, .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed-right {
    box-shadow: none
}

.el-table__body-wrapper.is-scrolling-left ~ .el-table__fixed {
    box-shadow: none
}

.el-table__body-wrapper.is-scrolling-right ~ .el-table__fixed-right {
    box-shadow: none
}

.el-table__body-wrapper .el-table--border.is-scrolling-right ~ .el-table__fixed-right {
    border-left: var(--el-table-border)
}

.el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
    border-right: var(--el-table-border)
}
.el-table .caret-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    height: 14px;
    width: 24px;
    vertical-align: middle;
    cursor: pointer;
    overflow: initial;
    position: relative
}
.el-table .sort-caret {
    width: 0;
    height: 0;
    border: solid 5px transparent;
    position: absolute;
    left: 7px
}
.el-table .sort-caret.ascending {
    border-bottom-color: var(--el-text-color-placeholder);
    top: -5px
}
.el-table .sort-caret.descending {
    border-top-color: var(--el-text-color-placeholder);
    bottom: -3px
}
.el-table .ascending .sort-caret.ascending {
    border-bottom-color: var(--el-color-primary)
}
.el-table .descending .sort-caret.descending {
    border-top-color: var(--el-color-primary)
}
.el-table .hidden-columns {
    visibility: hidden;
    position: absolute;
}
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
    background: #fafafa
}
.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell {
    background-color: var(--el-table-current-row-background-color)
}
.el-table__body tr.hover-row.current-row > td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped.current-row > td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped > td.el-table__cell, .el-table__body tr.hover-row > td.el-table__cell {
    background-color: var(--el-table-row-hover-background-color)
}
.el-table__body tr.current-row > td.el-table__cell {
    background-color: var(--el-table-current-row-background-color)
}
.el-table__column-resize-proxy {
    position: absolute;
    left: 200px;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: var(--el-table-border);
}
.el-table__column-filter-trigger {
    display: inline-block;
    cursor: pointer
}
.el-table__column-filter-trigger i {
    color: var(--el-color-info);
    font-size: var(--el-normal-font-size);
    vertical-align: middle;
    transform: scale(.75)
}
.el-table--enable-row-transition .el-table__body td.el-table__cell {
    transition: background-color .25s ease
}
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
    background-color: var(--el-table-row-hover-background-color)
}
.el-table--fluid-height .el-table__fixed, .el-table--fluid-height .el-table__fixed-right {
    bottom: 0;
    overflow: hidden
}
.el-loading-mask {
    z-index: 1 !important;
}
.el-loading-mask.is-fullscreen .el-loading-spinner {
    margin-top: calc((0px - var(--el-loading-fullscreen-spinner-size)) / 2)
}
.el-loading-mask.is-fullscreen .el-loading-spinner .circular {
    height: var(--el-loading-fullscreen-spinner-size);
    width: var(--el-loading-fullscreen-spinner-size)
}
.el-loading-spinner {
    top: 32% !important;
    margin-top: calc((0px - var(--el-loading-spinner-size)) / 2);
    width: 100%;
    text-align: center;
    position: absolute
}
.el-loading-spinner .el-loading-text {
    color: var(--el-color-primary);
    margin: 3px 0;
    font-size: var(--el-title-font-size);
}
.el-loading-spinner .circular {
    display: inline;
    height: var(--el-loading-spinner-size);
    width: var(--el-loading-spinner-size);
    animation: loading-rotate 2s linear infinite
}
.el-loading-spinner .path {
    animation: loading-dash 1.5s ease-in-out infinite;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 2;
    stroke: var(--el-color-primary);
    stroke-linecap: round
}
.el-loading-spinner i {
    color: var(--el-color-primary)
}
.el-table [class*=el-table__row--level] .el-table__expand-icon {
    display: inline-block;
    width: 20px;
    line-height: 20px;
    height: 20px;
    text-align: center;
    margin-right: 3px
}
.el-cascader__search-input {
    font-size: var(--el-normal-font-size) !important;
}
span.custom-drawer-span__title {
    display: flex;

    em {
        flex: 1;
    }

    i {
        font-size: 12px;
        font-weight: normal;
    }
}
.el-badge__content.is-fixed {
    top: -5px;
    font-size: 5px;
    padding: 0px 6px;
}
.el-dialog {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    .el-dialog__header {
        padding: 20px 20px 0 20px !important;
        height: 55px;
        line-height: 55px;
        font-size: 16px;
        font-weight: bold;
        color: #303133;
        border-bottom: 1px solid #F0F2F3;
        margin-bottom: 20px;

        span.el-dialog__title {
            position: relative;
            top: -20px;
        }
    }
    div.el-dialog__body, footer.el-dialog__footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.el-drawer__header {
    background: #f7f9fb;
    margin-bottom: 0px !important;
    border-bottom: 1px solid #F0F2F3;
    padding: 12px 12px 13px 20px !important;

    span {
        height: 26px;
        font-size: var(--el-title-font-size);
        font-weight: 600;
        color: #303133;
        line-height: 26px;
    }
}
div.el-drawer__body {
    padding-top: 0px !important;
}
.el-input-number .el-input__inner {
    text-align: left !important;
}
.elInputNumberCenter .el-input__inner {
    text-align: center !important;
}
div.table_column_operation a {
    display: inline-block;
    font-size: var(--el-normal-font-size);
    font-weight: 400;
    color: #409eff;
    padding: 0px 12px;
    cursor: pointer;
}
div.table_column_operation a.del {
    color: #fe615a;
}

div.table_column_operation a {
    // color: #1e1647;
}
div.table_column_operation a:first-child {
    padding-left: 0px;
}
.el-table .el-tooltip__popper {
    width: 300px !important;
}
div.main-container {
    @apply bg-white;
    @apply flex flex-col;
    overflow-y: auto;
    padding: 1px 10px 0 10px;

    div.el-table {
        @apply flex-1;
    }

    div.Pagination-Container {
        @apply h-16;
    }
    a{
        cursor: pointer;
    }
}

.el-aside {
    width: 220px !important;
}
