* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: "Google Sans Flex", sans-serif;
    transition: all 0.8s ease;
}

/*MODIFICAÇÃO EM TODOS OS INPUTS DO TIPO NUMBER*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/*DIV FLEX*/
.flex{
    display: flex;
    justify-content: center;
    align-items: center;
}

/*DIVs FLEX DOS MODAIS DE MODIFICAÇÃO DE DADOS*/
.modal, .formProduto, .menuModal{
    display: flex;
    justify-content: center;
    align-items: center;
}

/*DIVs FLEX ESTRUTURAS ESTÁTICAS + DIVs CORINGA*/
.venda, .fechamento, .historico, .produtos, .config{
    display: flex;
    justify-content: center;
    align-items: center;
}

/*AVISO AO USUÁRIO*/
.aviso {
    position: absolute;
    top: 50px;
    opacity: 0;
    z-index: -99;
    padding: 10px;
    border: 2px solid #f5f5f5;
    border-radius: 8px;
    transform: translateY(10px);
    color: #f5f5f5;
    text-align: center;
}

/*LOGIN*/
.containerLogin {
    height: 100vh;
    width: 100%;
    background-image: url(../imagens/background.png);
    background-position: center;
    background-size: cover;
}
.formLogin {
    background-color: #f5f5f5;
    backdrop-filter: blur(3px);
    border: 1px solid #bdbdbd;
    padding: 20px;
    gap: 20px;
    flex-direction: column;
    border-radius: 8px;
}
.logoLogin {
    height: 100px;
    border-radius: 50%;
}
.inputs{
    border-radius: 8px;
    outline: none;
    border: 1px solid #bdbdbd;
    padding: 8px;
    width: 300px;
    background-color: #f5f5f5;
    color: #0f0f0f;
}

/*DIVISÕES CORINGA*/
.btnBlue, .btnRed{
    width: 100%;
    color: #f5f5f5;
    background-color: #192b9b;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 8px;
    cursor: pointer;
    font-weight: 400;

    &:hover {
        color: #192b9b;
        border: 1px solid #192b9b;
        background-color: #f5f5f5;
    }
}
.btnRed{
    background-color: #ff1e24;
    
    &:hover{
        color: #ff1e24;
        border: 1px solid #ff1e24;
        background-color: #f5f5f5;
    }
}
.textoSimples{
    color: #192b9b;
    font-weight: 400;

    &:hover{
        color: #0490BF;
    }
}
.miniBotao{
    border-radius: 10px;
    padding: 8px;
    color: #192a9b;
    cursor: pointer;
    border: 1px solid #192b9b;

    & svg{
        height: 20px;
        color: #192a9b;
    }
    &:hover{
        color: #2d44d3;
        border: 1px solid #2d44d3;
    }
}

/*MODAIS*/
.modal {
    height: 100vh;
    width: 100%;
    background-color: #0f0f0f54;
    backdrop-filter: blur(5px);
    position: absolute;
    z-index: +99;
    display: none;

    & span {
        color: #192b9b;
        font-weight: 600;
        text-align: center;
    }
}
.formProduto{
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0px 0px 10px #0f0f0f;

    & h1 {
        font-family: "Outfit", sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: #192b9b;
    }
}
.menuModal {
    padding: 0px 0px 3px 0px;
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #bdbdbd;

    & svg{
        color: #ff1e24;
        cursor: pointer;
    }
}
.multiplos-pagamentos, .containerInputs, .containerInputsValores{
    width: 100%;
    justify-content: space-between;
    gap: 15px;
}
.containerInputsValores{
    flex-wrap: wrap;
}
.listaPagamentos{
    flex-direction: column;
    gap: 10px;
    padding: 5px;
    border: 1px solid #bdbdbd;  
    border-radius: 8px;
}
.userTroco{
    & legend{
        font-weight: 500;
        font-size: 12px;
        padding: 0px 3px;
        color: #0f0f0f;
    }
    & fieldset{
        border-radius: 8px;
        width: 100px;
        border: 1px solid #bdbdbd;
        color: #192b9b;
        padding: 5px 10px;
        text-align: center;
        font-size: 13px;
    }
}
.valor, .lucro, .valorMP{
    border-radius: 8px;
    outline: none;
    border: 1px solid #bdbdbd;
    padding: 8px;
    background-color: #f5f5f5;
    color: #0f0f0f;
    width: 135px;
    text-align: center;
}
.lucro{
    font-size: 13px;
    gap: 5px;
}
.txt{
    text-align: center;
}

