@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/butter-food');

* {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    outline: none;
    box-sizing: border-box;
}


body {
    /* background-color: #f6f6f6; */
    background-color: oklch(0.98 0 0 / 1);
    overflow: hidden;
}

.grid-modal .form-group {
    padding: 0 !important;
}

#main {
    height: calc(100% - 72px);
}

.main-all {
    background-color: white;
    margin-top: 8px;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    width: 100%;
    display: flex;
}

.main-vendas {
    height: 100%;
    margin-top: 8px;
}

.main-crud {
    flex-direction: column;
    gap: 24px;
}

.material-symbols-rounded {
    cursor: pointer;
}

button {
    transition: 0.15s;
    cursor: pointer;
    /* padding: 4px 24px; */
}

svg.close {
    cursor: pointer;
}

a {
    transition: 0.15s;
    cursor: pointer;
    /* padding: 4px 24px; */
    text-decoration: none;
    color: #1e1e1e;
}

.container {
    width: 85%;
}

.input-qtd {
    border: 1px solid #f1f1f1;
    text-align: left;
    width: auto;
    max-width: 60px;
    padding: 6px;
    border-radius: 8px;
}

.qtd {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btns-qtd {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btns-qtd button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    padding: 4px;
}


.btns-qtd button:nth-child(1) {
    background-color: #E75858;
}

.btns-qtd button:nth-child(2) {
    background-color: #23CF5C;
}



input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;

}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media screen and (min-width:576px) {
    .container {
        width: 540px;
    }
}

@media screen and (min-width:768px) {
    .container {
        width: 720px;
    }
}

@media screen and (min-width:992px) {
    .container {
        width: 960px;
    }
}

@media screen and (min-width:1200px) {
    .container {
        width: 1140px;
    }
}

@media screen and (min-width:1400px) {
    .container {
        width: 1320px;
    }
}

.table-xtema thead tr th {
    font-size: 12px;
}

/* modal product add */

.modal-product {
    display: none;
    flex-direction: column;
    height: auto;
    padding: 0px !important;
    width: 100%;
    height: 100%;
    background: white;
    margin-top: 8px;
    border-radius: 8px;
}

.modal-product.ativo {
    display: flex;
}


.modal-product-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-categoria {
    background-color: white;
    border: 1px solid #f1f1f1;
    padding: 8px 12px;
    border-radius: 8px;
}

.btn-categoria.ativo {
    border: 1px solid #ffca00;
}

.btn-close-modal-product {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    height: 40px;
    width: 40px;
    background-color: #E75858;
    border: none;
    border-radius: 8px;
}

.btn-close-modal-product svg {
    fill: white;
}

.modal-product-text p {
    font-size: 18px;
    font-weight: normal;
}

.lista-add-products {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;  
}

.item-produto {
    padding: 16px;
    background: #f6f6f6;
    border-radius: 8px;
}

