
.demo {
    padding-top: 20px;
    text-align: center;
    color: #9abcda !important;
    font-size: 14px;
}

html,
body {
    height: 100%;
    margin: 0;
}

.container {
    position: relative;
    min-height: 100%;
    font-size: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 72px;
    box-sizing: border-box;
    background-color: #d8e4dd;
    background-image: linear-gradient(180deg, rgba(227, 238, 234, 0.30) 0%, rgba(168, 191, 177, 0.18) 44%, rgba(66, 84, 72, 0.45) 100%);
}

.container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 34%),
        radial-gradient(circle at 80% 32%, rgba(255, 255, 255, 0.22), transparent 28%),
        linear-gradient(180deg, rgba(248, 252, 249, 0.52) 0%, rgba(195, 214, 204, 0.18) 26%, rgba(58, 79, 67, 0.34) 100%);
    pointer-events: none;
}

.container::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, transparent 36%),
        linear-gradient(225deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%);
    pointer-events: none;
}

.main-body {
    position: relative;
    z-index: 1;
    width: min(92vw, 460px);
    overflow: hidden;
}

.login-main .login-bottom .center .item input {
    display: inline-block;
    width: auto;
    height: auto;
    flex: 1;
    padding: 0;
    position: relative;
    border: 0;
    outline: 0;
    font-size: 14px;
    letter-spacing: 0;
    background: transparent;
    color: #173224;
}

.login-main .login-bottom .center .item .icon-1 {
    background: url(../images/icon-login.png) no-repeat 1px 0;
}

.login-main .login-bottom .center .item .icon-2 {
    background: url(../images/icon-login.png) no-repeat -54px 0;
}

.login-main .login-bottom .center .item .icon-3 {
    background: url(../images/icon-login.png) no-repeat -106px 0;
}

.login-main .login-bottom .center .item .icon-4 {
    background: url(../images/icon-login.png) no-repeat 0 -43px;
    position: absolute;
    right: 16px;
    cursor: pointer;
}

.login-main .login-bottom .center .item .icon-5 {
    background: url(../images/icon-login.png) no-repeat -55px -43px;
}

.login-main .login-bottom .center .item .icon-6 {
    background: url(../images/icon-login.png) no-repeat 0 -93px;
    position: absolute;
    right: -10px;
    margin-top: 8px;
    cursor: pointer;
}


.login-main .login-bottom .tip .icon-nocheck {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    border: solid 1px #9abcda;
    position: relative;
    top: 2px;
    margin: 1px 8px 1px 1px;
    cursor: pointer;
}

.login-main .login-bottom .tip .icon-check {
    margin: 0 7px 0 0;
    width: 14px;
    height: 14px;
    border: none;
    background: url(../images/icon-login.png) no-repeat -111px -48px;
}

.login-main .login-bottom .center .item .icon {
    display: inline-block;
    width: 28px;
    height: 22px;
    flex: 0 0 28px;
    opacity: .72;
}

.login-main .login-bottom .center .item {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    margin-bottom: 18px;
    border-radius: 16px;
    padding: 0 16px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.60);
    box-shadow: 0 10px 26px rgba(31, 54, 40, 0.10);
    backdrop-filter: blur(10px);
}

.login-main {
    width: 100%;
    position: relative;
    float: none;
}

