@import '../../style/variables.less';

@cmname: ~"@{prefix}-form-item";

.has-err {

    .ant-input,
    .ant-input-number,
    .custom-input {
        border-color: @alert-color  !important;
    }
}

.mk-col {
    padding: 0;
    margin-bottom: 12px;
}

.@{cmname}-split {
    height: 8px;
    background-color: #f0f2f5;
}

.@{cmname} {
    font-size: 14px;

    &-error {
        margin-top: 5px;
        font-size: 12px;
        color: @alert-color;
    }

    &-label {
        font-size: 12px;
        color: #757575;
        line-height: 16px;
        padding: 4px 0;

        &.complex {
            padding: 10px 0;
            line-height: 20px;
            color: #191f25;
            font-size: 13px;
            font-weight: bold;
        }

        &.required {
            position: relative;

            &:before {
                .maycur-form-label-require();
            }
        }
    }

    &-body {
        min-height: 32px;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
    }

    &-header {
        display: flex;

        &_extra {
            flex: 1;
        }
    }
}