.img-product-card-add-table {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-product-card-add-table img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.img-product-cart-add-table {
    /* height: 40px;
    width: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid #f6f6f6;
}

.img-product-cart-add-table img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.add-adicionais {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid #f1f1f1;
    border-radius: 4px;
    transition: 0.15s;
    cursor: pointer;
}

.add-adicionais>p {
    font-size: 14px;
}

.add-adicionais:hover {
    background-color: #f6f6f6;
}

.add-adicionais>div {
    display: flex;
    align-items: center;
}

.index.remove,
.venda-direta.remove {
    display: none;
}


/* Efeito loading */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.loading-container .icon {
    font-size: 4rem;
    animation: pulse 1.5s infinite alternate;
}

.loading-container .text {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.8;
    animation: fadeIn 1.5s infinite alternate;
}

.loading-container .spinner {
    margin-top: 16px;
    width: 40px;
    height: 40px;
    border: 5px solid #f6f6f6;
    border-top: 5px solid yellow;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-product-table {
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    height: 170px;
    width: 100%;
    cursor: pointer;
    transition: 0.15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    gap: 8px;
    background-color: white;
}

.card-product-table.ativo {
    border: 1px solid #ffca00;
}


.card-product-table-title {
    font-weight: 600;
}

.div-products-container {
    max-height: calc(100vh - 252px);
    height: 100%;
    overflow: auto;
    padding: 12px;
}

.div-products {
    width: 100%;
    box-sizing: border-box;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, 144px); */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    justify-items: start;
}

.cart-add-product {
    display: none;
    width: 100%;
    justify-content: center;
    background-color: white;
    height: calc(100vh - 16px);
    max-width: 448px;
    border-radius: 8px;
    border: 1px solid #f1f1f1;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
}

.cart-add-product.ativo {
    display: flex;
}

.cart-add-product .cart-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.modal-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    height: 100%;
}

html.ativo {
    overflow: hidden;
}

.imagemproduto {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-add-product-table {
    border: none;
    border-radius: 8px;
    font-size: 18px;
}

.product-add-container-top {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    max-height: 100%;
    overflow: auto;
    height: 100%;
}

.info-products-add {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.obs-add-product-table {
    border-radius: 8px;
    border: none;
    resize: none;
    padding: 8px;
    min-width: 250px;
    border: 1px solid #f1f1f1;
    width: 100%;
}

.tabela-adicional {
    border: 1px solid #f1f1f1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow: auto;
    border-radius: 8px;
}

.name-product-add-cart {
    font-weight: 500;
    font-size: 18px;
}


.img-product-card-add-table {
    position: relative;
}






.tracinho {
    height: 2px;
    width: 16px;
    background-color: #ffc900;
}

.btn-excluir {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    padding: 4px;
    background-color: #E75858;
}

.linha-adicional {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-adicionais {
    display: flex;
    align-items: center;
    gap: 8px;
}

.div-add-adicionais {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Venda Direta */



textarea {
    resize: none;
}


.sacola-vazia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 73.5px);
    gap: 16px;
}


.bag-add-product {
    display: none;
}

.bag-add-product.active {
    display: block;
}

.grid-categorias {
    width: 100%;
    display: flex;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    justify-content: center;
    padding-right: 16px;
}

.grid-categorias button {
    flex: 1;
    white-space: nowrap;
}

.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

input[type="checkbox"]:checked+.custom-checkbox {
    background-color: #ffca00;
    border-color: #ffe064;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    top: 2px;
    left: 6px;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.3s;
}

input[type="checkbox"]:checked+.custom-checkbox::after {
    opacity: 1;
    animation: animationScale 0.2s forwards;
}

#checkboxName {
    display: none;
}

input,
table {
    transition: border 0.15s ease;
}

.results {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.results p {
    font-size: 12px;
    font-weight: 500;
}

@keyframes animationScale {
    from {
        scale: 0;
    }

    to {
        scale: 1;
    }
}

input[type=checkbox]:focus {
    border: 1px solid #ffca00;
}



.main-crud form {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    align-items: center;
}

.form-search {
    gap: 8px !important;
    align-items: center;
}

.div-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}


.card-texts {
    align-items: center;
}

.card-texts .customer {
    font-size: 12px;
    color: #e1e1e1;
}









/* Container principal */
.div-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Tabela base */
.table-crud {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* Essencial para controle das colunas */
    flex-grow: 1;
    height: 100%;
}

/* Cabeçalho fixo */
.table-crud thead {
    display: block;
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fafafa;
}

.table-crud thead tr {
    display: flex;
    width: 100%;
    align-items: center;
}

/* Tbody com scroll funcional */
.table-crud tbody {
    display: block;
    height: 100%;
    max-height: calc(100% - 46px);
    /* Altura menos o cabeçalho */
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scrollbar-width: none;
    scrollbar-color: #e0e0e0 #f7f7f7;
}

.table-crud tbody:hover {
    scrollbar-width: thin;
}

/* Chrome, Edge, Safari */
.table-crud tbody::-webkit-scrollbar {
    width: 8px;
    background: #f7f7f7;
    border-radius: 8px;
}

.table-crud tbody::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(160, 160, 160, 0.08);
    transition: background 0.2s;
}

.table-crud tbody::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
}

@media (pointer: coarse) {
    .table-crud tbody {
        scrollbar-width: thin !important;
        overflow-y: auto !important;
    }
}

/* Suporte para tema escuro */
:root {
    --scrollbar-thumb: #e0e0e0;
    --scrollbar-track: #f7f7f7;
}

.table-crud tbody tr {
    display: flex;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
}

.table-crud tbody:hover tr td:last-child {
    padding-right: 0.063rem;
}

.table-crud tbody tr td:last-child {
    padding-right: 10px;
}














/* scroll bar geral */

