﻿.login-split {
    display: flex;
    justify-content: center;
}

@media (min-width: 1200px) {
    .login-split {
        justify-content: space-between;
    }
}

.login-left {
    display: none;
    width: 50vw;
    height: 100vh;
    position: relative;
}

.login-container.error-no-access .login-left {
    display: flex;
    width: 50vw;
    height: 100vh;
    position: relative;
}

.login-right {
    display: flex;
    background-image: linear-gradient(transparent,hsla(0,0%,100%,.9) 0);
    height: 100%;
    overflow-y: auto;
    transition: var(--standard-transition);
    flex-direction: column;
    padding: 2rem 2rem 2rem 2rem;
}

.login-logo {
    padding: 4rem;
    max-width: 100vw;
}

.login-logo-right {
    display: block;
    padding: 0rem 0rem 4rem 0rem;
}

.login-welcome {
    z-index: 1;
}

.login-welcome-text {
    padding: 4rem;
    width: 100vw;
    font-size: 18px;
}

    .login-welcome-text h2, .login-welcome-text h3, .login-welcome-text h4, .login-welcome-text button {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
        color: #FFFFFF !important;
    }

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    height: 40px;
}

    .remember-me input {
        display: flex;
        margin-top: 1rem;
        height: 20px;
        width: 20px;
        justify-content: center;
        align-content: center;
    }

.remember-me-label {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.primary.login {
    width: 100%;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .login-right {
        background-image: linear-gradient(135deg,transparent 40px,hsla(0,0%,100%,.9) 0);
        display: flex;
        flex-direction: column;
        margin: auto;
        margin: 3rem;
        height: 100%;
        width: 500px;
        padding: 5rem 2rem 2rem 2rem;
    }
    .login-logo, .login-welcome-text {
        width: 500px;
    }
}

.login-container.error-no-access .login-left {
    background-color: var(--primary-company-color);
    width: 100%;
}

@media screen and (min-width: 1200px) and (min-height: 900px) {
    .triangle {
        position: absolute;
        border-right: 50vw solid transparent;
        border-top: 100vh solid var(--primary-company-color);
    }

    .login-container.error-no-access .login-left {
        background-color: transparent;
        width: auto;
    }

    .login-left {
        display: flex;
    }

    .login-right {
        margin-top: 200px;
    }

    .login-logo-right {
        display: none;
    }
}

.change-password-panel h4, .login-panel h4 {
    padding-bottom: 1rem;
}

.password-requirements {
    padding: .25rem 0rem;
}

.password-requirements ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.requirement {
    margin: .5rem 0;
    color: red;
    position: relative;
    padding-left: 24px;
}

    .requirement::before {
        content: "close";
        font-family: "Material Icons";
        font-weight: normal;
        color: red;
        position: absolute;
        left: 0;
        top: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        width: 16px;
        border-radius: 50%;
        border: 1px solid red;
    }

    .requirement.valid {
        color: green;
    }

        .requirement.valid::before {
            content: "check";
            color: green;
            border-color: green;
        }

.valid-border {
    border: 1px solid green;
}

.invalid-border {
    border: 1px solid red;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.change-password-panel .error-message {
    display: block;
    margin-bottom: .5rem;
}