* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.div_canter {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(to right, #2d6b32 40%, #cacccf); */
}

.fundo_color{
    background: linear-gradient(to right, #2d6b32 40%, #cacccf);
    /* color: #fff; */
    font-family: "Poppins", sans-serif;
}

nav{
    font-size: 15px;
}

nav ul li a{
    color: #592f6c !important;
    font-size: 13px;
}

nav ul li a:hover{
    color: #b04ce6 !important;
}

.active{
    color: #f53636 !important;
}

.container {
    width: auto;
    margin: 0 auto;
    height: auto;
    padding: 3%;
    background-color: #e9e9e9;
    border-radius: 10px;
}

.position_center_row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h5 {
    width: 100%;;
    font-size: 25px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 3%;
    text-align: center;
    color: #000000;
}

.line{
    width: 100%;
    height: 2px;
    background-color: #000;
}

.label-black{
    color: #000;;
}

input[type="button"]{
    width: 100%;
    height: 40px;
    padding: 0 10px;
    margin: 0 10px 0 0;
    border: none;
    border-radius: 10px !important;
    font-size: 16px;
}

input[type="search"]{
    width: 100%;
    height: 25px;
    /* padding: 0 10px; */
    /* margin: 0 10px 0 0; */
    border: none;
    border-radius: 10px !important;
    font-size: 13px !important;
}

input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2 )!important;
}

.esquci_senha{
    color: #2f2335;
    text-decoration: none;
    font-size: 12px;
}

.btn-primary-interno{
    width: 100%;
    height: 40px;
    background-color: #2d6b32;
    color: #fff;
    border: none;
    border-radius: 10px !important;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-primary-interno:hover {
    background-color: #2f2335;
}

.btn-secondary {
    width: 100%;
    height: 40px;
    background-color: #2d6b32;
    color: #fff;
    border: none;
    border-radius: 10px !important;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-secondary:hover {
    background-color: #2f2335;
}

.pesquisa{
    width: 100%;
    height: 30px;
    color: #fff;
    border: none;
    border-radius: 5px !important;
    font-size: 13px;
    /* margin-right: 1%; */
    background-color: #2d6b32;
}

.pesquisa:hover {
    background-color: #b04ce6;
}

.formModal label, .formModal option, .formModal input, .formModal select {
    font-size: 13px !important;
}

.formModal select{
    height: 40px !important;
    font-size: 13px !important;
}

.formModal input, .formModal select {
    border-radius: 10px !important;
}

.background_sucess{
    background-color: #2d6b32;
    color: #fff;
}

.background_cancel{
    background-color: #2d6b32;
    color: #fff;
    margin-right: 1%;
}

.background_sucess:hover{
    background-color: #2f2335;
}
.background_cancel:hover{
    background-color: #b04ce6;
    
}

/* Estilo para o grid do ag-Grid */


/* Reduz altura da barra de paginação */
.ag-paging-panel {
  font-size: 10px !important; /* tamanho da fonte menor */

}

/* Reduz o select de page size */
.ag-paging-panel select {
  font-size: 12px !important;
  height: 24px !important;
  padding: 0 5px !important;
}

/* Reduz os botões de paginação */
.ag-paging-panel button {
  font-size: 12px !important;
  height: 24px !important;
  padding: 0 5px !important;
  line-height: normal !important;
}

/* Estilo para o grid do ag-Grid */

#toast-container > div {
  font-size: 13px;   /* Diminui o tamanho da fonte */
  min-width: 350px;  /* Aumenta a largura mínima */
  padding: 15px 20px; /* Ajusta o espaçamento interno */
}

.center_buttons{
    width: 100%;
    margin-left: 2%;
    /* margin: 0 auto; */
}

.center_buttons button{
    margin-top: 2%;
    width: 150px !important;
}

.center_vendas{
    /* width: 90%; */
    /* height: 440px; */
    /* overflow-y: auto; */
    /* margin: 0 auto; */
    /* background-color: #fff; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    /* padding: 3% 0; */
}

.formVenda label, .formVenda option, .formVenda input, .formVenda select {
    font-size: 11px !important;
}

.formVenda select{
    height: 30px !important;
    font-size: 11px !important;
}

.formVenda input, .formVenda select {
    border-radius: 10px !important;
}

.box_comprovante{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    /*background-color: rgba(128, 128, 128, 0.85); */
    background-color: #9e99a2;
    border-radius: 8px;
    visibility: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* fundo preto com 50% de opacidade */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.navbar-toggler-icon {
    background-color: #592f6c !important;
}

.pesquisa {
    background-color: #592f6c !important;
}



@media screen and (min-width: 200px) and (max-width: 667px) {

    .div_canter {
        flex-direction: column;
        height: auto;
        padding: 20px 10px;
    }

    nav {
        font-size: 12px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        font-size: 12px;
        display: block;
        padding: 8px 0;
    }

    .container {
        width: 95%;
        padding: 5%;
    }

    .position_center_row {
        flex-direction: column;
        gap: 10px;
    }

    h5 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    input[type="button"],
    .btn-primary-interno,
    .btn-secondary,
    .pesquisa {
        width: 100%;
        font-size: 14px;
        height: 36px;
    }

    .center_buttons {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .center_buttons button {
        width: 100% !important;
        margin-top: 10px;
    }

    .box_comprovante {
        width: 90%;
        padding: 15px;
    }

    .formModal label, 
    .formModal input, 
    .formModal select,
    .formVenda label, 
    .formVenda input, 
    .formVenda select {
        font-size: 12px !important;
    }

    .ag-paging-panel {
        font-size: 9px !important;
    }

    #toast-container > div {
        min-width: unset;
        width: 90%;
        font-size: 12px;
    }

    /* .search-test button {
    display: flex !important;
    gap: 10px  !important;
    flex-wrap: wrap !important;
    flex-direction: column !important;
    width: 100% !important;
    }

    .teste1 button{
        height: 40px !important;
        background-color: #592f6c !important;
        color: #fff !important;
        display: flex !important;
        gap: 10px  !important;
        width: 100% !important;
    } */

    /* .search-test button{
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .teste1 button{
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    } */

    /* .search-test,
    .teste1 {
        gap: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .search-test > *,
    .teste1 > * {
        flex: 1 1 (50% - 10px) !important; /* Ajusta o tamanho para ocupar 50% menos o gap */
        /* max-width: calc(50% - 10px) !important; 
    } */


    /* .box-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        
    }

    .btn-cadastrar-cliente {
        width: 100% !important;
        margin: 0 !important;
    }

    .btn-search {
        width: 100%;
    } */

    h2{
        font-size: 22px;
        text-align: center;
    }

    #ag-30{
        font-size: 4px !important;
    }

    .box-buttons-modals {
        gap: 10px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
    }
    .box-inputs{
        padding: 0 !important;
        margin: 0 !important;
    }
    .button-modal{
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .background_sucess {
        width: 100% !important;
        margin: 0 !important;
    }
    .login-t {
        width: 98% !important;
        margin: 0 auto !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .navbar-nav {
        font-size: 14px;
    }

    .tent {
        font-size: 7px !important;
    }

    .tenta {
        font-size: 23px !important;
    }

    .teste1 {
        font-size: 8px !important;
    }

    .btn-cadastrar-cliente {
        font-size: 8px !important;
    }

    .pesquisa {
        font-size: 8px !important;
    }

    .permissao {
        font-size: 7px !important;
    }

}