.layui-layer-dialog .layui-layer-content{
    display: flex !important;
    justify-content: left !important;
    align-items: center !important;
    height: 35px !important;
    text-align: left !important;
    padding-left: 10px !important;
    overflow: hidden !important;
}

.layui-layer-error{
    background-color: #fef0f0 !important;
    color: #da0000 !important;
    border-radius: 4px !important;;
    border-width: 0px !important;;
    min-width: 380px !important;;
}
.layui-layer-error .layui-layer-content{
    padding: 8px 16px !important;;
    font-size: 14px !important;
}
.layui-layer-success {
    background-color: #f0f9eb !important;
    color: #67c23a !important;;
    border-radius: 4px !important;;
    border-width: 0px !important;;
    min-width: 380px !important;;
}
.layui-layer-success .layui-layer-content{
    padding: 8px 16px !important;;
    font-size: 14px !important;
}

.layui-layer-success .layui-layer-content::before{
    content: ""; /* 确保伪元素存在 */
    display: inline-block; /* 确保伪元素以块级元素显示 */
    width: 14px; /* 图标宽度 */
    height: 14px; /* 图标高度 */
    background-image: url('/portal/images/icon/success.svg'); /* 图标路径 */
    background-size: contain; /* 确保图标完整显示 */
    background-repeat: no-repeat; /* 不重复背景图片 */
    margin-right: 5px; /* 可选，根据需要调整与文本的间距 */
}

.layui-layer-error .layui-layer-content::before{
    content: ""; /* 确保伪元素存在 */
    display: inline-block; /* 确保伪元素以块级元素显示 */
    width: 14px; /* 图标宽度 */
    height: 14px; /* 图标高度 */
    background-image: url('/portal/images/icon/error.svg'); /* 图标路径 */
    background-size: contain; /* 确保图标完整显示 */
    background-repeat: no-repeat; /* 不重复背景图片 */
    margin-right: 5px; /* 可选，根据需要调整与文本的间距 */
}


.error{
    font-size: 14px;
    color: #da0000 !important;
    word-break: break-all;
    position: absolute;
    height: 20px;
    overflow: hidden;
    width: 240px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#loginformSubmitErrorMsg{
    max-height: 25px;
}
#emailLoginformSubmitErrorMsg{
    max-height: 25px;
}
#mobileLoginSubmitErrorMsg{
    max-height: 25px;
}
#welinkLoginSubmitErrorMsg{
    max-height: 25px;
}
#otpLoginSubmitErrorMsg{
    max-height: 25px;
}
.errorMsg {
    border: 1px solid red !important;
}
