$bg: #EDF2F0;

$neu-1: #ecf0f3;
$neu-2: #d1d9e6;

$white: #f9f9f9;
$gray: #a0a5a8;
$black: #181818;

$purple: #4B70E2;


$transition: 1.25s;

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    background: linear-gradient(to bottom, rgba(236, 240, 243, 0.2) 0%, rgba(236, 240, 243, .8) 100%);
    z-index: 3;
}

.background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;

    #hero-canvas {
        width: 100%;
        height: 100%;
        position: relative;
    }
}

.login-page {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: $neu-1;
    display: flex;
    justify-content: center;
    align-items: center;

    .bg-svg {
        position: fixed;
        top: -50px;
        left: -100px;
        display: none;
    }


    .tips {
        font-size: 14px;
        color: #fff;
        margin-bottom: 10px;

        span {
            &:first-of-type {
                margin-right: 16px;
            }
        }
    }

    .svg-container {
        padding: 6px 5px 6px 15px;
        vertical-align: middle;
        width: 30px;
        display: inline-block;
    }

    .title-container {
        position: relative;

        .title {
            font-size: 26px;
            // color: $lightGray;
            margin: 0px auto 40px auto;
            text-align: center;
            font-weight: bold;
        }
    }

    .show-pwd {
        position: absolute;
        right: 10px;
        top: 7px;
        font-size: 16px;
        color: #889aa4;
        cursor: pointer;
        user-select: none;
    }
}



::v-deep {
    .el-input {
        display: inline-block;
        height: 47px;
        width: 85%;

        input {
            height: 47px;
            background: transparent;
            border: 0px;
            border-radius: 0px;
            padding: 8px 5px 8px 15px;

            -webkit-appearance: none;

            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus {
                box-shadow: 0 0 0 60px #ecf0f3 inset;
                margin: 4px 0;
            }
        }
    }

    .el-form-item {
        width: 100%;
        background-color: #ecf0f3;
        transition: 0.25s ease;
        border-radius: 8px;
        box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;

        &:hover {
            box-shadow: inset 4px 4px 4px #d1d9e6, inset -4px -4px 4px #f9f9f9;
        }
    }

    .el-button {
        height: 50px;
        border-radius: 25px;
        margin-top: 10px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1.15px;
        // background-color: $purple;
        color: $white;
        box-shadow:
            8px 8px 16px $neu-2,
            -8px -8px 16px $white;
    }
}

/**/
.main {
    z-index: 5;
    position: relative;
    width: 1000px;
    min-width: 1000px;
    min-height: 500px;
    height: 500px;
    padding: 25px;
    background-color: $neu-1;
    box-shadow:
        10px 10px 10px $neu-2,
        -10px -10px 10px $white;
    border-radius: 12px;
    overflow: hidden;

    @media(max-width: 1200px) {
        transform: scale(.7);
    }

    @media(max-width: 1000px) {
        transform: scale(.6);
    }

    @media(max-width: 800px) {
        transform: scale(.5);
    }

    @media(max-width: 600px) {
        transform: scale(.4);
    }


}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;

    top: 0;
    width: 600px;
    height: 100%;
    padding: 25px;

    background-color: $neu-1;
    transition: $transition;
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 100px;
}

.title {
    font-size: 34px;
    font-weight: 700;
    line-height: 2.6;
    color: $black;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        width: 66px;
        margin-right: 10px;
    }
}

.description {
    font-size: 14px;
    letter-spacing: .25px;
    text-align: center;
    line-height: 1.6;
    color: #a0a5a8;
}

/**/

.a-container {
    z-index: 100;
    left: calc(100% - 600px);
}

.switch {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 400px;

    padding: 50px;
    z-index: 200;
    transition: $transition;

    background-color: $neu-1;
    overflow: hidden;


    box-shadow:
        4px 4px 10px $neu-2,
        -4px -4px 10px $white;

    &__circle {
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background-color: $neu-1;
        box-shadow:
            inset 8px 8px 12px $neu-2,
            inset -8px -8px 12px $white;

        bottom: -60%;
        left: -60%;
        transition: $transition;

        &--t {
            top: -30%;
            left: 60%;
            width: 300px;
            height: 300px;
        }
    }

    &__container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: absolute;
        width: 400px;
        padding: 50px 55px;

        transition: $transition;

    }

    &__button {
        cursor: pointer;

        &:hover {
            box-shadow:
                6px 6px 10px $neu-2,
                -6px -6px 10px $white;
            transform: scale(.985);
            transition: .25s;
        }

        &:active,
        &:focus {
            box-shadow:
                2px 2px 6px $neu-2,
                -2px -2px 6px $white;
            transform: scale(.97);
            transition: .25s;
        }
    }
}