.container {
    z-index: 0;
}
.container > .theme-bg-color {
    position: absolute;
    width: 100%;
    height: 46%;
    z-index: -1;
}
#logo {
    width: 350px;
    position: absolute;
    top: 30px;
    left: 20%;
}
.container > .select {
    width: 120px;
    position: absolute;
    top: 30px;
    right: 20%;
    border: none;
    color: #FFF;
}
#language::after {
    border-top-color: #FFF;
}
.container > .select > .dropdown-menu {
    margin: 0;
    max-height: none;
    background-color: #222;
}
.container > .select > .dropdown-menu > li {
    padding: 5px;
    margin: 0;
}
.container > .select > .dropdown-menu > li:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
#login-box {
    width: 580px;
    height: 450px;
    padding: 30px;
    margin: 210px auto 0 auto;
    border-radius: 16px;
    background-color: #FFF;
    box-shadow: 0px 10px 50px 1px rgba(15, 35, 61, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#welcome {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}
#box1, #box2 {
    display: none;
    width: 70%;
    margin: 30px auto;
}
#box2 {
    margin: 60px auto;
}
#username, #password, #loginBtn, #testBtn {
    width: 100%;
    height: 50px;
    font-size: 18px;
    border-radius: 4px;
}
#username, #password {
    font-size: 14px;
    background: #FFF;
    border: 1px solid #D9D4D0;
}
#loginBtn {
    margin: 16px 0;
}
#forget {
    cursor: pointer;
    font-size: 16px;
    color: #74706D;
}
#download-app {
    width: 70%;
    padding: 10px;
    margin: 0 auto;
    border-radius: 4px;
    border: 1px solid #D9D4D0;
    font-size: 18px;
    text-align: left;
    display: flex;
    align-items: center;
}
#download-app > img {
    width: 52px;
    margin-right: 6px;
}
body .layui-layer-tips .layui-layer-content {
    font-size: 14px;
    padding: 10px;
    border-radius: 10px;
}
@media(max-width: 800px) {
    .container {
        padding: 0;
        min-width: auto;
        min-height: none;
        background-size: cover;
    }
    .container > .theme-bg-color {
        position: relative;
        height: 50px;
        z-index: 1;
    }
    #logo, #welcome, #download-app > a[data-toggle="popover"] {
        display: none;
    }
    .container > .select {
        width: 100px;
        font-size: 14px;
        top: 8px;
        right: 5px;
        z-index: 1;
    }
    .select .dropdown-menu, #forget {
        font-size: 14px;
    }
    #login-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        height: 50%;
        min-height: 400px;
        padding: 20px;
        margin: 0;
        border-radius: 10px;
        box-shadow: 0px 10px 10px 1px rgba(15, 35, 61, 0.16);
    }
    #p-logo {
        width: 70%;
        display: block;
        margin-bottom: 20px;
    }
    #box1, #box2 {
        width: 86%;
        margin: 15px auto;
    }
    #box2 {
        margin: 30px auto;
    }
    #username, #password, #loginBtn, #testBtn {
        height: 40px;
        font-size: 14px;
    }
    #loginBtn {
        margin: 5px 0;
    }
    #download-app {
        width: 100%;
        font-size: 16px;
    }
    #download-app > img {
        width: 32px;
        margin-right: 4px;
    }
    #download-app > a[target="_blank"] {
        display: inline-block;
    }
    #resetModal .modal-dialog {
        width: 80%;
        top: 25%;
    }
    body .layui-layer-tips .layui-layer-content {
        line-height: 16px;
        padding: 6px;
        border-radius: 4px;
    }
}