/*DASHBOARD*/
.container {
    height: 100vh;
    width: 100%;
    background-color: #f5f5f5;
    justify-content: start;
}
.lateral {
    height: 100vh;
    width: 300px;
    background-color: #192b9b;
    border-radius: 0px 10px 10px 0px;
}
.logoEmpresarial {
    width: 150px;
    margin: 5px 0px 0px 22px;
}
.paginacao {
    flex-direction: column;
    gap: 8px;
    padding: 8px;

    & .botao {
        font-size: 15px;
        justify-content: start;
        gap: 3px;
        width: 99%;
        color: #f5f5f5;
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        background-color: transparent;
        border: none;

        &:hover {
            background-image: linear-gradient(to right, #192b9b, #00ffef);
        }
        & img {
            height: 35px;
        }
    }
}
.containerExterno {
    height: 100vh;
    width: 100%;
}

/*ESTRUTURAS ESTÁTICAS*/
.venda, .fechamento, .historico, .produtos, .config {
    flex-direction: column;
    height: 100vh;
    width: 100%;
    position: relative;
}
.fechamento, .historico, .produtos,.config {
    display: none;
}
.miniMenu {
    width: 100%;
    position: absolute;
    top: 0px;
    padding: 20px;
    justify-content: space-between;
    border-bottom: 1px solid #bdbdbd;

    & h2 {
        font-size: 17px;
        color: #f5f5f5;
        background-color: #192b9b;
        font-weight: 400;
        padding: 8px;
        border-radius: 8px;
        text-align: center;
        font-family: "Outfit", sans-serif;
    }
}
.conteudoSecao{
    justify-content: start;
    max-height: 750px;
    overflow-y: auto;
    padding: 30px 20px;
    gap: 10px;
    border-radius: 10px;
    flex-direction: column;
    border: 1px solid #bdbdbd;

    & h3 {
        font-size: 25px;
        color: #192b9b;
        font-family: "Outfit", sans-serif;
        font-weight: 500;
    }
}


/*VENDA*/
#ccv {
    background-color: white;
    gap: 15px;
}
.navegacao {
    border-radius: 8px;
    padding: 5px;
    border-bottom: 1px solid #bdbdbd;
    box-shadow: 0px 0px 3px #bdbdbd;
}
.painelVenda {
    flex-direction: column;
    gap: 15px;
}
.pesquisaVenda {
    border-radius: 8px;
    outline: none;
    border: 1px solid #192a9b;
    padding: 8px 8px 8px 30px;
    height: 40px;
    width: 550px;
    background-color: white;
    color: #0f0f0f;
    background-image: url(../imagens/lupa.svg);
    background-position: 5px;
    background-repeat: no-repeat;
}
.externoPesquisa {
    height: 70px;
    width: 100%;
    position: relative;
    z-index: +2;
}
.amostraPesquisa {
    opacity: 0;
    width: 100%;
    padding: 3px;
    position: absolute;
    min-height: 70px;
    max-height: 230px;
    border-radius: 8px;
    overflow-y: auto;
    color: #0f0f0f;
    font-family: "Outfit", sans-serif;
    align-items: start;
    z-index: +2;
}
.produtoEncontrado {
    width: 100%;
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    z-index: +1;
    border: 1px solid transparent;
    box-shadow: 0px 0px 5px #bdbdbd;
    background-color: #f5f5f5;

    & div {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    & h1 {
        text-align: start;
        color: #0f0f0f;
        font-size: 14px;
        font-weight: 500;
        text-transform: uppercase;
    }
    & nav {
        display: flex;
        align-items: center;
        gap: 8px;
        color: gray;
    }
    & p {
        font-size: 13px;
    }
    & h2 {
        font-size: 14px;
        color: #192b9b;
        font-weight: 600;
    }
}
.internoVenda {
    justify-content: start;
    flex-direction: column;
    width: 100%;
    height: 200px;
    overflow-y: auto;
}
.tabelaVenda {
    width: 100%;
    position: relative;
    flex-direction: column;
    border-collapse: collapse;
    border: 1px solid #f5f5f5;

    & thead {
        background-color:  #f5f5f5;
        z-index: 1;
        position: sticky;
        top: 0;
        border: 1px solid #bdbdbd;
    }
    & th {
        padding: 8px;
        font-size: 14px;
        letter-spacing: 0.5px;
        font-weight: 400;
        color: #0f0f0f;
        font-family: "Outfit", sans-serif;
    }
    & .vdnome {
        padding: 4px;
        text-align: start;
        max-width: 280px;
        overflow-x: auto;
    }
    & tr {
        height: 35px;
        text-align: center;

        &:hover .qtd {
            color: #ff1e24;
            cursor: auto;
        }
    }
    & td {
        font-size: 12px;
        border: 1px solid #bdbdbd;
    }
    & .qtd { 
        outline: none;
        border: 0;
        height: 35px;
        width: 48px;
        text-align: center;
        background-color: white;
    }
}
.del-img{
    height: 20px;
    cursor: pointer;
}
.pesquisaVenda::placeholder, .nomeCl::placeholder, .desconto::placeholder{
    color: #bdbdbd;
}

/*CONTAINER CLIENTE*/
.containerUser{
    width: 100%;
    flex-direction: column;
    gap: 5px;
}
.userInterno {
    width: 100%;
    padding: 8px;
    box-shadow: 0px 2px 5px #bdbdbd;
    border-radius: 8px;

    & .userDiv {
        justify-content: space-between;
        width: 100%;
    }
    & p{
        font-size: 13px;
    }
    & nav, div {
        display: flex;
        width: 100%;
        gap: 25px;
    }
    & label{
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 3px;
        padding: 5px;
        font-size: 12px;
        box-shadow: 0px 0px 2px #0f0f0f;
        color: #0f0f0f;
        font-weight: 300;
        cursor: pointer;
    }
    & span{
        font-size: 13px;
        color: #0f0f0f;
    }
    & legend{
        font-size: 12px;
    }
    & div{
        justify-content: center;
        align-items: center;
    }
    & .desconto{
        width: 85px;
        text-align: center;
    }
}
.nomeCl, .desconto , .select{
    background-color: white;
    color: #0f0f0f;
    border-radius: 8px;
    outline: none;
    border: none;
    padding: 6px 8px;
    width: 300px;
    box-shadow: 0px 0px 2px #0f0f0f;
}
.radio{
    accent-color: #192b9b;
}
.select{
    width: 120px;
}
.mini-btn{
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: #192b9b;
    font-size: 13px;
    
    &:hover{
        text-decoration: underline;
    }
}
.painelPagamento{
    display: flex;
    gap: 8px;
}
.tag{
    color: #0f0f0f;
    & p{
        font-size: 12px;
    }
}
.finalizado {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    justify-content: space-between;
    border-bottom: 1px solid #bdbdbd;
    box-shadow: 0px 0px 3px #bdbdbd;

    & h1 {
        font-size: 16px;
        font-weight: 400;
        font-family: "Outfit", sans-serif;

    }
    & span {
        color: #192b9b;
        font-weight: 500;
        font-family: "Outfit", sans-serif;
        font-size: 18px;
    }
    & .btnBlue {
        width: 180px;
    }
}


/*FECHAMENTO DE CAIXA*/
#fechamentoContainer{
    display: grid;
    grid-template: auto / auto auto auto;
    background-color: #ffffff;
    gap: 8px;
}
.tipoForma, .tipoFormaFinal{
    width: 280px;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid;
    border-radius: 8px;
    gap: 8px;

    & img{
        height: 60px;
    }
}
.tipoFormaInterno{
    align-items: start;
    flex-direction: column;
    gap: 8px;

    & p{
        color: #0f0f0f;
    }
    & h1{
        font-size: 25px;
        color: #0f0f0f;
        font-family: "Outfit", sans-serif;
    }
}
.tipoFormaFinal{
    text-align: center;
    width: 100%;
    grid-column: span 2;

    & div{
        align-items: center;
    }
}
#money{
    border-color: #15803D;
    background-color: #DCFCE7;
}
#pix1{
    border-color: #0EA5E9;
    background: #DBEAFE;
}
#debito1{
    border-color: #BE185D;
    background: #FCE7F3;
}
#credito1{
    border-color: #6D28D9;
    background: #EDE9FE;
}
#pix2{
    border-color: #B45309;
    background: #FEF3C7;
}
#debito2{
    border-color: #BE123C;
    background: #FFE4E6;
}
#credito2{
    border-color: #0369A1;
    background: #E0F2FE;
}

