html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #1f3570;
}

.login-bg {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(111, 91, 255, .22), transparent 32%),
        radial-gradient(circle at 86% 8%, rgba(87, 148, 255, .18), transparent 26%),
        linear-gradient(135deg, #f7f8ff 0%, #eef4ff 46%, #e8f7fb 100%);
}

.login-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .55), transparent 38%),
        linear-gradient(180deg, rgba(122, 115, 255, .10), rgba(82, 177, 219, .10));
}

.login {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 430px;
    min-height: 476px;
    margin: -238px 0 0 -215px;
    padding: 42px 42px 30px;
    box-sizing: border-box;
    border: 1px solid rgba(210, 220, 242, .96);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 28px 82px rgba(53, 83, 151, .18);
}

.login::before {
    content: "GZ";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #7565ff 0%, #4f82ff 100%);
    box-shadow: 0 14px 30px rgba(95, 103, 255, .28);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.login a.logo {
    display: block;
    height: 58px;
    width: 167px;
    margin: 0 auto 30px auto;
    background-size: 167px 42px;
}

.login .message {
    margin: 0 0 28px;
    padding: 0;
    background: transparent;
    position: relative;
    color: #203b83;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
}

.login .message::after {
    content: "Guazi Admin Console";
    display: block;
    margin-top: 8px;
    color: #7180a3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.login #darkbannerwrap {
    display: none;
}

.login form {
    margin: 0;
}

.login input[type=text],
.login input[type=file],
.login input[type=password],
.login input[type=email],
select {
    width: 100%;
    height: 50px;
    padding: 0 17px;
    border: 1px solid #dfe7f7;
    border-radius: 14px;
    box-sizing: border-box;
    outline: none;
    background: #f8fbff;
    color: #263b6f;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.login input[type=text]:focus,
.login input[type=file]:focus,
.login input[type=password]:focus,
.login input[type=email]:focus,
select:focus {
    border-color: #6d66ff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 102, 255, .12);
}

.login input[type=submit],
.login input[type=button] {
    display: inline-block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 24px;
    border: none;
    border-radius: 15px;
    outline: none;
    background: linear-gradient(135deg, #7565ff 0%, #4f82ff 100%);
    box-shadow: 0 16px 30px rgba(82, 112, 255, .26);
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-appearance: none;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.login input[type=submit]:hover,
.login input[type=button]:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(82, 112, 255, .30);
}

.login input[type=submit]:active,
.login input[type=button]:active {
    transform: translateY(0);
    opacity: .92;
}

.login hr {
    background: transparent;
}

.login hr.hr15,
.login hr.hr20 {
    width: 100%;
    height: 14px;
    margin: 0;
    padding: 0;
    border: none;
}

.login .text {
    width: 100%;
    margin-top: 22px;
    box-sizing: border-box;
    color: #7484a6;
    font-size: 13px;
    line-height: 26px;
    text-align: center;
}

.login .text a {
    padding: 0 5px;
    color: #7484a6;
    text-decoration: none;
}

.login .text a:hover {
    color: #4f82ff;
}

@media screen and (max-width: 736px) {
    .login-bg {
        overflow-y: auto;
    }

    .login {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        max-width: 420px;
        min-height: 0;
        margin: 54px 18px;
        padding: 34px 24px 26px;
    }

    .login .message {
        font-size: 24px;
    }
}
