html,
body {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: #eaf5ff;
    position: relative;
    overflow: hidden;
}

.main-wrap {
    width: 100%;
    margin: 0 auto;
}

/* 品牌与宣传语已经包含在背景图中，避免与图片中的文字重复 */
.head-wrap {
    display: none;
}

.login-iph {
    display: none !important;
}

.body-wrap {
    width: 100%;
    min-height: 100vh;
    background-color: #eaf5ff;
    background-image: url("../img/login/login_hero_water.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.body-wrap .main-wrap {
    min-height: 100vh;
    padding: 32px clamp(32px, 4vw, 72px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.body-wrap .form-wrap {
    width: min(574px, 100%);
    padding: 54px 52px 80px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 60px rgba(30, 74, 132, .16);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.body-wrap .form-wrap .login-title {
    margin: 0 0 34px;
    color: #111827;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: .02em;
}

.body-wrap .form-wrap .input-wrap {
    width: 100%;
    height: 64px;
    margin-bottom: 18px;
    display: flex;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.body-wrap .form-wrap .input-wrap:focus-within {
    border-color: #0C2D8D;
    box-shadow: 0 0 0 3px rgba(12, 45, 141, .10);
}

.body-wrap .input-wrap .icon {
    width: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 2px;
}

.body-wrap .input-wrap .iconfont {
    color: #738092;
    font-size: 21px;
}

.body-wrap .input-wrap .input,
.body-wrap .input-wrap .layui-form-select {
    width: 0;
    height: 62px;
    flex: 1;
    border: none;
    box-shadow: none;
    color: #1f2937;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 62px;
    padding: 0 14px 0 0;
    background: transparent;
}

.body-wrap .input-wrap .input::placeholder {
    color: #a3adba;
}

.body-wrap .input-wrap .captcha {
    width: 158px;
    height: 62px;
    flex: 0 0 158px;
    cursor: pointer;
    object-fit: cover;
    border-left: 1px solid #edf1f5;
}

.body-wrap .form-wrap .layui-btn.login-btn {
    width: 100%;
    height: 64px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #0C2D8D !important;
    color: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: .08em;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.body-wrap .form-wrap .layui-btn.login-btn:hover {
    background: #09236f !important;
    box-shadow: 0 10px 22px rgba(12, 45, 141, .22);
}

.body-wrap .form-wrap .layui-btn.login-btn:active {
    transform: translateY(1px);
}

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

.footer-wrap {
    display: none;
}

@media only screen and (max-width: 1180px) {
    .body-wrap {
        background-position: 28% center;
    }

    .body-wrap .main-wrap {
        padding-right: 48px;
        padding-left: 48px;
    }

    .body-wrap .form-wrap {
        width: min(500px, 100%);
    }
}

@media only screen and (max-width: 760px) {
    .body-wrap {
        background-position: 31% center;
    }

    .body-wrap .main-wrap {
        min-height: 100vh;
        padding: 24px;
        justify-content: center;
    }

    .body-wrap .form-wrap {
        padding: 36px 24px 32px;
        border-radius: 10px;
    }

    .body-wrap .form-wrap .login-title {
        margin-bottom: 26px;
        font-size: 26px;
    }

    .body-wrap .input-wrap .captcha {
        width: 132px;
        flex-basis: 132px;
    }
}