/*RELATÓRIO MENSAL*/
.relatorioMensal{
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    padding: 10px;
    gap: 8px;
    flex-direction: column;
}
.componentesMensais{
    padding: 5px;
    font-family: "Outfit", sans-serif;
    width: 200px;
    flex-direction: column;
    background-color: #f5f5f5;
    color: #0f0f0f;
    border-radius: 8px;
    border: 1px solid #0f0f0f;

    & h1{
        font-size: 17px;
        color: #0f0f0f;
        font-weight: 600;
        border-bottom: 1px solid #0f0f0f;
        margin-bottom: 4px;
    }
    & p{
        font-size: 14px;
        font-weight: 300;
    }
}


/*HISTÓRICO DE VENDAS*/
.htvenda, .htvendaEx{
    width: 100%;
    display: grid;
    grid-template-columns: 45px 200px 330px 100px 150px 30px 20px;
    border: 1px solid #bdbdbd;
    background-color: #ffffff;
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 8px;
    align-items: center;

    &:hover{
        background-color: #f5f5f5;
        cursor: auto;
    }
    & small{
        font-size: 14px;
        color: #0f0f0f;
        flex: 1;               
        min-width: 0;             
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    & img{
        padding: 0px 5px;
    }
}
.formaPG{
    padding: 3px 5px;
    margin-left: 3px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.dadosDetalhamentos{
    width: 100%;
    height: 100%;
    justify-content: space-between;
    gap: 5px;
}
.cadaDetalhe, .cadaDetalheProdutos{
    width: 260px;
    height: 120px;
    padding: 10px;
    background-color: #ffffff;
    gap: 8px;
    flex-direction: column;
    justify-content: start;
    align-items: start;

    & h2{
        font-size: 18px;
        font-weight: 500;
        font-family: "Outfit", sans-serif; 
        color: #192b9b;
    }
}
.containerDetalheProdutos{
    align-items: start;
    width: 100%;
    max-height: 250px;
    position: relative;
    overflow-y: auto;
}
.cadaDetalheProdutos{
    width: 100%;
    height: 100%;
}
.dadosDetalhes, .dadosDetalhesPg{
    width: 100%;
    justify-content: space-between;
    gap: 5px;

    & div{
        & h3{
            font-size: 14px;
            color: #0f0f0f;
            font-weight: 500;
            width: 90px;
        }
    }
    & .txtDetalhe, .txtRed, .txtGreen{
        font-weight: 300;
        font-size: 14px;
        max-width: 110px;
        color: #0f0f0f;
        flex: 1;               
        min-width: 0;             
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    & .txtRed{
        color: #ff1e24;
    }
    & .txtGreen{
        color: #69c949;
    }
}
.dadosDetalhesPg{
    justify-content: start;
}


/*TABELA DE PRODUTOS*/
.tabelaProdutos {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    & thead {
        background: #192b9b;
        color: aliceblue;
    }
    & thead th {
        padding: 8px;
        text-align: center;
        font-size: 14px;
        letter-spacing: 0.5px;
        border: 1px solid #eee;
        font-weight: 500;
    }
    & tbody td {
        padding: 8px;
        border: 1px solid #eee;
        font-size: 13px;
        text-align: center;
    }
    & .pdnome {
        max-width: 350px;
        text-align: start;
    }
    tr:hover {
        background-color: #f5f5f5;
        color: #192b9b;
        cursor: auto;
    }
    .containerEdit {
        padding: 8px 3px;
    }
    .editores {
        justify-content: space-evenly;

        & img {
            border-radius: 50%;
            padding: 3px;
            cursor: pointer;
            border: 1px solid transparent;

            & .edit:hover {
                border: 1px solid #192b9b;
            }
            &.e-s:hover {
                border: 1px solid #69c949;
            }
            &.bind:hover {
                border: 1px solid #ff1e24;
            }
        }
    }
}
.containerBusca{
    width: 100%;
    justify-content: space-between;

    & .pesquisaVenda {
        width: 400px;
    }
    & svg{
        display: none;
        cursor: pointer;
    }
}
.containerES{
    position: relative;
    max-height: 600px;
    overflow-y: auto;
}
.obs {
    width: 650px;
    padding: 8px;
    color: #0f0f0f;
    text-align: start;

    & legend {
        padding: 0px 8px;
        color: #192b9b;
        font-size: 14px;
    }
    & p {
        font-size: 12px;
    }
}

/*CONFIGURAÇÕES*/
.config_interna{
    flex-direction: column;
    gap: 8px;
    background-color: #f5f5f5;
    padding: 8px;
    border: 1px solid #bdbdbd;
    border-radius: 10px;
    margin-bottom: 10px;
}