html,body{
    width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: 14px;
    font-family: "Microsoft YaHei", "微软雅黑","Hiragino Sans GB", "宋体", Inter, Arial, Verdana, sans-serif;
}
html{
    width: 100%;
    margin: 0 auto;
}
body{
    margin: 0;
    padding: 0;
}
.his_login{
    background: url("../img/bg_new.jpg") no-repeat 0 0;
    text-align: center;
    min-width: 100%;
    min-height: 100%;
    background-size: 100% 100%;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='img/bg_new.jpg',
            sizingMethod='scale');
    -ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
            src='img/bg_new.jpg',
            sizingMethod='scale');
}

.login_content{
    text-align: center;
    overflow: visible;
    width: 920px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    margin-top: 0;
}
.login_left_bg{
    position: absolute;
    z-index: 1;
    left:40px;
    top:0;
    opacity: 0.7;
    width:436px;
}
.login_left{
    float: left;
    margin-right: 54px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}
.login_left .his_logo{
    margin-top:33px;
    margin-bottom: 20px;
    display: inline-block;
    background: url("../img/system_logo.png") no-repeat 0 0;
    height: 58px;
    width: 208px;
    background-size: cover;
}
.login_left .his_name{
    display: block;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    color: #F5A623;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.33;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

/* 登录卡片：对齐设计稿 360 / 圆角 24 / 内边距 32 / 区块间距 28 */
.login_form{
    float: left;
    box-sizing: border-box;
    width: 360px;
    padding: 32px;
    height: auto;
    background-color: #f9fafa;
    text-align: left;
    border-radius: 24px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}
.login_form .form_head{
    background: none;
    height: auto;
    line-height: 1.33;
    margin: 0 0 28px 0;
    padding: 0;
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.login-sr-only{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.login_form .form-group{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
/* 错误提示框样式 */
.login_form .form-group .errorTip{
    visibility: hidden;
    position: absolute;
    font-size: 12px;
    color: red;
    top: 48px;                /* 从 40px 改为 48px，向下移 8px */
    left: 15px;
    min-height: 40px;         /* 从 34px 改为 40px，预留更多空间 */
    line-height: 1.4;         /* 新增：行高 */
    white-space: normal;      /* 新增：允许换行 */
    word-break: break-word;   /* 新增：长单词自动换行 */
    max-width: 280px;         /* 新增：限制最大宽度 */
}

/* 密码输入框样式 - 新增 */
.login_form .form-group .login_password{
    margin-top: 8px;          /* 新增：从错误提示框下方开始 */
}

.login_form .form-group > div{
    margin-bottom: 0;
    position: relative;
}

/* 单行输入：边框 #DEDEDE、圆角 12、图标 28×28 在右侧 */
.login_field{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #ffffff;
}
.login_field:focus-within{
    border-color: #4a90e2;
    box-shadow: 0 0 0 1px #4a90e2;
}

.login_form .login_field_input{
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 28px;
    line-height: 28px;
    vertical-align: middle;
    padding: 0 4px;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #333333;
    box-sizing: border-box;
}
.login_form .login_field_input:focus{
    outline: none;
}
#passwordtext{
    ime-mode: disabled;
}

.login_form .login_field_icon{
    flex-shrink: 0;
    position: static;
    display: inline-block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}
.login_form .login_card .login_field_icon{
    background-image: url("../img/login_person.svg");
}
.login_form .login_password .login_field_icon{
    background-image: url("../img/login_password.svg");
}

.login_form .login_verification{
    text-align: left;
    margin-left: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
}
.login_form .login_verification_title{
    display: block;
    font-size: 14px;
    line-height: 1.43;
    color: #666666;
}
.login_verification_row{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
}
.login_verification_row .login_field,
.login_field--flex1{
    flex: 1 1 auto;
    min-width: 0;
}
.login_captcha{
    flex: 0 0 70px;
    width: 70px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}
.login_captcha img{
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.login_form .login_department select{
    vertical-align: middle;
    height: 30px;
}
.login_department{
    width: 100%;
    overflow: hidden;
}
.login_form .login_department .department_large{
    width: 264px;
}
.login_form .login_department .department_small,.login_form .login_department .infected_patch{
    width: 134px;
}
.login_form .login_department .infected_patch{
    display: none;
}

/* 主按钮：渐变与圆角 12 */
.login_form .login_btn{
    margin: 0;
}
.login_form .login_btn button{
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 48px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.33;
    cursor: pointer;
    background: linear-gradient(180deg, #99caff 0%, #4a90e2 100%);
}
.login_form .login_btn button:hover{
    filter: brightness(1.02);
}

.login_form .login_info {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 0 4px 0;
    margin-top: 4px;
}
.login_form .login_info span{
    flex: 1 1 auto;
    margin: 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.33;
    text-align: left;
}
.login_form .login_info i{
    flex-shrink: 0;
    position: static;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    background: url("../img/login_info.svg") no-repeat center;
    background-size: contain;
}

.login_company{
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    color: #B4B4B4;
}
.float_img {
    width: 300px;
}
.float_close {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}
.select_box {
    margin-left: 4px;
    padding: 0;
    font-size: 12px;
    display: inline-block;
    z-index: 99;
    position: relative;
    float: left;
}

ul, li {
    list-style-type: none;
    padding: 0;
    margin: 0
}

.select_box input {
    display: inline-block;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    border: 1px solid #dedede;
    padding:0;
    padding-left:20px;
}

.hover {
    background: #ccc;
}

.select_small {
    display: none;
}

.login_form .select_small input {
    width: 100px;
}
.dhx_combo_box{
    height: 40px;
    border:0;
}
.dhx_combo_input{
    width:100% !important;
    box-sizing: border-box;
}
.dhx_combo_img{
    display: none;
}

/* 英文：表单略加宽，按钮与输入仍通栏 */
[lang="en_US"] .login_form{
    width: 400px;
    min-width: 360px;
}
[lang="en_US"] .login_verification{
    margin-bottom: 0 !important;
}

input[placeholder]{
    color:#999;
}

input::placeholder {
    color: #999;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #999;
}

input::-moz-placeholder {
    color: #999;
    opacity: 1;
}

input:-ms-input-placeholder {
    color: #999;
}

input:-moz-placeholder {
    color: #999;
    opacity: 1;
}
