﻿body {
    background-color: var(--background-color);
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-background::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: url('/img/default_login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: -1;
}

.login-background {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

#app {
    z-index: 10;
    position: relative;
}

.main {
    border-radius: 16px;
    filter: blur(0px);
    display: flex;
    background-color: white;
    box-shadow: 0 0 8px #999;
    border: 1px solid var(--border-color);
}

.login {
    padding: 48px 48px 32px 48px;
    display: block;
    width: 400px;
}

    .login .logo {
        text-align: center;
        display: block;
        height: 110px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

        .login .logo img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
        }

    .login h3 {
        padding: 0;
        margin: 0 0 16px 0;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
    }

    .login h2 {
        padding: 0;
        margin: 16px 0 16px 0;
        font-size: 18px;
        font-weight: 500;
    }

    .login .loginBtn {
        margin-bottom: 8px;
        background-color: var(--theme-color);
        border-color: var(--theme-color);
    }

        .login .loginBtn:hover {
            background-color: var(--theme-sec-color);
        }

.footer {
    flex: 0;
    /*background: var(--background-color);*/
    background-color: var(--dark-color);
    color: white;
    box-shadow: 0 0 4px #333;
}

    .footer a {
        color: white;
    }

        .footer a:hover {
            color: gray;
        }

    .footer .bar-icp {
        text-align: center;
        padding: 16px 0 16px 0;
        margin-top: 8px;
    }

/*    .footer .bar-icp p:nth-child(n+2) {
        margin-top: 8px;
    }*/

.phone-model .bar-icp {
    font-size: 10px;
    padding: 16px 0 8px 0;
}


#canvas {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.15;
}


.header {
    top: 0;
    position: relative;
    z-index: 5;
    height: 80px;
    background-color: #212121;
    width: 100%;
    box-shadow: 0 0 8px #222;
}

.footer {
    bottom: 0;
    position: relative;
    z-index: 5;
    min-height: 90px;
    background-color: #212121;
    width: 100%;
    color: white;
    padding: 8px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 8px #222;
}

    .footer div:nth-child(n+2) {
        margin-top: 2px;
    }


.phone-model #canvas,
.phone-model .header {
    display: none;
}

.phone-model .main {
    margin-top: 8px;
    width: calc(100vw - 8px *2);
}

.phone-model .login {
    width: 100%;
}



.phone-model .footer {
    font-size: 10px;
}

.phone-model .login-background {
    background-color: white;
}

    .phone-model .login-background::before {
        content: none;
    }

.phone-model .main {
    border: none;
    box-shadow: none;
}
