@import "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{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            width: 100%;
            max-width: 740px;
            height: 100%;
            padding: 30px;

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

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

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

                span{
                    display: block;
                    margin: 0px;
                    color: $textoDark;
                    font: normal 12px $fontRegular;
                    line-height: 18px;
                }
            }
        }

        .col-banner{
            position: relative;
            display: flex;
            width: calc(100% - 740px);
            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: $textoDark;
                    font: normal 18px $fontBold;
                    letter-spacing: 1px;
                    text-align: center;
                    text-transform: uppercase;
                }

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

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

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

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

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

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

            #content-form-login {
                display: block;
                width: 100%;
                padding: 30px;

                @media(max-width:575px){
                    padding-left: 15px;
                    padding-right: 15px;
                }
                
                .alert {
                    margin-top: 15px;
                }

                .box-form-login{
                    display: block;
                    width: 100%;
                    max-width: 380px;
                    margin: 0 auto;

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

                        .logo{
                            outline: 0px;
                            display: flex;
                            width: 100%;
                            max-width: 211px;
                            margin: 0 auto;
                            margin-bottom: 30px;

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

                        .frm-titulo{
                            display: block;
                            margin: 0px;
                            margin-bottom: 30px;
                            color: $textoDark; 
                            font: normal 25px $fontBold;
                            line-height: 30px;
                            text-align: center;
                        }

                        input[type="text"], input[type="password"] {
                            display: block;
                            outline: 0px;
                            width: 100%;
                            padding: 15px;
                            margin-bottom: 15px;
                            color: $textoDark;
                            font: normal 15px $fontRegular;
                            line-height: 20px;
                            border-radius: 0px;
                            border: 1px solid #E5E5E5;
                            background-color: $light;

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

                        #frmLogin_btLogin {
                            display: block;
                            outline: 0px;
                            width: 100%;
                            padding: 14px 10px;
                            margin-bottom: 15px;
                            color: $textoLight;
                            font: normal 15px $fontSemibold;
                            line-height: 20px;
                            border: none;
                            border-radius: 0px;
                            background-color: $highlight;
                            @include transicao(0.4s ease-in-out);

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

                        #lembrar-senha {
                            display: block;
                            outline: 0px;
                            color: $textoDark;
                            font: normal 12px $fontRegular;
                            line-height: 18px;
                        }
                    }

                    .redes-titulo{
                        display: block;
                        margin: 0px;
                        margin-top: 20px;
                        margin-bottom: 20px;
                        color: $textoDark;
                        font: normal 15px $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 $fontBold;
                                text-align: center;
                                background-color: #3B579D;
                                border-radius: 0px;

                                &:before{
                                    @include 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 $fontBold;
                                text-align: center;
                                background-color: #F34A38;
                                border-radius: 0px;

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

            .box-cadastro{
                display: block;
                width: 100%;
                padding: 50px 15px;

                .box-content{
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    max-width: 380px;
                    gap: 15px;
                    margin: 0 auto;

                    .titulo{
                        display: block;
                        margin: 0px;
                        color: $textoDark;
                        font: normal 20px $fontBold;
                        line-height: 23px;
                        text-align: center;
                    }

                    .btn-cadastro{
                        display: block;
                        outline: 0px;
                        width: 100%;
                        padding: 14px 10px;
                        color: $textoLight;
                        font: normal 15px $fontSemibold;
                        line-height: 20px;
                        text-align: center;
                        border: solid 1px $highlight;
                        background-color: $highlight;
                        @include transicao(0.4s ease-in-out);

                        &:first-of-type{
                            color: $textoDark;
                            background-color: $light;
                        }

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

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

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