html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-size: 14px;
}

#app {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/bg.jpg") no-repeat;
    background-size: cover;
    position: relative;
}

.logo-wrapper {
    margin-bottom: 8px;
    width: fit-content;
    position: fixed;
    left: 32px;
    top: 32px;
}

.logo-wrapper .logo {
    width: 150px;
}

.login-footer {
    font-size: 0.9rem;
    width: 500px;
    text-align: center;
    opacity: 0.6;
    position: fixed;
    left: calc(50% - 250px);
    bottom: 32px;
    color: rgb(255, 255, 255);
}

.login-footer a {
    padding-left: 10px;
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.page .login-wrapper {
    min-height: 420px;
    padding-bottom: 45px;
    position: relative;
    width: 782px;
    max-width: 100vw;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 15px;
}

#app .form-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

#app .form-wrapper .input-item {
    margin: -5px 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
    vertical-align: top;
    width: 320px;
}

#app .form-wrapper .input-item .submit {
    width: 100%;
    margin-top: 10px;
    text-decoration: none;
    color: #fff;
    border: none;
    background: #1890ff;
    text-shadow: none;
    box-shadow: none;
    line-height: 20px;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

#app .form-wrapper .input-item .submit:hover {
    background: rgba(24, 144, 255, 0.75);
}

#app .form-wrapper .input-item .code {
    padding-left: 8px;
    vertical-align: 5px;
    cursor: pointer;
}

#app .form-wrapper .input-item .btn {
    color: #1677ff;
    background-color: transparent;
    border: 1px solid #1677ff;
    box-shadow: none;
    font-size: 14px;
    height: 42px;
    padding: 0;
    width: calc(100% - 10px);
    margin: -10px 0 0 10px;
    cursor: pointer;
    border-radius: 5px;
}

#app .form-wrapper .input-item .btn:hover {
    background: #1677ff;
    border-color: #fff;
    color: #fff;
}

#app .form-wrapper .input-item .btn:disabled {
    cursor: not-allowed;
    border-color: #d9d9d9;
    color: rgba(0, 0, 0, 0.25);
    background-color: rgba(0, 0, 0, 0.04);
}

#app .form-wrapper .input-wrapper {
    position: relative;
    min-width: 0;
    padding: 2px;
    width: 100%;
    margin: 10px 0 20px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.66;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-flex;
}

#app .form-wrapper .input-wrapper:focus-within {
    border-color: rgb(24, 144, 255);
}

#app .form-wrapper .input-wrapper.error {
    border-color: #ff4500;
}

#app .form-wrapper .input-wrapper .error {
    position: absolute;
    font-size: 12px;
    color: #ff4500;
    left: 5px;
    bottom: -20px;
}

#app .form-wrapper .input-wrapper .icon {
    width: 18px;
    height: 18px;
    padding: 5px;
    vertical-align: -9px;
}

#app .form-wrapper .input-wrapper input {
    border: none;
    outline: none;
    text-overflow: ellipsis;
    box-sizing: border-box;
    padding: 8px 10px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
    line-height: 1.5715;
    border-radius: 2px;
    transition: all 0.3s;
    width: 100%;
}

#app .form-wrapper .forget {
    margin-top: 15px;
    text-align: right;
    width: 100%;
}

#app .form-wrapper .forget a {
    padding-left: 10px;
    color: #1890ff;
    text-decoration: none;
}

#app .form-wrapper .forget a:hover {
    color: rgba(24, 144, 255, 0.68);
}

#app .divider {
    display: flex;
    white-space: nowrap;
    height: auto;
    line-height: 1;
    text-align: center;
    margin: 18px 0;
    color: #999;
}

#app .divider:before, #app .divider:after {
    position: relative;
    top: 50%;
    width: 50%;
    border-top: 0.5px solid transparent;
    border-top-color: inherit;
    border-bottom: 0;
    transform: translateY(50%);
    content: "";
}

#app .divider .divider-text {
    display: inline-block;
    font-size: 12px;
    padding: 0 1em;
}

#app .text-center {
    text-align: center;
}

#app .row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

#app .col-14 {
    display: block;
    flex: 0 0 60%;
    max-width: 60%;
}

#app .col-10 {
    display: block;
    flex: 0 0 40%;
    max-width: 40%;
}

#app .col-4 {
    display: block;
    flex: 0 0 20%;
    max-width: 20%;
}

#app .col-8 {
    display: block;
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

#app .app-msg {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.88);
    font-size: 14px;
    line-height: 1.57;
    list-style: none;
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    pointer-events: none;
    z-index: 1010;
    text-align: center;
}

#app .app-msg .msg-wrapper {
    padding: 8px;
}

#app .app-msg .message {
    padding: 9px 12px;
    display: inline-block;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    pointer-events: all;
}

#app .app-msg .message .icon {
    vertical-align: -2px;
    padding: 0 5px;
}

@media screen and (max-width: 1100px) {
    .logo-wrapper {
        left: calc(50% - 75px);
    }
}