body {
    background-color: #f4f1ed !important;
    font-family: "微软雅黑";
    background: linear-gradient(
        180deg,
        var(--g-body-bg-color-top, #f0f2f5) 0%,
        var(--g-body-bg-color-bottom, #FFFFFF) 99.98%
    ) !important;
    min-width: 1340px !important;
}

body,
ul,
li {
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
}

.login-form .ant-input-lg {
    height: 40px;
}

.ant-notification {
    right: 50% !important;
    margin-right: -167.5px !important;
}

.ant-message-notice-content {
    max-width: 1000px;
}

.ant-carousel .slick-next,
.ant-carousel .slick-prev {
    opacity: 0.5;
}

.ant-carousel .slick-next:hover,
.ant-carousel .slick-prev:hover {
    opacity: 0.9;
}

.ant-carousel .slick-next {
    right: 0;
}

.ant-carousel .slick-prev {
    left: 0;
}

/* .slick-prev,
.slick-next {
  display: none !important;
  width: 50px !important;
  height: 50px !important;
  margin-top: -25px !important;
}

.slick-prev {
  background: url("./img/leftArrows.png") no-repeat !important;
  left: 0 !important;
}

.slick-next {
  background: url("./img/rightArrows.png") no-repeat !important;
  right: 0 !important;
} */

.ant-carousel:hover .slick-prev,
.ant-carousel:hover .slick-next {
    display: block !important;
}

.ant-tooltip {
    max-width: 600px;
    max-height: 400px;
    overflow: auto;
}

.antd-pro-page-header-pageHeader {
    background: #fff !important;
    padding: 16px 32px 0 32px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.ant-notification-notice-with-icon .ant-notification-notice-description {
    margin-left: 48px !important;
    font-size: 14px !important;
    overflow: auto !important;
}

.antd-pro-page-header-pageHeader {
    background: #fff !important;
    padding: 16px 32px 0 32px !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.under-header {
    z-index: 900;
}

/* 普通输入框的清除icon样式 */
.ant-input-affix-wrapper .ant-input-prefix,
.ant-input-affix-wrapper .ant-input-suffix {
    color: rgba(0, 0, 0, 0.25);
    font-size: 11px;
}

@-webkit-keyframes iconRotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes iconRotate {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@-webkit-keyframes iconRotateRight {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes iconRotateRight {
    0% {
        -webkit-transform: rotate(360deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
    }
}

.antd-pro-ellipsis-ellipsis {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    word-break: break-all;
}
.antd-pro-ellipsis-lines {
    position: relative;
}
.antd-pro-ellipsis-lines .antd-pro-ellipsis-shadow {
    position: absolute;
    z-index: -999;
    display: block;
    color: transparent;
    opacity: 0;
}
.antd-pro-ellipsis-lineClamp {
    position: relative;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ant-v4-btn > .ant-v4-btn-loading-icon .anticon {
    padding-right: 0 !important;
    margin-right: 8px !important;
}

:root {
    --g-success-color: #3591ac;
    --g-warning-color: #f67e2e;
    --g-error-color: #e21111;
    --g-title-color: #20201f;
    --g-text-color: #404040;
    --g-support-color: #909090;
    --g-border-color: #e1e1e1;
    --g-border-info-color: #ededed;
    --g-border-warning-color: rgba(246, 126, 46, 0.2);
    --g-bg-info-color: rgba(237, 237, 237, 0.2);
    --g-bg-warning-color: rgba(246, 126, 46, 0.02);
    --g-base-size: 12px;
    --g-bg-color-gradient: linear-gradient(180deg, #F2E6D5 0%, #FFFFFF 99.98%);
}

@media (min-width: 1920px) {
    :root {
        --g-base-size: 13px;
    }
}

html.g-theme-black-gold:root {
    --g-primary-color: #DEB582;
    --g-primary-dark-color: #ddaa6b;
    --g-primary-lighter-color:#d3b089;
    --g-table-color: var(--g-text-color);
    --g-table-header-color: #757575;
    --g-link-color: var(--g-primary-color);
    --g-body-bg-color-top: #F2E6D5;
    --g-body-bg-color-bottom: #FFFFFF;
}

html.g-theme-blue-gold:root {
    --g-primary-color: #C99069;
    --g-primary-dark-color: #ac7854;
    --g-primary-lighter-color: #F2E6D5;
    --g-table-color: var(--g-title-color);
    --g-table-header-color: var(--g-title-color);
    --g-link-color: #4a90e2;
    --g-body-bg-color-top: #F2E6D5;
    --g-body-bg-color-bottom: #FFFFFF;
}

html.g-theme-blue:root {
    --g-primary-color: #2750DC;
    --g-primary-dark-color: #1c529e;
    --g-primary-lighter-color: #386fbf;
    --g-table-color: var(--g-title-color);
    --g-table-header-color: var(--g-title-color);
    --g-link-color: #4a90e2;
    --g-body-bg-color-top: #D4E5FF;
    --g-body-bg-color-bottom: #FFFFFF;
}

/*
* Message
*/
.ant-message-notice-content:has(.ant-message-success) {
    background: RGBA(234, 244, 246, 1);
    border-radius: 4px;
    border: 1px solid var(--g-success-color);
}
.ant-message-success {
    color: var(--g-success-color);
}

.ant-message-notice-content:has(.ant-message-warning) {
    background: RGBA(254, 242, 234, 1);
    border-radius: 4px;
    border: 1px solid var(--g-warning-color);
}
.ant-message-warning {
    color: var(--g-warning-color);
}

.ant-message-notice-content:has(.ant-message-error) {
    background: RGBA(251, 235, 235, 1);
    border-radius: 4px;
    border: 1px solid var(--g-error-color);
}
.ant-message-error {
    color: var(--g-error-color);
}

/*
* Modal
*/
.ant-modal-confirm-body .ant-modal-confirm-title {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.9);
    font-size: 16px;
}
.ant-modal-confirm-body .ant-modal-confirm-content {
    color: rgba(64, 64, 64, 0.6);
    font-size: 14px;
}
.ant-modal-confirm-btns .ant-btn {
    font-size: var(--g-base-size);
    border-radius: 4px;
}

/*
* Select
*/
.ant-v4-select-item-option-content {
    font-size: var(--g-base-size);
}

.ant-v4-picker-cell .ant-v4-picker-cell-inner {
    font-size: var(--g-base-size);
}
.ant-v4-picker-content th {
    font-size: var(--g-base-size);
}
.ant-v4-picker-header button {
    font-size: var(--g-base-size);
    font-weight: bold;
}
.ant-tooltip {
    font-size: 13px;
}

/* .g-scrollbar::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

.g-scrollbar::-webkit-scrollbar-thumb {
    background: #ababab;
    border-radius: 4px;
}

.g-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #6e6e6e;
}

.g-scrollbar::-webkit-scrollbar-track {
    background: #eaeaea;
} */

.g-theme .ant-v4-btn {
    font-size: var(--g-base-size);
    height: 28px;
    line-height: 18px;
    border-radius: 4px;
}

.g-theme .ant-v4-btn:not(.ant-v4-btn-primary),
.g-theme .ant-btn:not(.ant-btn-primary) {
    border-color: #d1d3d6;
}

.g-theme .ant-v4-btn:not(.ant-v4-btn-primary):hover,
.g-theme .ant-btn:not(.ant-btn-primary):hover {
    border-color: var(--g-primary-color);
}

.g-theme .ant-v4-btn-sm {
    height: 24px;
}

.g-theme .ant-v4-btn-lg {
    height: 32px;
}

.g-theme .ant-v4-btn[disabled],
.g-theme .ant-v4-btn[disabled]:hover,
.g-theme .ant-v4-btn[disabled]:focus,
.g-theme .ant-v4-btn[disabled]:active {
    color: initial;
    background: initial;
    opacity: 0.4;
    border: 1px solid var(--g-text-color);
}

.g-theme .ant-v4-btn:hover .anticon,
.g-theme .ant-v4-btn:focus .anticon {
    color: var(--g-primary-color);
}

.g-theme .ant-v4-btn-primary .anticon {
    color: #fff;
}

.g-theme .ant-v4-btn-primary:hover,
.g-theme .ant-v4-btn-primary:focus {
    background: var(--g-primary-dark-color);
    border-color: var(--g-primary-dark-color);
}

.g-theme .ant-v4-btn-primary:hover .anticon,
.g-theme .ant-v4-btn-primary:focus .anticon {
    color: #fff;
}

.g-theme .ant-v4-btn-background-ghost {
    background: white !important;
}

.g-theme .ant-v4-btn-background-ghost .anticon {
    color: var(--g-primary-color);
}

.g-theme .ant-v4-btn-background-ghost:hover .anticon,
.g-theme .ant-v4-btn-background-ghost:focus .anticon {
    color: var(--g-primary-color) !important;
}

.g-theme .ant-v4-btn-primary.ant-v4-btn-background-ghost:hover {
    color: var(--g-primary-dark-color);
}

.g-theme .ant-v4-dropdown-menu-item {
    font-size: var(--g-base-size);
}

.g-theme .ant-v4-checkbox-inner {
    transform: scale(0.875);
}

.g-theme .ant-v4-input {
    font-size: var(--g-base-size);
    border-radius: 4px;
    line-height: 18px;
}

.g-theme input.ant-v4-input[disabled] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.g-theme .ant-v4-input-number-input {
    height: 26px;
    font-size: var(--g-base-size);
    border-radius: 4px;
}

.g-theme .ant-v4-input-affix-wrapper {
    font-size: var(--g-base-size);
    border-radius: 4px;
    line-height: 18px;
}

.g-theme .ant-v4-select-selector {
    font-size: var(--g-base-size);
    border-radius: 4px !important;
}

.g-theme .ant-v4-select-multiple .ant-v4-select-selector:after {
    line-height: 20px;
}

.g-theme .ant-v4-select-multiple .ant-v4-select-selection-item {
    margin-top: 0;
    margin-bottom: 0;
}

.g-theme .ant-v4-select-single:not(.ant-v4-select-customize-input) .ant-v4-select-selector {
    height: 28px;
}

.g-theme .ant-v4-select-single .ant-v4-select-selector .ant-v4-select-selection-item,
.g-theme .ant-v4-select-single .ant-v4-select-selector .ant-v4-select-selection-placeholder {
    line-height: 26px;
}

.g-theme
    .ant-v4-select-single:not(.ant-v4-select-customize-input)
    .ant-v4-select-selector
    .ant-v4-select-selection-search-input {
    height: 26px;
}

.g-theme .ant-v4-select-tree {
    font-size: var(--g-base-size);
}

.g-theme .ant-v4-select-tree-checkbox-inner {
    transform: scale(0.875);
}

.g-theme .ant-v4-picker-input > input {
    font-size: var(--g-base-size);
    line-height: 18px;
}

.g-theme .ant-v4-picker {
    border-radius: 4px !important;
}

.g-theme .ant-v4-pagination-total-text {
    color: var(--g-text-color);
    font-size: var(--g-base-size);
}

.g-theme .ant-v4-pagination-item,
.g-theme .ant-v4-pagination-prev,
.g-theme .ant-v4-pagination-next {
    height: 28px;
    line-height: 28px;
    min-width: 28px;
    font-size: var(--g-base-size);
}

.g-theme .ant-v4-form-item {
    margin-bottom: 12px;
}

.g-theme .ant-v4-form-item-label > label {
    font-size: var(--g-base-size);
    color: var(--g-text-color);
}

.g-theme .ant-v4-form label {
    font-size: var(--g-base-size);
}

.g-theme .ant-v4-form-item-explain,
.g-theme .ant-v4-form-item-extra {
    min-height: 12px;
    font-size: var(--g-base-size);
    line-height: 12px;
}

.g-theme .ant-v4-form-item-with-help {
    margin-bottom: 0;
}

.g-theme .ant-v4-form-item-label {
    white-space: normal;
}

.g-theme .ant-form-item {
    margin-bottom: 12px;
}

.g-theme .ant-form-item-label > label {
    font-size: var(--g-base-size);
    color: var(--g-text-color);
}

.g-theme .ant-form label {
    font-size: var(--g-base-size);
}

.g-theme .ant-form-item-control-wrapper {
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-align: center;
    align-items: center;
    min-height: 32px;
}

.g-theme .ant-form-item-label {
    line-height: 32px;
}

.g-theme .ant-form-item-control {
    width: 100%;
    line-height: 28px;
}

.g-theme em {
    font-style: normal;
    color: var(--g-warning-color);
}

.g-theme .ant-form-explain,
.g-theme .ant-form-extra {
    min-height: 12px;
    font-size: var(--g-base-size);
    line-height: 22px;
}

.g-theme .ant-form-item-with-help {
    margin-bottom: 0;
}

.g-theme .ant-v4-popover-message > .anticon {
    color: var(--g-primary-color);
}

.g-theme .ant-v4-tabs-tab {
    padding: 6px 0;
}

.g-theme .ant-v4-input-group-compact .ant-v4-select-selector {
    border-radius: 4px 0 0 4px !important;
}

.g-theme .ant-v4-input-group-compact .ant-v4-input,
.g-theme .ant-v4-input-group-compact .ant-v4-input-number {
    border-radius: 0 4px 4px 0 !important;
}

.g-theme .ant-v4-input-group-compact .ant-v4-input-affix-wrapper {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.g-theme .ant-v4-badge {
    font-size: var(--g-base-size);
}

.g-scrollbar-level-small *::-webkit-scrollbar {
    height: 7px !important;
}

.g-scrollbar-level-middle *::-webkit-scrollbar {
    height: 9px !important;
}

.g-scrollbar-level-large *::-webkit-scrollbar {
    height: 12px !important;
}

.g-scrollbar-vertical-small *::-webkit-scrollbar {
    width: 7px !important;
}

.g-scrollbar-vertical-middle *::-webkit-scrollbar {
    width: 9px !important;
}

.g-scrollbar-vertical-large *::-webkit-scrollbar {
    width: 12px !important;
}

::-webkit-scrollbar {
    width: 7px !important;
    height: 7px !important;
}

::-webkit-scrollbar-thumb {
    background: #ababab !important;
    border-radius: 6px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #6e6e6e !important;
}

::-webkit-scrollbar-track {
    background: #eaeaea !important;
}

@media (min-width: 1920px) {
    .g-theme .ant-v4-checkbox-inner,
    .g-theme .ant-v4-select-tree-checkbox-inner {
        transform: scale(1);
    }

    .g-theme .ant-v4-form-item {
        margin-bottom: 14px;
    }

    .g-theme .ant-v4-form-item-explain,
    .g-theme .ant-v4-form-item-extra {
        min-height: 14px;
    }

    .g-theme .ant-form-item {
        margin-bottom: 14px;
    }

    .g-theme .ant-form-explain,
    .g-theme .ant-form-extra {
        min-height: 14px;
    }
}
