body {
    background-image: url(../../accets/images/map_bg.webp);
    background-size: cover;

    width: 100%;
    height: 100vh;
    position: fixed;
}

.mainSignIn {
    height: calc(100% - 73px);
    overflow: auto;
}

.cardsWrapper {
    display: flex;
    align-items: flex-start;
    margin: 145px auto 217px;
    width: max-content;
    gap: 64px;

    @media screen and (max-width: 1155px){
        flex-direction: column;
        .loginFormCard {
            margin: 0 auto;
        }
    }
    @media screen and (max-width: 630px){
        height: 100%;
        justify-content: center;
        .loginInformationCard {
            display: none;
        }
        margin: 15px auto 0px;

    }
    @media screen and (max-width: 500px){
        .loginFormCard {
            padding: 28px 16px 90px;
        }
    }
    @media screen and (max-width: 390px){
        margin: 0 auto !important;
    }

    @media screen and (max-height: 930px) and (max-width: 505px) {
        margin: 30px auto 0 !important;
    }
    @media screen and (max-height: 850px) and (max-width: 505px) {
        margin: 30px auto 0 !important;
    }
    @media screen and (max-height: 715px) and (max-width: 505px) {
        margin: 70px auto 0 !important;
    }
    @media screen and (max-height: 650px) and (max-width: 505px) {
        margin: 100px auto 0 !important;
    }
    @media screen and (max-height: 580px) and (max-width: 505px) {
        margin: 120px auto 0 !important;
    }
    @media screen and (max-height: 535px) and (max-width: 505px) {
        margin: 140px auto 0 !important;
    }
}

.loginInformationCard {
    /*outline: 1px solid red;*/
    display: flex;

    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 620px;
    width: 100%;
    min-height: 682px;
    padding: 64px;
    gap: 64px;
    flex-shrink: 0;

    border-radius: 12px;
    outline: 0.5px solid #E7ECF3;
    background: #FFF;

    h1 {
        font-size: 2.5rem; /*40px*/
        font-weight: 600;
        line-height: 52px;
    }
    .infoCardText {
        max-width: 454px;
        width: 100%;
        min-height: 119px;

        p + p {
            margin-top: 20px;
        }
        p {
            font-size: 1rem; /*16p*/
            line-height: 17px;
            letter-spacing: -0.48px;
        }
    }
    div {
        a + a {
            margin-left: 25px;
        }
    }
}

.loginFormCard {
    /*outline: 1px solid red;*/
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 456px;
    min-width: 360px;
    width: 100%;

    padding: 44px 64px 64px;

    border-radius: 12px;
    outline: 0.5px solid #E7ECF3;
    background-color: #FFF;

    @media screen and (max-width: 630px){
        outline: none;

    }

    label {
        margin-top: 16px;
    }
    label:first-child {
        margin-top: 0;
    }
}

.loginFormTitleWrapper {
    background-image: url(../../accets/icons/Uzor.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top;
    /*outline: 1px solid red;*/

    width: 328px;
    min-height: 182px;
    padding-bottom: 64px;

    position: relative;
    img {
        position: absolute;
        left: 50%;
        top: 26px;
        transform: translateX(-50%);
    }
    h2 {
        margin-top: 115px;
        padding: 0 5px;
        text-align: center;

        font-size: 1.5rem; /*24px*/
        font-weight: 700;
    }
    h3 {
        margin-top: 24px;
        text-align: center;

        font-size: 1.25rem; /*20px*/
        font-weight: 700;
        font-variant: small-caps;
    }
    p {
        margin-top: 24px;
        text-align: center;
        font-size: 0.875rem; /* 14px */
        padding: 0 12px;
    }
}

#loginForm{
    display: flex;
    flex-direction: column;
    width: 100%;

    button {
        margin: 24px 0 64px;
    }

}

.loginDesc {
    margin: 0 0 4px 1px;
    font-size: 0.875rem; /* 14px */


}

.pinlogin {
    display: flex;
    gap: 11.5px;
    width: 100%;
}

#pinwrapper input {
    height: 55px;
    width: 45px;
    padding: 8px;
    border-radius: 8px;
    background-color: #F0F3F5;
    text-align: center;
}

#pinwrapper input:focus {
    outline: 0.5px solid #797979;
    background-color: #FFF;
}

#pinwrapper input:active {
    outline: 0.5px solid #797979;
    background-color: #FFF;
}

#pinwrapper input.error {
    border-color: #dc3545;
    background: #ffe6e6;
}

.codeBox {
    height: 55px;
    width: 45px;
    padding: 8px;
    text-align: center;

    border-radius: 8px;
    background-color: #F0F3F5;
}

.resPassAndRegisWrapper {
    display: flex;
    align-items: center;
    padding: 2px 0;
    width: 290px;
    margin: 7px auto;

    a {
        display: block;
        width: 125px;
        justify-self: right;
        text-align: right;

    }
    a:last-child {
        justify-self: left;
        text-align: left;
    }

    span {
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 31px;
        margin: 0 20px;
        background-color: #E7ECF3;
    }
}

.restorePassPage {
    display: flex;
    flex-direction: column;
    width: 100%;
}




#getcode {
    margin: 20px;
    display: block;
    text-align: center;
}

#pass {
    margin-bottom: 20px;
}

.goBackBtn {
    margin: 20px auto 0;
    text-decoration: none;
    text-align: center;
    display: block;
    letter-spacing: 1px;
}

#error_text {
    color: red;
    text-align: center;
    margin: 0 14px 8px;
}

.regForm {
    display: flex;
    flex-direction: column;
    width: 100%;

    label {
        margin-top: 16px;
    }
    label:first-child {
        margin-top: 0;
    }

    button {
        margin-top: 24px;
    }
}

.resendWrapper {
    text-align: center;
    margin-top: 12px;

    span {
        color: #829CC0;
        margin-top: 12px;
        font-size: 0.875rem; /* 14px */
        padding: 0 15px;
    }
}

.forgotForm {
    display: flex;
    flex-direction: column;
    width: 100%;

    button {
        margin-top: 24px;
    }

    a {
        margin-top: 64px;
        text-align: center;
    }
}

.loginTitle {
    text-align: center;
    letter-spacing: 2px;
}
