@use "sass:map";
@use "helpers";

.botao-default{
    display: block;
    outline: 0px;
    width: 100%;
    max-width: 140px;
    padding: 15px;
    margin: 0 auto;
    color: #FFF;
    font: normal 13px helpers.$fontRegular;
    text-align: center;
    background-color: helpers.$highlight;
    @include helpers.transicao(0.4s ease-in-out);

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

.pedido-fim{    
    .titulo{
        display: block;
        margin: 0px;
        margin-bottom: 30px;
        margin-top: 30px;
        color: helpers.$textoDark;
        font-size: 20px;
        font-family: helpers.$fontRegular;
        letter-spacing: 1px;
        text-align: center;

        @media(min-width:767px){
            margin-top: 0px;
        }

        &:before{
            @include helpers.sprite();
            display: block;
            content: "";
            margin: 0 auto;
            margin-bottom: 5px;
            width: 27px;
            height: 22px;
            background-position: -288px -409px;
        }

        &.error {
            &:before{
                width: 34px;
                height: 34px;
                background-position: -330px -402px;
            }
        }
    }

    .conteudo{
        display: block;
        width: 96%;
        height: auto;
        padding: 5px;
        margin: 0 auto 30px auto;
        background-color: helpers.$light;
        border: solid 1px helpers.$borders;

        @media(min-width:767px){
            padding: 10px;
        }
    }
}

.checkout-titulo{
    &:before{
        width: 27px;
        height: 22px;
        background-position: -288px -409px;
    }
}

.zfrm{
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    color: helpers.$textoDark;
    font-size: 14px;
    font-family: helpers.$fontRegular;
    text-align:center;
}

.fimPedido {
    margin: 40px 0 0px;
    min-height: 400px;
    color: helpers.$textoDark;
    font-size: 14px;
    font-family: helpers.$fontRegular;
    white-space: inherit;
    text-align: center;
}

#btn-imprimir-boleto {
    margin: 30px auto;
}

.botao-highlight {
    display: inline-block;
    padding: 7px 15px;
    margin-top: 16px;
    background-color: helpers.$dark;
    border: none;
    border-radius: 5px;
    color: helpers.$textoLight;
    outline: 0px;
}

.botao-success {
    display: inline-block;
    padding: 7px 15px;
    background-color: helpers.$success;
    border: none;
    border-radius: 5px;
    color: helpers.$textoLight;
    outline: 0px;
}

.checkout-galaxpay-pix-row {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    .checkout-galaxpay-qr-imagem {
        border: 1px solid #AAAAAA;
        padding: 1px;
        width: 35%;
        img {
            width: auto;
            height: auto;
            max-width: 100%;
        }
        @media(max-width:767px){
            width: 70%;
        }
    }
    .checkout-galaxpay-codigo-qr {
        width: 35%;
        p {
            margin-top: 10px;;
            color: map.get(helpers.$palletCheckout, textMedium);
            padding: 1px;
            word-break: break-all;
        }
        @media(max-width:767px){
            width: 70%;
        }
    }
}

.btnConfirmar, .btnCopiarCodigo{
    display: block;
    width: 100%;
    max-width: 270px;
    height: auto;
    margin: 0 auto;
    padding: 10px;
    color: #FDFDFD;
    font-size: 13px;
    font-family: helpers.$fontRegular;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    background-color: helpers.$success;
    border: solid 1px helpers.$success;
    margin-top: 10px;
    @include helpers.transicao(0.3s ease-in-out);

    @media(min-width:992px){
        width: 270px;
    }

    &:hover, &:focus{
        color: helpers.$highlight;
        background-color: #FFFFFF;
    }
}