/*Historico de pontos*/

.overlay-historico{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: saturate(180%) blur(8px);
    background-color: var(--bs-cor-bg-primaria-header-rgb);
    display: none; /* escondido por padrão */
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.centralizador-modal{
    width: 100%;
    height: 100%;
    position: relative;
    /* background-color: black; */
}

.modal-historico{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    width: calc(100% - 40px);
    max-width: 400px;
    /*background-color: #ffffff;*/
    /* border: 1px solid black; */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 11px 6px rgba(0, 0, 0, 0.08);
}

.header-historico{
    display: flex;
    width: 100%;
    height: 70px;
    background-color: white;
    position: relative;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px rgba(0, 0, 0, 0.08);
}

.header-historico i {
    color: #df5b04;
    font-size: 26px;
    position: relative;
    display: flex;
    left: 30px;
}

.title-modal-historico{
    width: 100%;
    text-align: center;
    color: #1f1f1f;
}

#modal_historico .modal-content.menu_v1{
    height: calc(100% - 50px) !important;
}


.container-extrato-pontos{
    display: flex;
    flex-direction: column;
    min-height: 50px;
    height: calc(100vh - 148px - 78px);
    width: 100%;
    background-color: white;
    padding: 20px 20px 35px 20px;
}
.container-visor-saldo{
    width: min-content;
    height: auto;
    margin-bottom: 20px;
}

.visor-saldo{
    display: flex;
    min-height: 50px;
    height: auto;
    width: max-content;
    min-width: 100px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 11px 6px rgba(0, 0, 0, 0.08);
    align-items: center;
    padding: 5px;
    justify-content: center;
}

.container-valor-saldo{
    display: flex;
    width: 100%;
    justify-content: center;
    padding-left: 10px;
    padding: 5px 0 0 0px;
}

.nao-visivel{
    width: 100%;
    height: 20px;
    background: linear-gradient(122deg, rgba(210, 210, 210, 1) 0%, rgb(235 235 235) 100%);
    border-radius: 10px;
}

.valor-saldo{
    display: none;
    font-size: 20px;
    font-family: Manrope, sans-serif;
    font-weight: 700;
    line-height: 20px;
}

.container-nome-pontos{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px;
    justify-content: flex-start;
}

.nome-pontos{
    font-size: 15px;
    font-family: Manrope, sans-serif;
    text-align: center;
    color: #1f1f1f;
}

.container-botao-vizualizar{
    padding: 5px;
    height: 100%;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extrato{
    height: 100%;
    width: 100%;
    background-color: white;
    /* border-radius: 10px; */
    /* box-shadow: 0px 0px 11px 6px rgba(0, 0, 0, 0.08); */
    overflow-y: auto;
}

.extrato:empty::before {
    content: "Nenhum movimento encontrado";
    display: block;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    padding: 10px;
    color: #cfcfcf;
    font-size: 18px;
}

.extrato::-webkit-scrollbar {
  width: 2px; /* largura da barra */
}

.extrato::-webkit-scrollbar-track {
  border-radius: 15px;
}

/* Cor do "polegar" (parte que você arrasta) */
.extrato::-webkit-scrollbar-thumb {
  background: #888; /* cor do scroll */
  border-radius: 5px;
}

/* Quando hover */
.extrato::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.container-icone-tipo-movimentacao{
    width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -1px;
}

.icone-pontos{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 30px;
    border-radius: 20px;
    position: relative;
}

.icone-pontos i {
    font-size: 25px;
    position: absolute;
    top: 2px;
}

.container-movimentacao{
    width: 100%;
    padding: 5px;
    background-color: #fff;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.container-atualizacao{
    width: 100%;
    padding: 5px 25px 0 25px;
    background-color: #fff;
    height: 50px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F4F4F4;
    gap: 10px;
}

.container-pontos{
    width: 60px;
    display: flex;
    flex-direction: column;
}

.pontos, .pontos-texto{
    width: 100%;
    line-height: 15px;
}

.pontos{
    font-size: 17px;
}

.pontos-texto{
    font-size: 14px;
}

.atualizacao{
    text-transform: uppercase;
    font-size: 13px;
    color: #999999;
    font-weight: 600;
    width: auto;
}

.credito{
    color: #2e7d32;
    text-align: center;
}

.debito{
    color: #c62828;
    text-align: center;
}

.vencimento {
    color: #ff6600;
    text-align: center;
}

.container-data-hora{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 5px;
}

.container-pedido{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 166px;
    flex-direction: column;
}

.saldo-personalisado{
    justify-content: center;
}

.container-pedido a {
    text-decoration: none;
}

.infos-pedido{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-direction: row-reverse;
}

.container-validade{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 25px;
    gap: 10px;
}

.informacoes-credito-validade{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.informacoes-credito {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}
.validade-data{
    text-align: center;
}

.bold{
    font-weight: bold;
}

.texto-cinza{
    color: #999999;
    font-size: 14px;
}

.texto-preto{
    color: #000000;
    font-size: 14px;
    line-height: 17px;
}


.vizualizando{
    display: none;
}

.nao-vizualizando{
    display: flex;
}

.container-data-e-pedido{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 105px;
}


@media (min-width: 640px){
    .modal-historico{
        top: 0;
        right: -600px;
        left: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 600px;
        border-radius: 0;
        transition: right 0.6s ease-in-out;

    }

    .modal-historico.aberto {
        right: 0; /* entra na tela */
    }
    
}



/*Historico de pontos*/