@use "helpers";

#con-breadcrumb {
    display: none;
}

#pagina-login{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: -15px;
    margin-right: -15px;

    .page-content{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 100vh;

        .col-form{
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
            max-width: 767px;
            margin: 0 auto;
            height: 100%;
            padding: 60px 15px;

            @media(max-width:1300px){
                max-width: 440px;
            }

            @media(max-width:991px){
                padding-top: 50px;
                padding-bottom: 50px;
            }

            @media(max-width:767px){
                padding: 30px 15px;
                justify-content: flex-start;
            }

            .form-content{
                display: flex;
                flex-direction: column;
                width: 100%;
                max-width: 350px;
                margin: 0 auto;
            }

            .btn-voltar{
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 13px;
                padding: 10px 0px;

                span{
                    display: block;
                    margin: 0px;
                    color: helpers.$textoDark;
                    font: normal 14px helpers.$fontRegular;
                    line-height: 16px;
                    letter-spacing: 0.01rem;
                }
            }

            .logo{
                display: flex;
                outline: 0px;
                width: 100%;
                max-width: 164px;
                margin: 0 auto;
                margin-top: 75px;
                margin-bottom: 50px;

                @media(max-width:991px){
                    margin-top: 50px;
                }

                img{
                    display: block;
                    width: 100%;
                }
            }
        }

        .col-banner{
            position: relative;
            display: flex;
            width: calc(100% - 767px);
            height: 100%;

            @media(max-width:1300px){
                width: calc(100% - 440px);
            }

            @media(max-width:991px){
                display: none;
            }

            img{
                position: absolute;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

    .msg-cadastro{
        max-width: 680px;
        margin: 0 auto;
        
        @media(max-width:720px){
            max-width: 100%;
            margin: 0 30px;
        }
    }
    
    .conteudo{
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        flex-grow: 1;

        @media(max-width:767px){
            justify-content: flex-start;
        }

        .box-conteudo{
            display: block;
            width: 100%;

            .cadastro-concluido{
                display: block;
                width: 100%;
                max-width: 500px;
                padding: 50px;
                margin: 0 auto;

                @media(max-width:767px){
                    padding: 30px 15px;
                }

                .icone-concluido{
                    display: block;
                    width: 100px;
                    height: 100px;
                    margin: 0 auto;
                    margin-bottom: 15px;
                    background-image: url(../img/concluido.png);
                    background-size: contain;
                    background-position: center;
                    background-repeat: no-repeat;
                }

                h2{
                    display: block;
                    margin: 0px;
                    margin-bottom: 0px;
                    color: helpers.$textoDark;
                    font: normal 18px helpers.$fontBold;
                    letter-spacing: 1px;
                    text-align: center;
                    text-transform: uppercase;
                }

                .msgOk{
                    margin-top: 30px !important;
                    color: helpers.$textoMedium !important;
                    font: normal 14px helpers.$fontMedium;

                    strong{
                        font-family: helpers.$fontBold;
                        font-weight: normal;
                    }
                }

                .msg-contador{
                    display: block;
                    margin-bottom: 20px;
                    color: helpers.$textoMedium;
                    font: normal 14px helpers.$fontMedium;
                    text-align: center;

                    .contador{
                        font-family: helpers.$fontBold;
                    }
                }

                .btn-compras{
                    display: block;
                    width: 100%;
                    max-width: 370px;
                    padding: 15px 10px;
                    margin: 0 auto;
                    color: helpers.$textoLight;
                    font: normal 13px helpers.$fontRegular;
                    text-align: center;
                    text-transform: uppercase;
                    border-radius: 0px;
                    background-color: helpers.$highlight;
                    @include helpers.transicao(0.3s ease-in-out);

                    &:hover,&:focus{
                        color: helpers.$textoLight;
                        background-color: helpers.$success;
                    }
                }
            }

            #content-form-login {
                display: block;
                width: 100%;
                
                .alert {
                    margin-top: 15px;
                }

                .box-form-login{
                    display: block;
                    width: 100%;
                    max-width: 350px;

                    #frmLogin {
                        display: block;
                        width: 100%;

                        .frm-titulo{
                            display: block;
                            margin: 0px;
                            margin-bottom: 16px;
                            color: helpers.$textoDark;
                            font: normal 18px helpers.$fontRegular;
                            line-height: 21px;
                            letter-spacing: 0.01em;
                        }

                        input[type="text"], input[type="password"] {
                            display: block;
                            outline: 0px;
                            width: 100%;
                            padding: 15px;
                            margin-bottom: 10px;
                            color: helpers.$textoDark;
                            font: normal 15px helpers.$fontRegular;
                            line-height: 18px;
                            letter-spacing: 0.02em;
                            border-radius: 0px;
                            border: 1px solid #CECECE;
                            background-color: helpers.$light;

                            &:hover,&:focus{
                                outline: 0px;
                            }
                        }

                        .form-options{
                            display: flex;
                            align-items: center;
                            justify-content: space-between;
                            width: 100%;

                            #frmLogin_btLogin {
                                display: block;
                                outline: 0px;
                                width: 100%;
                                max-width: 105px;
                                padding: 15px 10px;
                                padding-bottom: 13px;
                                color: helpers.$textoLight;
                                font: normal 14px helpers.$fontMedium;
                                line-height: 17px;
                                letter-spacing: 0.01em;
                                border: none;
                                border-radius: 0px;
                                background-color: helpers.$highlight;
                                @include helpers.transicao(0.4s ease-in-out);
    
                                &:hover,&:focus {
                                    background-color: helpers.$success !important;
                                }
                            }
    
                            #lembrar-senha {
                                display: block;
                                outline: 0px;
                                color: #9A9A9A;
                                font: normal 15px helpers.$fontRegular;
                                line-height: 18px;
                                letter-spacing: 0.02em;
                            }
                        }
                    }

                    .redes-titulo{
                        display: block;
                        margin: 0px;
                        margin-top: 20px;
                        margin-bottom: 20px;
                        color: helpers.$textoDark;
                        font: normal 15px helpers.$fontRegular;
                        text-align: center;
                    }

                    .redes-login{
                        position: relative;
                        display: flex;
                        width: 100%;
                        margin-top: 30px;
                        margin-bottom: 40px;
                        align-items: center;
                        justify-content: center;

                        @media(max-width: 575px){
                            flex-direction: column;
                        }

                        .item{
                            position: relative;
                            display: block;
                            width: 190px;
                            margin-right: 20px;
                            overflow: hidden;

                            @media(max-width: 575px){
                                width: 200%;
                                max-width: 250px;
                                margin-right: 0px;

                                &:first-of-type{
                                    margin-bottom: 20px;
                                }
                            }

                            &:last-of-type{
                                margin-right: 0px;
                            }

                            .fb-login-button, .g-signin2{
                                position: absolute;
                                z-index: 1;
                                width: 100%;
                                height: 100%;
                                top: 0px;
                                left: 0px;
                                opacity: 0;

                                .abcRioButton{
                                    width: 100% !important;
                                    height: 100% !important;
                                }
                            }

                            .btn-facebook{
                                position: relative;
                                z-index: 2;
                                display: block;
                                pointer-events: none;
                                outline: 0px;
                                width: 100%;
                                padding: 10px;
                                color: #FFFFFF;
                                font: normal 15px helpers.$fontBold;
                                text-align: center;
                                background-color: #3B579D;
                                border-radius: 0px;

                                &:before{
                                    @include helpers.sprite();
                                    content: "";
                                    width: 11px;
                                    height: 19px;
                                    margin-right: 10px;
                                    vertical-align: middle;
                                    background-position: -7px -114px;
                                }
                            }

                            .btn-google{
                                position: relative;
                                z-index: 2;
                                display: block;
                                pointer-events: none;
                                outline: 0px;
                                width: 100%;
                                padding: 10px;
                                color: #FFFFFF;
                                font: normal 15px helpers.$fontBold;
                                text-align: center;
                                background-color: #F34A38;
                                border-radius: 0px;

                                &:before{
                                    @include helpers.sprite();
                                    content: "";
                                    width: 19px;
                                    height: 19px;
                                    margin-right: 10px;
                                    vertical-align: middle;
                                    background-position: -33px -114px;
                                }
                            }
                        }
                    }
                }
            }

            .box-cadastro{
                display: block;
                width: 100%;
                margin-top: 35px;

                .box-content{
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    gap: 10px;

                    .titulo{
                        display: block;
                        margin: 0px;
                        color: #9A9A9A;
                        font: normal 15px helpers.$fontRegular;
                        line-height: 18px;
                        letter-spacing: 0.02em;
                        text-align: center;
                    }

                    .btn-cadastro{
                        display: block;
                        outline: 0px;
                        width: 100%;
                        max-width: 350px;
                        padding: 14px 10px;
                        padding-bottom: 12px;
                        color: helpers.$textoLight;
                        font: normal 14px helpers.$fontMedium;
                        line-height: 17px;
                        letter-spacing: 0.01rem;
                        text-align: center;
                        border: solid 1px helpers.$highlight;
                        background-color: helpers.$highlight;
                        @include helpers.transicao(0.4s ease-in-out);

                        &:hover,&:focus{
                            color: helpers.$textoLight !important;
                            border-color: helpers.$success !important;
                            background-color: helpers.$success !important;
                        }
                    }

                    .divider{
                        display: block;
                        width: 38px;
                        height: 1px;
                        margin: 0 auto;
                        margin-top: 45px;
                        margin-bottom: 10px;
                        background-color: #000000;
                    }

                    .btn-register{
                        display: flex;
                        justify-content: center;
                        outline: 0px;
                        width: 100%;
                        max-width: 350px;
                        margin: 0 auto;
                        padding: 14px 10px;
                        padding-bottom: 12px;
                        color: helpers.$highlight;
                        font: normal 14px helpers.$fontMedium;
                        line-height: 16px;
                        letter-spacing: 0.01rem;
                        text-align: center;
                        border: 1px solid helpers.$highlight;
                        background-color: helpers.$light;
                        @include helpers.transicao(0.4s ease-in-out);

                        &:hover,&:focus{
                            color: helpers.$textoLight !important;
                            border-color: helpers.$success !important;
                            background-color: helpers.$success !important;
                        }
                    }
                }
            }
        }
    }
}

.msgOk {
    color: helpers.$textoDark !important;
    font-size: 14px;
    text-align: center;
    text-shadow: none;
    margin: 50px 0px;
    margin-bottom: 0px;
}

.msgLogin {
    color: helpers.$textoDark;
    font-family: helpers.$fontRegular;
    font-size: 15px;
    margin: 50px 0px;
    text-align: center;
}