/* =================================
   原有加载动画样式（保持不变）
================================= */
html[data-theme='dark'] .app-loading {
    background-color: #2c344a;
}

html[data-theme='dark'] .app-loading .app-loading-title {
    color: rgb(255 255 255 / 85%);
}

html[data-theme="dark"] .ant-steps-navigation .ant-steps-item::after {
    border-bottom: none;
    border-left: none;
}

.app-loading {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f4f7f9;
}

.app-loading .app-loading-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    transform: translate3d(-50%, -50%, 0);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.app-loading .dots {
    display: flex;
    padding: 98px;
    justify-content: center;
    align-items: center;
}

.app-loading .app-loading-title {
    display: flex;
    margin-top: 30px;
    font-size: 30px;
    color: rgb(0 0 0 / 85%);
    justify-content: center;
    align-items: center;
}

.app-loading .app-loading-logo {
    display: block;
    width: 90px;
    margin: 0 auto;
    margin-bottom: 20px;
    border: none;
}

.dot {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-top: 30px;
    font-size: 32px;
    transform: rotate(45deg);
    box-sizing: border-box;
    animation: antRotate 1.2s infinite linear;
}

.dot i {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-color: #0065cc;
    border-radius: 100%;
    opacity: 30%;
    transform: scale(0.75);
    animation: antSpinMove 1s infinite linear alternate;
    transform-origin: 50% 50%;
}

.dot i:nth-child(1) {
    top: 0;
    left: 0;
}

.dot i:nth-child(2) {
    top: 0;
    right: 0;
    animation-delay: 0.4s;
}

.dot i:nth-child(3) {
    right: 0;
    bottom: 0;
    animation-delay: 0.8s;
}

.dot i:nth-child(4) {
    bottom: 0;
    left: 0;
    animation-delay: 1.2s;
}

@keyframes antRotate {
    to {
        transform: rotate(405deg);
    }
}

@-webkit-keyframes antRotate {
    to {
        transform: rotate(405deg);
    }
}

@keyframes antSpinMove {
    to {
        opacity: 100%;
    }
}

@-webkit-keyframes antSpinMove {
    to {
        opacity: 100%;
    }
}

@media (max-width: 600px) {
    .app-loading .app-loading-logo,
    .app-loading .app-loading-title {
        display: none;
    }
}

/* =================================
   新增：禁用元素样式（CSS 语法，无 Less 变量）
   原 Less 变量 @disabled-text-color 直接替换为 rgba(0, 0, 0, 1)
================================= */
/* 禁用输入框字体颜色 */
.ant-input-disabled,
.ant-input[disabled] {
    color: rgba(0, 0, 0, 1) !important;
}

/* 禁用下拉框选项字体颜色 */
.ant-select-disabled .ant-select-selection-item,
.ant-select-disabled .ant-select-selection-placeholder .ant-input-number-input-wrap .ant-picker-input .ant-picker-disabled{ 
    color: rgba(0, 0, 0, 1) !important;
}

/* 3. 禁用日期选择器（匹配指定选择器：.ant-picker 输入框） */
:where(.css-dev-only-do-not-override-1jwprxw).ant-picker .ant-picker-input > input[disabled] {
    color: rgba(0, 0, 0, 1) !important;
}

:where(.css-dev-only-do-not-override-1jwprxw).ant-input-number-disabled {
    color: rgba(0, 0, 0, 1) !important;
}
/* 可选补充：暗黑模式下的禁用字体颜色（避免纯黑在深色背景下看不见） */
html[data-theme='dark'] .ant-input-disabled,
html[data-theme='dark'] .ant-input[disabled] {
    color: rgba(255, 255, 255, 1) !important;
}
html[data-theme='dark'] .ant-select-disabled .ant-select-selection-item,
html[data-theme='dark'] .ant-select-disabled .ant-select-selection-placeholder {
    color: rgba(255, 255, 255, 1) !important;
}