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

body {
    margin: 0;
    background: #f5f8fc;
    color: #17233d;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.login-layout {
    display: flex;
    width: 100%;
    min-height: 100%;
}

.brand-panel {
    position: relative;
    display: flex;
    width: 35%;
    min-height: 100vh;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #126fc8 0%, #084d9f 55%, #063878 100%);
}

.brand-panel-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.brand-content {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    width: min(78%, 560px);
    margin: 29vh auto 0;
    padding-bottom: 0;
}

.brand-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.brand-content h1 {
    margin: 0;
    color: #fff;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-shadow: 0 2px 10px rgba(2, 29, 67, .38);
}

.brand-content p {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.8;
}

.brand-footer {
    position: absolute;
    z-index: 1;
    right: 9%;
    bottom: 34px;
    left: 9%;
    color: rgba(255, 255, 255, .64);
    font-size: 10px;
    letter-spacing: 1.2px;
}

.brand-geometry {
    position: absolute;
    right: 12%;
    bottom: 112px;
    width: 170px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, .20);
    transform: skewX(-24deg);
}

.brand-geometry::before,
.brand-geometry::after {
    position: absolute;
    content: '';
}

.brand-geometry::before {
    top: 20px;
    right: -24px;
    bottom: -20px;
    left: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
}

.brand-geometry::after {
    top: -28px;
    right: 44px;
    width: 1px;
    height: 170px;
    background: rgba(255, 255, 255, .18);
    transform: rotate(49deg);
}

.login-panel {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: #f7f9fd;
}

.login-box {
    width: min(100%, 420px);
    box-sizing: border-box;
    padding: 46px 48px 30px;
    border: 1px solid rgba(225, 233, 244, .9);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(27, 71, 131, .13);
}

.login-heading {
    margin-bottom: 34px;
    text-align: center;
}

.login-brand {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto 20px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.login-brand img {
    display: block;
    width: 190px;
    max-width: 100%;
    margin: 0 auto;
    mix-blend-mode: normal;
}

.login-heading h2 {
    margin: 0;
    color: #17233d;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.35;
}

.layui-form .layui-row {
    margin-bottom: 0;
}

.layui-input-wrap {
    position: relative;
}

.layui-input-prefix {
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #6892c2;
    line-height: 1;
}

.layui-input {
    height: 46px;
    padding-left: 42px;
    border-color: #dce6f2;
    border-radius: 4px;
    background: #f9fbfe;
    color: #17233d;
    line-height: 46px;
    transition: border-color .2s, box-shadow .2s;
}

.layui-input:focus {
    border-color: #2879cf !important;
    box-shadow: 0 0 0 3px rgba(40, 121, 207, .12);
}

.layui-input::placeholder {
    color: #a8b4c5;
}

.codeimg {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    cursor: pointer;
    border: 1px solid #dce6f2;
    border-radius: 4px;
    background: #f9fbfe;
}

.layui-btn {
    height: 46px;
    border-radius: 4px;
    background: #1769c2;
    box-shadow: 0 9px 16px rgba(23, 105, 194, .2);
    font-size: 15px;
}

.layui-btn:hover,
.layui-btn:focus {
    background: #0f5bac;
    color: #fff;
}

.login-copyright {
    margin: 28px 0 0;
    color: #a0adbf;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media screen and (max-width: 960px) {
    .brand-panel {
        width: 33%;
    }

    .login-box {
        padding-right: 36px;
        padding-left: 36px;
    }

    .brand-content h1 {
        font-size: 30px;
    }

    .brand-geometry {
        width: 125px;
        height: 90px;
    }
}

@media screen and (max-width: 767px) {
    html,
    body {
        min-height: 580px;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        padding: 24px;
        background: linear-gradient(145deg, #edf5ff, #f7f9fd);
    }

    .login-box {
        padding: 38px 28px 26px;
    }
}