.login-main .login-top {
    height: 128px;
    background: linear-gradient(135deg, rgba(31, 71, 52, 0.92) 0%, rgba(74, 110, 84, 0.82) 52%, rgba(118, 145, 112, 0.72) 100%);
    border-radius: 24px 24px 0 0;
    font-family: SourceHanSansCN-Regular, "Microsoft YaHei", Arial, sans-serif;
    font-size: 28px;
    font-weight: 400;
    font-stretch: normal;
    letter-spacing: 0;
    color: #f6fff7;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}

.login-main .login-top .bg1 {
    display: inline-block;
    width: 92px;
    height: 92px;
    background: rgba(255, 255, 255, .12);
    opacity: 1;
    border-radius: 0 92px 0 0;
    position: absolute;
    left: 0;
    top: 36px;
}


.login-main .login-top .bg2 {
    display: inline-block;
    width: 116px;
    height: 116px;
    background: rgba(255, 255, 255, .10);
    opacity: 1;
    border-radius: 50%;
    position: absolute;
    right: -18px;
    top: -18px;
}

.login-main .login-bottom {
    width: 100%;
    background: rgba(244, 248, 246, 0.80);
    border-radius: 0 0 24px 24px;
    padding: 34px 0 34px;
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-top: none;
    backdrop-filter: blur(16px);
}

.login-main .login-bottom .center {
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 0 24px 12px;
    position: relative;
    box-sizing: border-box;
}

.login-main .login-bottom .tip {
    clear: both;
    height: 20px;
    line-height: 20px;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    position: relative;
}

input::-webkit-input-placeholder {
    color: #6d8276;
}

input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #6d8276;
}

input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #6d8276;
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #6d8276;
}

input:-webkit-autofill { /* 取消Chrome记住密码的背景颜色 */
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.92) inset !important;
    -webkit-text-fill-color: #173224 !important;
}

html {
    height: 100%;
}

.login-main .login-bottom .tip .login-tip {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-stretch: normal;
    letter-spacing: 0;
    color: #577063;
    cursor: pointer;
    margin-right: auto;
}

.login-main .login-bottom .tip .forget-password {
    font-stretch: normal;
    letter-spacing: 0;
    color: #3d6f50;
    text-decoration: none;
    position: static;
    margin-left: auto;
}

.login-main .login-bottom .login-btn {
    width: min(100%, 360px);
    height: 48px;
    background: linear-gradient(135deg, #2e6a43 0%, #5e8d60 100%);
    border-radius: 16px;
    margin: 24px auto 0;
    text-align: center;
    line-height: 48px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0;
    cursor: pointer;
    border: none;
    box-shadow: 0 16px 28px rgba(38, 88, 55, 0.24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.login-main .login-bottom .login-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 34px rgba(38, 88, 55, 0.30);
}

.login-main .login-bottom .center .item .validateImg {
    position: static;
    flex: 0 0 auto;
    cursor: pointer;
    height: 38px;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    margin-left: auto;
}

.login-main .login-bottom .center #validatePanel {
    width: 100% !important;
    max-width: 100%;
}

.login-main .login-bottom .center #validatePanel input {
    min-width: 0;
}

.footer {
    left: 0;
    right: 0;
    bottom: 14px;
    color: rgba(255, 255, 255, 0.92);
    width: 100%;
    position: fixed;
    text-align: center;
    line-height: 30px;
    padding-bottom: 10px;
    text-shadow: rgba(0, 0, 0, 0.36) 0 1px 2px;
    font-size: 13px;
    z-index: 1;
}

.padding-5 {
    padding: 5px !important;
}

.footer a, .footer span {
    color: rgba(255, 255, 255, 0.92);
}


@media screen and (max-width: 428px) {
    .container {
        padding: 28px 12px 64px;
    }

    .main-body {
        width: 100%;
    }

    .login-main {
        width: 100% !important;
    }

    .login-main .login-top {
        width: 100% !important;
        height: 120px;
        border-radius: 20px 20px 0 0;
    }

    .login-main .login-bottom {
        width: 100% !important;
        border-radius: 0 0 20px 20px;
    }

    .login-main .login-bottom .center,
    .login-main .login-bottom .tip,
    .login-main .login-bottom .login-btn {
        width: calc(100% - 32px);
    }

    .login-main .login-bottom .center,
    .login-main .login-bottom .tip {
        padding-left: 16px;
        padding-right: 16px;
    }

    .login-main .login-bottom .center .item {
        height: 48px;
        border-radius: 14px;
        padding: 0 14px;
        margin-bottom: 14px;
    }

    .login-main .login-bottom .login-btn {
        height: 46px;
        line-height: 46px;
        border-radius: 14px;
        margin-top: 20px;
    }

    .footer {
        bottom: 8px;
        font-size: 12px;
    }
}