.container {
    background: #F7F8FA;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrap {
    width: 1200px;
    margin: 0 auto;
}

.head-wrap {
    background: #fff;
    height: 64px;
}

.head-wrap .main-wrap {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.head-wrap .login-wrap {
    height:100%;
    width:300px;
    position: relative;
}

.head-wrap .login-wrap img {
    max-width: 100%;
    max-height: 80%;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}

.type-wrap {
    box-sizing: border-box;
    padding: 20px;
    margin-top: 20px;
    width: auto;
    background: #FFFFFF;
    border-radius: 6px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0px 0px 20px #CCCCCC;
    position: relative;
}

.show {
    text-align: center;
    position: relative
}

.show i {
    display: inline-block;
    width: 18px;
    height: 18px;
}

.show i img {
    width: 100%;
}

.show > span {
    margin-left: 2px;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #333333;
}

.log-type {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.show:hover .log-type {
    display: block;
}

.type-item {
    text-align: center;
    padding: 0 10px;
    display: inline-block;
}

.type-item span {
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #333333;
}

.item-img {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.body-wrap {
    flex: 1;
    height: 0;
}

.body-wrap .main-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.body-wrap .login-leftbg {
   width: 570px;
}

.body-wrap .form-wrap {
    width: 440px;
    background: #fff;
    border-radius: 4px;
    padding: 50px 40px 32px 44px;
    box-sizing: border-box;
}

.body-wrap .form-wrap .login-title {
    font-size: 30px;
    line-height: 36px;
    color: #000;
    font-weight: 400;
    text-align: center;
    margin-bottom: 36px;
}

.body-wrap .form-wrap .input-wrap {
    width: auto;
    height: 52px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    box-sizing: border-box;
}

.body-wrap .input-wrap .icon {
    display: flex;
    align-items: center;
    justify-items: center;
    padding-left: 10px;
}
.body-wrap .input-wrap .iconfont {
    font-size: 20px;
    color: #909399;
}
.body-wrap .input-wrap .input, .body-wrap .input-wrap .layui-form-select {
    flex: 1;
    width: 0;
    line-height: 50px;
    height: 50px;
    padding: 0 10px;
    border: none;
}
.body-wrap .input-wrap .captcha {
    cursor: pointer;
}
.body-wrap .form-wrap .layui-btn{
    line-height: 48px;
    height: 48px;
    color: #fff;
    border-radius: 4px;
    width: 100%;
    margin-top: 27px;
}

.body-wrap .layui-form-select .layui-input {
    border: none;
    line-height: 48px;
    height: 48px;
    padding-left: 0;
}

.footer-wrap {
    padding: 50px 0 20px 0;
    text-align: center;
}

.footer-wrap a {
    color: #999;
    font-size: 12px;
}
.footer-wrap .copyright-logo img {
    max-width: 100px;
    max-height: 27px;
}

.footer-wrap .gov-box img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.footer-wrap .info {
    margin: 8px 0;
}

/* ========== 移动端适配 ========== */
@media screen and (max-width: 768px) {
    .container {
        min-width: 0; /* 防止固定宽溢出 */
        height: auto;
        min-height: 100vh;
    }
    .main-wrap {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .head-wrap {
        height: 52px;
    }
    .head-wrap .login-wrap {
        width: 100%;
    }
    .head-wrap .login-wrap img {
        max-height: 60%;
    }
    .login-iph {
        display: none; /* 移动端隐藏端口/二维码下拉展示，简化布局 */
    }
    .body-wrap .main-wrap {
        flex-direction: column;
        justify-content: center;
        height: auto;
        min-height: calc(100vh - 52px);
        padding: 24px 0;
    }
    .body-wrap .login-leftbg {
        display: none; /* 移动端隐藏左侧装饰图 */
    }
    .body-wrap .form-wrap {
        width: 100%;
        padding: 28px 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,.08);
        border-radius: 8px;
    }
    .body-wrap .form-wrap .login-title {
        font-size: 22px;
        line-height: 28px;
        margin-bottom: 24px;
    }
    .body-wrap .form-wrap .input-wrap {
        height: 48px;
    }
    .body-wrap .input-wrap .input {
        line-height: 46px;
        height: 46px;
        font-size: 15px;
    }
    .body-wrap .input-wrap .iconfont {
        font-size: 18px;
    }
    .body-wrap .input-wrap .captcha {
        height: 100%;
        max-height: 100%;
        width: auto;
    }
    .body-wrap .form-wrap .layui-btn {
        line-height: 46px;
        height: 46px;
        font-size: 16px;
        margin-top: 20px;
    }
    .footer-wrap {
        padding: 24px 0 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .body-wrap .form-wrap {
        padding: 22px 16px;
    }
}