.main__login--container {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
}
/* left block  */
.main__login-left {
    width: 30%;
    display: flex;
    justify-content: center;
    align-content: center;
    box-shadow: 0px 0px 10px rgba(var(--primary-color), 0.2);
    z-index: 1;
    position: relative;
}

.logo--col {
    position: absolute;
    left: 25px;
    top: 40px;
}

.login--form__block {
    width: calc(100% - 80px);
    margin: 200px auto auto;
}

.title--block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

    .title--block h1 {
        font-size: clamp(1.5rem,2vw, 2.5rem);
        color: #09253F;
        font-weight: 600;
    }

    .title--block p {
        font-size: 1rem;
        color: rgba(var(--primary-color), 1);
        margin-top: 5px;
    }
/* Right block  */
.main__right--block {
    width: 70%;
}

.login__client--mode {
    width: 100%;
    height: 100vh;
}

    .login__client--mode img {
        width: 100% !important;
        display: block;
        height: 100% !important;
        object-fit: cover;
        object-position: top left;
    }

.login__erp--mode {
    display: block;
    background: rgba(var(--secondary-color), 1);
    height: 100%;
}

.erp--svg {
    display: flex;
    width: 100%;
    height: 70%;
    align-items: center;
    justify-content: center;
    background-image: url('/Images/Authentication/erp-bg.svg');
    background-repeat: no-repeat;
    background-size: cover
}

    .erp--svg svg {
        display: block;
        max-width: 60%;
    }

.erp-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 30%;
    align-content: center;
    padding: 5%;
    text-align: center;
}

    .erp-text h2 {
        font-size: 2.4rem;
        padding: 0 10%;
        color: rgba(var(--white-color), 1);
        font-weight: 700;
        line-height: 2.6rem;
        margin-bottom: 20px;
    }

    .erp-text p {
        color: rgba(var(--white-color), 1);
        font-size: 1rem;
        padding: 0 10%;
    }

@media only screen and (max-width: 1500px) {
    .login--form__block {
        margin: 120px auto auto;
        width: calc(100% - 50px);
    }
}

@media only screen and (max-width: 1080px) {
    .main__login-left, .main__right--block {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .logo--col {
        position: relative;
        top: 0;
        margin-top: 40px;
        margin-left: 40px;
        left: 0;
        margin-bottom: 30px;
    }

    .login--form__block {
        margin: auto;
    }

    .login--footer {
        position: relative;
        bottom: 0;
    }

    .title--block {
        margin-bottom: 20px;
    }

        .title--block p, .field--row label {
            font-size: 0.8rem;
        }

    .login__erp--mode, .erp--svg, .erp--svg svg, .erp-text {
        height: auto;
    }

    .erp--svg {
        padding: 50px 20px;
    }

        .erp--svg svg {
            max-width: 80%;
        }

    .erp-text h2 {
        font-size: 1.5rem;
        padding: 0 5%;
        line-height: 1.8rem;
        margin-bottom: 10px;
    }

    .erp-text {
        padding: 10% 5%;
    }

        .erp-text p {
            font-size: 0.9rem;
            padding: 0 0%;
        }

    .login__client--mode, .login__client--mode img {
        height: auto;
    }

    .main__right--block {
        display: none;
    }

    span#LoginMessage {
        text-align: center;
    }
}

@media only screen and (max-width: 767px) {
    .main__right--block {
        display: none;
    }

    .login--form__block {
        width: calc(100% - 40px);
    }
}