/* Para qualquer elemento com a classe .scrollbar-xtema */
.scrollbar-xtema {
    scrollbar-width: none;
    scrollbar-color: var(--scrollbar-thumb, #e0e0e0) var(--scrollbar-track, #f7f7f7);
    /* Outros estilos como altura, padding, etc., aplique apenas se desejar */
}

.scrollbar-xtema:hover {
    scrollbar-width: thin;
}

.scrollbar-xtema::-webkit-scrollbar {
    width: 8px;
    background: var(--scrollbar-track, #f7f7f7);
    border-radius: 8px;
}

.scrollbar-xtema::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb, #e0e0e0);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(160, 160, 160, 0.08);
    transition: background 0.2s;
}

.scrollbar-xtema::-webkit-scrollbar-thumb:hover {
    background: #d1d1d1;
}

@media (pointer: coarse) {
    .scrollbar-xtema {
        scrollbar-width: thin !important;
        overflow-y: auto !important;
    }
}

/* Suporte para tema escuro (exemplo) */
@media (prefers-color-scheme: dark) {
    :root {
        --scrollbar-thumb: #444;
        --scrollbar-track: #222;
    }
}


/*fim */
















/* Estilo das células */
.table-crud th,
.table-crud td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Cabeçalhos */
.table-crud th {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #fafafa;
}

/* Células de dados */
.table-crud td {
    font-size: 14px;
    color: #333;
}

/* Hover effect */
.table-crud tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

/* Avatar container */
.avatar-div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-id {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* Responsividade para tablets */
@media (max-width: 1024px) {

    .table-crud th,
    .table-crud td {
        padding: 10px 12px;
        font-size: 12px;
    }

}

/* Modo card para mobile */
@media (max-width: 768px) {
    .table-crud thead {
        display: none;
    }

    .table-crud tbody {
        display: block;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .table-crud,
    .table-crud tbody,
    .table-crud tbody tr {
        display: block;
        width: 100%;
    }

    .table-crud tbody tr {
        margin-bottom: 16px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        padding: 16px;
        display: block;
    }

    .table-crud td {
        display: flex;
        align-items: center;
        padding: 8px 0;
        border: none;
        white-space: normal;
        text-overflow: initial;
        overflow: visible;
        flex: none;
        width: 100%;
        min-width: auto;
    }

    .table-crud td::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #666;
        min-width: 100px;
        margin-right: 16px;
        flex-shrink: 0;
    }

    /* Labels para cada coluna no mobile */
    .table-crud td:nth-child(1)::before {
        content: "Código: ";
    }

    .table-crud td:nth-child(2)::before {
        content: "Produto: ";
    }

    .table-crud td:nth-child(3)::before {
        content: "Preço: ";
    }

    .table-crud td:nth-child(4)::before {
        content: "Categoria: ";
    }

    .table-crud td:nth-child(5)::before {
        content: "Produção: ";
    }

    .table-crud td:nth-child(6)::before {
        content: "Tipo: ";
    }
}

/* Loading indicator */
#loading {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 20px;
    font-size: 14px;
}








.select-xtema {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    max-width: 300px;
}

select,
option {
    cursor: pointer;
}

/* estilizar os options dedntro do select */

.label-btn-add {
    display: flex;
    align-items: center;
    gap: 12px;
}

.label-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-crud {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.grid-crud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    border-radius: 12px;
}

/* Sua classe base atualizada */
.input-xtema {
    padding: 10px 16px;
    /* Aumentado para melhor touch target */
    font-size: 16px;
    /* Evita zoom no iOS */
    border-radius: 10px;
    /* Mais moderno */
    border: 1px solid #e2e8f0;
    /* Borda mais suave */
    width: 100%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Transição mais suave */
    background: white;
    color: #1e293b;
    font-weight: 400;
}

.input-xtema::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.input-xtema:hover {
    border-color: #cbd5e1;
}

.input-xtema:focus {
    outline: none;
    border-color: #cbd5e1;
    /* Mantém sua cor de brand */
}

/* Variante específica para pesquisa */
.input-xtema.search-input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 14px 0 !important;
    box-shadow: none !important;
    border-radius: 0;
}

/* Container do input de pesquisa */
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-input-group:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-input-group:focus-within {
    border-color: #ffca00;
    /* Sua cor de brand */
    box-shadow: 0 0 0 3px rgba(255, 202, 0, 0.1);
}

