@use "helpers";

body{
    background-color:helpers.$light;
}

#he-login {
    background-color: helpers.$medium;
    border-bottom: solid 1px helpers.$borders;
    display: block;
    height: 60px;
    padding-top: 4px;
    text-align: center;

    img{
        display: block;
        height: auto;
        margin: 0 auto;
        max-width: 150px;
        width:100%;
    }
}

#con-titulo {
    h1 {
        color: helpers.$textoDark !important;
        font-family: helpers.$fontBold !important;
        font-size: 18px !important;
        font-weight: normal !important;
    }

    p {
        color: helpers.$textoMedium !important;
        font-family: helpers.$fontRegular !important;
        font-size: 12px !important;

        @media(max-width:767px){
            font-size: 16px !important;
        }

        .link-cadastro{
            display: block;
            margin-bottom: 30px;
            margin-top: 15px;
            text-transform: uppercase;
        }
    }

    .msgCaptcha{
        display: block;
        font: normal 12px helpers.$fontRegular;
        margin-bottom: 15px;
    }
}

#cad-content {
    padding-bottom: 50px;
    padding-top: 50px;

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

    .btn-lojista{
        background-color: helpers.$light;
        border-radius: 50px;
        border: solid 1px helpers.$borders;
        color: helpers.$textoDark;
        display: block;
        font: normal 14px helpers.$fontRegular;
        margin: 20px 0px;
        max-width: 330px;
        outline: 0px;
        padding: 15px;
        text-align: center;
        @include helpers.transicao(0.4s ease-in-out);
        width: 100%;

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

    #cad-tipo{
        margin-bottom: 10px;

        label{
            color: helpers.$textoDark;
            font-family: helpers.$fontRegular;
            font-size: 12px;
            font-weight: normal;
            margin-right: 15px;
            text-transform: uppercase;
        }
    }

    .content-campos {
        font-family: helpers.$fontMedium;

        &:first-of-type {
            margin-bottom: 60px;
        }
        .box {
            background-color: helpers.$light;
            border-radius: 10px;
            border: solid 1px helpers.$borders;
            color: helpers.$textoDark;
            padding: 20px;

            header {
                height: 80px;

                h2 {
                    color: helpers.$textoDark;
                    font-family: helpers.$fontRegular;
                    font-size: 17px;
                    font-weight: normal;
                    text-transform: uppercase;
                }

                #titulo-login {
                    text-align: center;
                }

                span {
                    color: helpers.$textoDark;
                    font-size: 12px;
                    font-family: helpers.$fontRegular;
                }
            }

            label {
                color: helpers.$textoDark;
                font-family: helpers.$fontRegular;
                font-size: 14px;
                font-weight: normal;
                margin-bottom: 20px;
                position: relative;
                text-indent: 0px;

                .msgError{
                    background-color: helpers.$light;
                    border: solid 1px helpers.$borders;
                    box-shadow: 0px 0px 32px -5px rgba(0,0,0,0.1);
                    cursor: pointer;
                    display: block;
                    left: 15px;
                    max-width: calc(100% - 30px);
                    padding: 10px;
                    position: absolute;
                    text-transform: initial;
                    top: 100%;
                    width: 100%;
                    z-index: 100;

                    &:before{
                        background-color: helpers.$light;
                        border-left: solid 1px helpers.$borders;
                        border-top: solid 1px helpers.$borders;
                        content: "";
                        display: block;
                        height: 20px;
                        margin-top: -20px;
                        transform: rotate(45deg);
                        width: 20px;
                    }

                    &:after{
                        content: "X";
                        display: block;
                        height: 16px;
                        width: 16px;
                        position: absolute;
                        top: 0px;
                        right: 0px;
                        background: #ccc;
                        text-align: center;
                        color: helpers.$textoLight;
                        font-size: 15px;
                        line-height: 16px;
                    }
                }
            }

            .form-control{
                background-color: helpers.$light;
                border-radius: 5px;
                border: solid 1px helpers.$borders;
                box-shadow: none;
                color: helpers.$textoDark;
                font-family: helpers.$fontRegular;
                font-size: 14px;
            }
        }
        
        .g-recaptcha{
            margin-bottom: 15px;
        }

        #btCadastro {
            background-color: helpers.$dark;
            border-radius: 50px;
            border: none;
            color: helpers.$textoLight;
            display: block;
            font: normal 14px helpers.$fontRegular;
            margin: 0 auto;
            max-width: 410px;
            padding: 15px 10px;
            text-align: center;
            @include helpers.transicao(0.4s ease-in-out);
            width: 100%;

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