﻿body.page-login {
    display: flex;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: white !important;
}

h1 {
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.welcome {
    background-color: white;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 15%;
    font-size: 120%;
}

.register {
    margin-top: 2rem;
}

.polygon {
    width: 20%;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    background-color: #3e4e59;
    position: relative;
    left: 1px;
}

.login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 5%;
    background-color: #3e4e59;
}

.login .login-actions {
    display: flex;
    justify-content: space-between;
}

.card-login, .card-forgotten-password, .card-2fa {
    width: 100%;
    margin: 0 !important;
    box-shadow: 0 0 100px #202b32;
}

.card-forgotten-password, .card-2fa {
    display: none;
}

    .card-forgotten-password .password-sent {
        display: none;
        font-weight: bold;
        text-align: center;
        color: forestgreen;
        margin-top: 1rem;
    }

.invalid-login {
    display: none;
    margin-top: 1rem;
    color: red;
    font-weight: bold;
    text-align: center;
}

.invalid-2fa {
    display: none;
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}

.just-registered {
    font-weight: bold;
    border-bottom: 1px solid #ced4da;
    padding-bottom: 20px;
}

@media screen and (max-width: 1023px) {
    body.page-login {
        flex-direction: column;
    }

    h1 {
        font-size: 2rem;
    }

    .polygon {
        display: none;
    }

    .welcome, .login {
        padding: 10%;
        width: 100%;
    }

    .welcome {
        font-size: 100%;
    }

    .card-login, .card-forgotten-password, .card-2fa {
        box-shadow: 0 0 50px #202b32;
    }
}