/* Estados especiais */
.input-xtema:disabled {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.input-xtema.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-xtema.success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Variações de tamanho */
.input-xtema.small {
    padding: 8px 12px;
    font-size: 14px;
}

.input-xtema.large {
    padding: 16px 20px;
    font-size: 18px;
}

/* Ícones dentro do input */
.input-icon-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-icon-wrapper .input-xtema {
    padding-left: 40px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #64748b;
    pointer-events: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .input-xtema {
        font-size: 16px;
        /* Evita zoom no mobile */
        padding: 12px 14px;
    }
}




.save-btn {
    background-color: #23CF5C;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    color: white;
    transition: 0.15s;
}


.save-btn:hover {
    opacity: 0.85;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.edit-btn:hover {
    opacity: 0.85;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.edit-btn {
    background-color: white;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid #f1f1f1;
    transition: 0.15s;
}

.btn-modal {
    background-color: #ffca00;
    color: white;
    width: 50%;
    padding: 8px;
}

.modal-ultimas-vendas tr {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.modal-ultimas-vendas tr th {
    white-space: nowrap;
}

.modal-ultimas-vendas tr th:nth-child(1),
.modal-ultimas-vendas tr td:nth-child(1) {
    width: 5%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(2),
.modal-ultimas-vendas tr td:nth-child(2) {
    width: 20%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(3),
.modal-ultimas-vendas tr td:nth-child(3) {
    width: 10%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(4),
.modal-ultimas-vendas tr td:nth-child(4) {
    width: 25%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(5),
.modal-ultimas-vendas tr td:nth-child(5) {
    width: 20%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(6),
.modal-ultimas-vendas tr td:nth-child(6) {
    width: 10%;
    text-align: center;
}

.modal-ultimas-vendas tr th:nth-child(7),
.modal-ultimas-vendas tr td:nth-child(7) {
    width: 10%;
    text-align: center;
}

.modal-ultimas-vendas {
    width: 90% !important;
}

.modal-content {
    width: 100%;
}

.tabela-ultimas-vendas {
    width: 100%;
    border-collapse: collapse;
}

.list-sales {
    border-radius: 8px;
    border: 1px solid #f1f1f1;
    overflow: hidden;
}

.tabela-ultimas-vendas td {
    height: 64px;
    /* border-right: 1px solid #f1f1f1; */
    display: flex;
    align-items: center;
    padding: 8px;
}

.tabela-ultimas-vendas th {
    /* border-right: 1px solid #232323; */
    height: 70px;
    display: flex;
    align-items: center;
    padding: 8px;
}

.tabela-ultimas-vendas thead {
    background-color: #1e1e1e;
    color: white;
}

.tabela-ultimas-vendas tbody {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.clear-product {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    transition: 0.15s;
    box-shadow: none;
}


.clear-product:hover {
    text-decoration: none;
    cursor: pointer;
    opacity: 0.95;
    box-shadow: none !important;
}


.ver-cardapio {
    background-color: #FFCA00;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 500;
    color: white;
    transition: 0.15s;
}

.card-logotipo:hover,
.edit-modelo:hover,
.ver-cardapio:hover {
    opacity: 0.85;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#payment-table-body {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
}

.avatar-div {
    position: relative;
    width: 42px;
}



.avatar-div img {
    border: 2px solid #ffca00;
}

.avatar-id {
    position: absolute;
    background: #ffca00;
    height: auto;
    height: 20px;
    width: auto;
    font-size: 10px;
    border-radius: 50%;
    text-align: center;
    bottom: 2px;
    right: 0;
    min-width: 20px;
    padding: 2px;
    font-weight: 500;
}

.divs-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.opcional-text {
    font-size: 12px;
    color: #8f8f8f;
}

.pagination {
    display: flex;
    align-items: center;
}

.pag-adicionais {
    display: none;
    height: 100%;
    gap: 12px;
    align-items: center;
}

.pag-option {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #757575;
    text-decoration: none;
    padding: 12px 16px;
    transition: all 0.3s;
    height: 48px;
    justify-content: center;
}

.pag-option:hover,
.pag-option.ativo {
    color: #1e1e1e;
    background-color: #f6f6f6;
}

.form-product {
    height: 100%;
    padding: 24px 12px 12px;
    border-top: 1px solid #f6f6f6;
    display: flex;
    flex-direction: column;
}

.delete-btn {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 100%;
}



.bold-500 {
    font-weight: 500;
}

.btn-menu {
    display: none;
    background: white;
    border: none;
    font-size: 32px;
    display: flex;
    align-items: center;
}

.btn-menu>i {
    color: rgb(31, 41, 55);
    font-size: 24px;
}


.icon-x {
    display: none;
}

.p-environment {
    display: none;
}

.navbar-mobile {
    transform: translateX(-100%);
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    padding: 24px;
    overflow: auto;
    transition: transform 0.3s ease, opacity 0.3s;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
}

.navbar-mobile li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: #757575;
    border-radius: 8px;
}


/* responsividade */

@media screen and (max-width:768px) {
    .main {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }

    .menu-xtema {
        display: none;
    }

    /* .right-nav-bar>form,
    .right-nav-bar #inicial-btn,
    .right-nav-bar>a,
    .right-nav-bar>svg {
        display: none !important;
    } */

    .navbar-xtema {
        border-radius: 0 !important;
        border-bottom: 1px solid #e5e7eb;
    }


    .left-nav-bar {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .btn-menu {
        display: block !important;
    }

    .main-all {
        border-radius: 0 !important;
    }

    .main-all {
        margin-top: 0;
    }

    .navbar-xtema {
        padding: 16px 24px !important;
    }

    .name-screen .line {
        display: none;
    }

    .navbar-mobile.active {
        transform: translateX(0);
        pointer-events: auto;
        opacity: 1;
    }
}