* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: "Microsoft YaHei", "Arial", sans-serif;
}

/* 登录容器：左右分栏布局 */
.login-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* 左侧品牌展示区 */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1b5ae0 0%, #409eff 55%, #58a6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left:before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -200px;
    right: -150px;
}

.login-left:after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -120px;
    left: -100px;
}

.brand-content {
    text-align: center;
    color: #fff;
    padding: 40px;
    z-index: 2;
    position: relative;
}

.brand-logo {
    height: 56px;
    width: auto;
    margin-bottom: 24px;
}

.brand-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.brand-subtitle {
    font-size: 16px;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 36px;
}

.brand-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 26px;
    max-width: 360px;
    margin: 0 auto;
}

/* 右侧登录表单区 */
.login-right {
    width: 480px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 360px;
    background: transparent;
    border: none;
    border-radius: 0;
    position: static;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    -moz-transform: none;
    z-index: auto;
}

.logo-title {
    padding: 0 0 28px 0;
    color: #333;
}

.sys-name {
    color: #1b5ae0;
    font-family: Microsoft YaHei;
    font-size: 28px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: 1px;
    text-align: center;
}

.sys-subtitle {
    color: #999;
    text-align: center;
    font-size: 14px;
    margin-top: 6px;
}

.content_login {
    margin-top: 10px;
    padding-bottom: 0;
    text-align: center;
}

.Myinput {
    position: relative;
    text-align: left;
    display: block;
    width: 320px;
    margin: 0 auto 18px;
}

.Myinput > span {
    color: #999;
    font-size: 15px;
    margin-right: 5px;
    font-family: "Arial", sans-serif;
}

.Myinput .span1,
.Myinput .span2 {
    display: inline-block;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
}

.Myinput .span1 {
    background: url(images/img-login-01/icon-user.png) no-repeat;
    background-size: 100% 100%;
}

.Myinput .span2 {
    background: url(images/img-login-01/icon-pwd.png) no-repeat;
    background-size: 100% 100%;
}

#u1,
#p1 {
    border: 1px solid #dcdfe6;
    height: 44px;
    line-height: 44px;
    width: 320px;
    padding-left: 42px;
    margin: 0;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

#u1:focus,
#p1:focus {
    border-color: #409eff;
}

.remember-row {
    width: 320px;
    margin: 0 auto 8px;
    text-align: left;
}

#rememberMe {
    margin-left: 0;
    margin-bottom: 4px;
    vertical-align: middle;
    cursor: pointer;
}

.rember-me, .forget-key {
    display: inline-block;
    font-size: 14px;
    font-family: "Arial", sans-serif;
    color: #666;
    cursor: pointer;
}

.forget-key {
    float: right;
    margin-right: 0;
}

.forget-key a {
    text-decoration: none;
    color: #349cf2;
}

.forget-key a:hover {
    cursor: pointer;
    color: #0b7edc;
}

.login-btn {
    width: 320px;
    color: #fff;
    font-size: 16px;
    border: none;
    margin: 16px auto 10px;
    outline: none;
    display: block;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(270deg, rgba(27, 90, 224, 1), rgba(88, 166, 253, 1) 100%);
    height: 44px;
    line-height: 44px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.login-btn:hover {
    opacity: 0.9;
}

.login-btn > div {
    box-sizing: border-box;
}

h4 {
    line-height: 40px;
    font-weight: normal;
    text-align: center;
}

h4 a {
    color: #0b7edc;
}

/* 响应式：小屏隐藏左侧品牌区，表单居中 */
@media screen and (max-width: 900px) {
    .login-left {
        display: none;
    }

    .login-right {
        width: 100%;
    }

    .login-box {
        width: 80%;
        max-width: 360px;
    }
}

/* 加载遮罩 */
.loadingBox {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    background: #fff \9;
    z-index: 99;
}

.mini-mask-loading {
    padding: 20px;
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -180px;
    border-radius: 12px;
    background: white;
}

.mini-mask-loading div {
    color: #666;
    background: #fff url(../scripts/mini/miniui/themes/default/images/grid/loading-blue3.gif) no-repeat center center;
    width: 340px;
    height: 240px;
}

.mini-mask-loading div span {
    font-size: 16px;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    width: 100%;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    background: none;
    left: 0;
}

/* 清除谷歌浏览器默认黄底 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    box-shadow: 0 0 0 60px #fff inset !important;
    -webkit-text-fill-color: #333 !important;
}
