.login {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.login__form-section {
    width: 80rem;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

.login__form-section__form-wrapper {
    width: 90%;
    justify-self: center;
    min-height: 51rem;
    max-width: 40rem;
    align-self: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login__form-section__form-wrapper .form {
    width: 100%;
}

.login__form-section__footer {
    width: 100%;
    height: 10rem;
    align-self: flex-end;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8bfcf;
    font-weight: 500;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form form {
    margin: 8rem 0 5rem;
}

.logo {
    width: 8rem;
    margin: 4rem auto 0;
}

.logo-iot {
    width: 100%;
}

.logo-iot > img {
    margin-top: 140px;
    margin-bottom: 45px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.language-picker {
    display: flex;
    width: 100%;
    height: 3rem;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--grey-color);
}

.language-picker .lang {
    cursor: pointer;
}

.language-picker .lang:hover,
.language-picker .lang.active {
    color: var(--company-color-hover);
}

.forgotten-password {
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    color: var(--company-color);
    cursor: pointer;
    margin-bottom: 2rem;
    position: relative;
    top: -1.2rem;
    font-size: 1.1rem;
    right: 0.5rem;
}

/* info-section */
.login__info-section {
    flex: 1;
    background-color: var(--company-color);
    background-image: linear-gradient(90deg, #3d40b2, var(--company-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login__info-section__decoration-wrapper {
    position: absolute;
    width: 46rem;
    min-height: 35rem;
    display: flex;
    align-items: center;
}

.login__info-section .decor {
    width: 13rem;
    height: 44rem;
    border-radius: 6rem;
    background-color: transparent;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
    transform: rotate(15deg);
    margin-right: 1rem;
}

.login__info-section__slider-wrapper {
    width: 64rem;
    height: 47rem;
}

.slide {
    width: 100%;
    height: 100%;
}

.slide__title {
    font-size: 6rem;
    color: white;
    font-weight: 700;
    margin-bottom: 1.8rem;
}

.slide__title span {
    color: var(--company-hover-light);
}

.slide__description {
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    line-height: 2.4rem;
}

.login__info-section__rectangle-decor {
    width: 50rem;
    height: 40rem;
    position: absolute;
    top: -25rem;
    right: 0;
    transform: rotate(30deg);
    background-color: transparent;
    background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
}

.login__info-section__grid-decor-one {
    position: absolute;
    bottom: 0;
    right: 12rem;
    display: grid;
    grid-template-columns: 3.5rem 3.5rem 3.5rem 3.5rem;
    grid-template-rows: 3.5rem 3.5rem 3.5rem;
}

.login__info-section__grid-decor-one .fill {
    background-color: white;
}

.login__info-section__grid-decor-two {
    position: absolute;
    top: 0;
    left: 12rem;
    display: grid;
    grid-template-columns: 3.5rem 3.5rem 3.5rem 3.5rem;
    grid-template-rows: 3.5rem 3.5rem 3.5rem;
}

.login__info-section__grid-decor-two .fill {
    background-color: var(--dark-color);
}

.login__info-section__grid-decor-three {
    position: absolute;
    top: 12rem;
    left: 0;
    display: grid;
    grid-template-columns: 3rem 3rem 3rem 3rem;
    grid-template-rows: 3rem 3rem 3rem 3rem;
}

.login__info-section__grid-decor-three .fill {
    background-color: var(--company-color);
}

.error {
    position: absolute;
    top: 5rem;
    width: 90%;
    padding: 2rem;
    background-color: var(--danger-color);
    color: white;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.error__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
}
