* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    background: #f5f7f6;
    min-height: 200vh;
    flex-direction: row;

}



/* TABLE RESPONSIVO */

@media (max-width:868px){

        .produto-tabela-wrapper   .produto-tabela  {
        align-items: center;

    }

 
    .produto-tabela-wrapper   .produto-tabela  tr{
        margin-bottom: 15px;

    }

    .produto-tabela-wrapper   .produto-tabela  tbody tr td{
        text-align: right;
        padding-left: 20%;
        position: relative;
    }

    .produto-tabela-wrapper   .produto-tabela  td::before{
        content: attr(data-label);
        position: absolute;
        left: 0;
        padding-left: 15px;
        font-weight: 600;
        font-size: 14px;
        text-align: center;

    }


    .produto-tabela th,
.produto-tabela td{
    padding:12px;
    text-align:center;
   
}


} 

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 20px;
    transition: 0.3s;
    margin-top: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #047857;
    font-weight: bold;
    text-align: center;
}

.menu a{
    list-style: none;
    color: #ffffff;
}

.menu li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
    color: #374151;
}

.menu li.active,
.menu li:hover {
    background: #047857;
    color: #fff;
}

/* MAIN */
.main {
    flex: 1;
    padding: 20px;
    width: 100%;
    max-width: 100%;
}


/* TOPBAR */


#menu-btn {
    font-size: 26px;
    cursor: pointer;
    display: none;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    
}

.main,
.content {
    margin-top: 70px;
}

/* MENU ICON */
#menu-btn {
    font-size: 26px;
    cursor: pointer;
    color: #111827;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #047857;
}

/* USER */
.user {
    text-align: right;
    line-height: 1.2;
}

.user span {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.user small {
    font-size: 12px;
    color: #6b7280;
}



/* DASHBOARD */
.dashboard h1 {
    padding-top: 1rem;
    font-size: 26px;
}

.sub {
    color: #6b7280;
    margin-bottom: 20px;
}


/* CARDS */
.cardss {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD PADRÃO */
.card1 {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* ÍCONES */
.card-icon {
    font-size: 32px;
    color: #047857; /* verde padrão */

    text-align: left;
    margin-bottom: 8px; margin-left: auto;
}

/* TÍTULOS */
.card1 h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* VALORES PRINCIPAIS */
.card1 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

/* SPAN (descrição secundária) */
.card1 span {
    color: #555;
    font-size: 14px;
}

/* CARD VERDE ESPECIAL */
.card1.green {
    border-left: 5px solid #047857;
}

.card1.green h2 {
    color: #047857;
}

/* DIFERENTES CORES PARA ÍCONES */
.card1:nth-child(2) .card-icon {
    color: #2563eb; /* azul */
}

.card1:nth-child(3) .card-icon {
    color: #047857; /* verde */
}

.card1:nth-child(4) .card-icon {
    color: #f59e0b; /* laranja */
}



/* CHARTS */
.charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.chart-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border:1px solid #e5e7eb;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .sidebar {
        position: fixed;
        left: -240px;
        height: 100%;
        z-index: 100;
    }

    .sidebar.active {
        left: 0;
    }

    #menu-btn {
        display: block;
    }

        .user {
        display: none ;
    }
}

/* BOTÃO FECHAR MENU */
.close-hea {
    display: none;
    justify-content: flex-end;
    font-size: 28px;
    cursor: pointer;
    margin-bottom: 15px;
    color: #374151;
}

/* MOBILE */
@media (max-width: 768px) {
    .close-hea {
        display: flex;
    }
}



/* ===== PRODUTOS ===== */
.produto{
    padding:20px;
}

/* TOPO */
.produto-topo{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    flex-wrap:wrap;
    gap:10px;
}

.produto-topo h2{
    font-size:20px;
}

.btn-novo-produto{
    background:#0a7c42;
    color:#fff;
    border:none;
    padding:10px 16px;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:6px;
}

/* CARD */
.produto-card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    border:1px solid #e5e7eb;
}

/* ===== TABELA RESPONSIVA ===== */
.produto-tabela-wrapper{
    width:100%;
    overflow-x:auto; /* ESSENCIAL */
}

.produto-tabela{
    max-width: 100%;
    border-collapse:collapse;
    
}



.produto-tabela th{
    background:#f1f1f1;
    font-size:14px;
  
}

.produto-tabela tr:not(:last-child){
    border-bottom:1px solid #eee;
}

/* TAG */
.produto-tag{
    background:#e8f5ee;
    color:#0a7c42;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
}

/* LUCRO */
.produto-lucro{
    color:#0a7c42;
    font-weight:bold;
}

/* ESTOQUE */
.produto-estoque{
    background:#0a7c42;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:13px;
}

/* AÇÕES */
.produto-acoes{
    display:flex;
    gap:8px;
}

.produto-btn{
    border:none;
    padding:6px;
    border-radius:6px;
    cursor:pointer;
}

.produto-btn.editar{
    background:#eef2ff;
    color:#3b5bfd;
}

.produto-btn.apagar{
    background:#ffecec;
    color:#e63946;
}

/* MOBILE */
@media(max-width:768px){
    .produto{
        padding:15px;
    }
}


/* ===== PESQUISA PRODUTO ===== */
.produto-pesquisa{
    display:flex;
    align-items:center;
    gap:10px;
    background:#fff;
    padding:12px 16px;
    border-radius:10px;
    margin-bottom:15px;
    border:1px solid #e5e5e5;
}

.produto-pesquisa i{
    font-size:18px;
    color:#888;
}

.produto-pesquisa input{
    border:none;
    outline:none;
    flex:1;
    font-size:14px;
}

.produto-total{
    font-size:13px;
    color:#666;
    white-space:nowrap;
}

/* MOBILE */
@media(max-width:600px){
    .produto-pesquisa{
        flex-wrap:wrap;
    }

    .produto-total{
        width:100%;
        text-align:right;
    }
}








/* ===== VENDAS ===== */
.vendas{
    padding:20px;
}

/* TOPO */
.vendas-topo{
    margin-bottom:20px;
}

.vendas-topo h2{
    font-size:20px;
}

.vendas-subtitulo{
    font-size:14px;
    color:#666;
}

/* GRID */
.vendas-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:20px;
}

/* CARD */
.vendas-card{
    background:#fff;
    border-radius:12px;
    padding:20px;
    border:1px solid #e5e7eb;
}

.vendas-card h3{
    margin-bottom:15px;
}

/* CAMPOS */
.vendas-campo{
    margin-bottom:15px;
}

.vendas-campo label{
    font-size:13px;
    color:#555;
}

.vendas-campo input,
.vendas-campo select{
    width:100%;
    padding:10px;
    margin-top:5px;
    border-radius:8px;
    border:1px solid #ddd;
}

/* BOTÃO */
.vendas-btn{
    width:100%;
    background:#0a7c42;
    color:#fff;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:6px;
}

/* ITENS */
.vendas-itens{
    margin-top:25px;
}

.vendas-itens h4{
    margin-bottom:10px;
}

.vendas-vazio{
    text-align:center;
    color:#999;
}

.vendas-vazio i{
    font-size:32px;
    margin-bottom:5px;
}

/* RESUMO */
.resumo .resumo-linha{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.resumo-total{
    display:flex;
    justify-content:space-between;
    font-size:18px;
    font-weight:bold;
    margin:15px 0;
}

.resumo-lucro{
    display:flex;
    justify-content:space-between;
    color:#0a7c42;
    margin-bottom:20px;
}



/* RESPONSIVO */
@media(max-width:900px){
    .vendas-grid{
        grid-template-columns:1fr;
    }
}



.item-venda{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:15px;
    padding:12px;
    border-radius:10px;
    background:#f4f6f5;
    align-items:center;
       border:1px solid #e5e7eb;
}

.item-venda span{font-size:13px;color:#666}

.item-info{
    text-align:right;
}

.item-info small{
    color:#0a7c42;
}

.item-remover{
    border:none;
    background:#ffecec;
    color:#e63946;
    padding:6px;
    border-radius:6px;
    cursor:pointer;
}










/* ===== DESPESAS ===== */
.despesas{padding:20px}

.despesas-topo{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
}

.btn-despesa{
    background:#0a7c42;
    color:#fff;
    border:none;
    padding:10px 16px;
    border-radius:8px;
}

.despesas-resumo{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:20px;
}

.card-info{
    background:#fff;
    padding:20px;
    border-radius:12px;
    padding: 2rem;
    border:1px solid #e5e7eb;
}

.card-info h4{
padding-bottom: 1rem;
}

.card-info strong{
    font-size:18px;
  
}

.negativo{color:#e63946}

.despesas-card{
    background:#fff;
    padding:20px;
    border-radius:12px;
    border:1px solid #e5e7eb;
    margin-top: 2rem;
}

.despesas-vazio{
    text-align:center;
    color:#999;
    padding:40px;
}

.despesas-vazio i{font-size:36px}

@media(max-width:900px){
    .despesas-resumo{grid-template-columns:1fr}
}







/* ===== RELATÓRIOS ===== */
.relatorios{padding:20px}

.relatorios-filtro{
    background:#fff;
    padding:15px;
    border-radius:12px;
    display:flex;
    gap:15px;
    align-items:center;
    margin:20px 0;
    border:1px solid #e5e7eb;
}

.relatorios-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.positivo{color:#0a7c42}

@media(max-width:1000px){
    .relatorios-cards{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .relatorios-cards{
        grid-template-columns:1fr;
    }
}
/* ===== PRODUTOS MAIS VENDIDOS ===== */
.produtos-vendidos{
    background:#fff;
    padding:20px;
    border-radius:12px;
    margin-top:25px;
    border:1px solid #e5e7eb;
}

.produtos-vendidos-topo{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.produtos-vendidos-topo h3{
    font-size:16px;
}

.produtos-vendidos-topo span{
    font-size:13px;
    color:#666;
}

.produtos-vendidos-lista{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.produto-vendido{
    display:grid;
    grid-template-columns:1fr 2fr auto;
    gap:15px;
    align-items:center;
    
}

.produto-info small{
    color:#666;
    font-size:12px;
}

.produto-barra{
    background:#eaeaea;
    height:8px;
    border-radius:6px;
    overflow:hidden;
}

.produto-barra span{
    display:block;
    height:100%;
    background:#0a7c42;
    border-radius:6px;
}

.produto-total{
    font-size:14px;
    font-weight:bold;
}

/* RESPONSIVO */
@media(max-width:700px){
    .produto-vendido{
        grid-template-columns:1fr;
        gap:8px;
    }

    .produto-total{
        text-align:right;
    }
}


.assinatura {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* CARD BASE */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* STATUS */
.assinatura-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assinatura-status h2 {
    margin: 6px 0;
}

.plano {
    font-size: 14px;
    color: #666;
}

.preco {
    font-weight: 600;
    color: #008f4c;
}

.validade {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.badge.ativo {
    background: #008f4c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* STATUS OK */
.status-ok {
    background: #e9f7f0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #008f4c;
    max-width: 220px;
}

.status-ok i {
    font-size: 36px;
    margin-bottom: 8px;
}

/* RENOVAR */
.renovar p {
    color: #555;
    margin-bottom: 14px;
}

.btn-renovar {
    background: #008f4c;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-renovar:hover {
    background: #007441;
}

/* MÉTODOS */
.metodos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.metodo {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.metodo i {
    font-size: 28px;
    color: #008f4c;
}













/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* MODAL */
.modal {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    padding: 20px;
    animation: scaleIn .2s ease;
}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.close-modal {
    font-size: 22px;
    cursor: pointer;
}

/* FORM */
.modal label {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    display: block;
    color: #000000;
}

.modal input,
.modal select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.modal input:focus,
.modal select:focus {
    outline: none;
    border-color: #008f4c;
}

/* INSTRUÇÕES */
.instrucoes {
    background: #eef7f2;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 14px;
}

.instrucoes ol {
    margin: 6px 0 0 16px;
}

/* AÇÕES */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.btn-cancelar {
    background: #eee;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-confirmar {
    background: #008f4c;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-confirmar:hover {
    background: #007441;
}

/* ANIMAÇÃO */
@keyframes scaleIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}






/* ===== ADMINISTRAÇÃO ===== */
.administracao{
    padding:20px;
}

.admin-header h2{
    font-size:22px;
}

.admin-header p{
    color:#666;
    margin-bottom:20px;
}

/* CARDS */
.admin-cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
    margin-bottom:25px;
}

.admin-card{
    background:#fff;
    padding:18px;
    border-radius:12px;
    border:1px solid #e5e7eb;

}

.admin-card span{
    font-size:13px;
    color:#666;
}

.admin-card h3{
    margin:8px 0;
    font-size:22px;
}

.admin-card small{
    color:#666;
}

.admin-card.destaque h3{
    color:#0a7c42;
}

/* TABELA */
.admin-tabela{
    background:#fff;
    border-radius:12px;
    padding:20px;
       border:1px solid #e5e7eb;
}

.admin-tabela-header{
    margin-bottom:15px;
}

.tabela-wrapper{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:850px;
}

th, td{
    padding:12px;
    border-bottom:1px solid #eee;
    text-align:left;
    font-size:14px;
}

th{
    color:#555;
}

/* BADGES */
.badge{
    background:#f1f1f1;
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
}

.status{
    padding:4px 12px;
    border-radius:20px;
    font-size:12px;
}

.status.ativo{
    background:#0a7c42;
    color:#fff;
}

.verde{
    color:#0a7c42;
}

/* BOTÃO */
.btn-desativar{
    background:#fff;
    border:1px solid #ddd;
    padding:6px 12px;
    border-radius:6px;
    cursor:pointer;
}

.btn-desativar:hover{
    background:#f5f5f5;
}

/* ===== MOBILE REAL (TABELA → CARDS) ===== */
@media (max-width:768px){

    table,
    thead,
    tbody,
    th,
    tr{
        display:block;
        max-width:100%;
    }

    thead{
        display:none;
    }

    tr{
        border:1px solid #e5e7eb;
        border-radius:12px;
        margin-bottom:12px;
        padding:12px;
    }

    td{
        display:flex;
        border:none;
        padding:6px 0;
        font-size:13px;
    }

    td::before{
        content:attr(data-label);
        font-weight:600;
        color:#555;
    }



    
}








/* OVERLAY */
.modal-overlay1 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    
    padding: 15px; /* 🔑 evita colar nas bordas em telas pequenas */
    z-index: 9999;
}

/* CAIXA */
.modal-box {
    position: relative !important;

    width: 100%;
    max-width: 420px;

    max-height: 85vh;
    overflow-y: auto;

    background: #fff;
    border-radius: 12px;
    padding: 20px;
}



@media (max-width: 480px) {
    .modal-box {
        max-width: 100%;
        border-radius: 10px;
    }
}


/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* FORM */
.modal-form .form-group {
    margin-bottom: 12px;
}

.modal-form label {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
    display: block;
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
}

/* AÇÕES */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

/* BOTÕES */
.btn-primary {
    background: #0a8f4d;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.btn-light {
    background: #f1f1f1;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}


.form-row {
     display: flex;
    column-gap: 1rem ;
    justify-content: space-between;
    padding-bottom: 1rem;
    padding-top: 1rem;
}

/* ANIMAÇÃO */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}







.pag .paginacao{
    display: flex;
    gap: .3rem;
    list-style: none;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    
}

.pag .paginacao a{
    color: var(--primary-color);
    font-size: 1rem;
    text-decoration: none;
    padding: .3rem .5rem;
    border: 1px solid #999999;
    border-radius: 1px;

}

.pag .paginacao a:hover{
    background-color: darkgray;
    transition: .4s ease;
}





.despesa-item {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #daffdc;
    padding: 5px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
     border: 1px solid #ddd;
}

.despesa-item .info strong {
    display: block;
    font-size: 15px;
    color: #333;
}

.despesa-item .info small {
    color: #888;
    font-size: 12px;
}

.despesa-item .info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #555;
}

.acoes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.negativo {
    color: #e53935;
    font-weight: bold;
    font-size: 14px;
}

.btn-remover {
    color: #999;
    font-size: 18px;
    transition: 0.2s;
}

.btn-remover:hover {
    color: #e53935;
}

.despesas-vazio {
    text-align: center;
    padding: 30px;
    color: #999;
}

.despesas-vazio i {
    font-size: 40px;
    margin-bottom: 10px;
}










.overlay-bloqueio {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-alerta {
    background: #f2f2f2;
    width: 340px;
    padding: 25px 20px 30px;
    border-radius: 18px;
    text-align: center;
    border: 2px solid #0a8f4d;
    box-shadow: 0 15px 40px rgba(0,0,0,.3);
    animation: popup .4s ease;
}

.popup-alerta h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.popup-alerta p {
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

.btn-pagar {
    display: inline-block;
    padding: 12px 25px;
    background: #0a8f4d;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
}

.btn-pagar:hover {
    background: #0a8f4d;
}

@keyframes popup {
    from {
        transform: scale(.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


a{
    text-decoration: none;
}



.logo-operadora {
    width: 40px;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
}


.logo-operadoras {
    width: 55px;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
}




.pagamentos-lista {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pagamento-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagamento-info strong {
    display: block;
    font-size: 15px;
}

.pagamento-info small {
    color: #777;
    font-size: 12px;
}

.pagamento-valor {
    font-weight: bold;
    color: #2e7d32;
}

.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* STATUS */
.status.confirmado {
    background: #e8f5e9;
    color: #2e7d32;
}

.status.pendente {
    background: #fff8e1;
    color: #ff8f00;
}

.status.rejeitado {
    background: #fdecea;
    color: #c62828;
}


.logoon {
    padding-top: 15px;
    width: 100px;
    height: 90px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 30px;
}

.badge.pendente {
    background: #fff3cd;
    color: #856404;
}

.status-ok.pendente i {
    color: #f0ad4e;
}


  /* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border:1px solid #e5e7eb;
}

.card span{
    color: #555;
    font-size: 5.rem;
}

.card-icon {
    
    font-size: 26px;
    color: #047857;
    margin-bottom: 10px;
     margin-left: auto;
    text-align: right;
}

.card.green h2 {
    color: #047857;
}


.acoes-produtos1{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn123{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.btn123.novo{
    background: #047857;
    color: #fff;
}

.btn123.relatorio{
    background: #2563eb;
    color: #fff;
}

.btn123:hover{
    opacity: 0.9;
}


.paginacao1{
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

.paginacao1 button{
    padding: 6px 12px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
}

.paginacao1 button.ativo{
    background: #047857;
    color: #fff;
    border-color: #047857;
}

.paginacao1 button:hover{
    background: #e5e7eb;
}



/* CONTAINER DO POPUP */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;            /* começa escondido */
    justify-content: center;  /* centraliza horizontal */
    align-items: center;      /* centraliza vertical */
    z-index: 9999;            /* muito acima da página */
}

/* ATIVO */
.popup.active {
    display: flex;
}

/* OVERLAY (FICA NO FUNDO DO POPUP) */
.popup .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 1;               /* atrás do content */
}

/* CONTEÚDO DO POPUP (FORMULÁRIO) */
.popup .popup-content {
    position: relative;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    z-index: 2;               /* acima da overlay */
    opacity: 0;
    transform: scale(.9);
    transition: .3s ease;
}

/* ANIMAÇÃO QUANDO APARECE */
.popup.active .popup-content {
    opacity: 1;
    transform: scale(1);
}

.popup .popup-content form .boxn {
    display: flex;
    column-gap: 1rem ;
    justify-content: space-between;
    padding-bottom: 1rem;
    padding-top: 1rem;
}


.popup .popup-content form .boxn .box {
display: flex;
flex-direction: column;
gap: 5px;
}

.popup .popup-content form h1{
    color: #000;
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 2px;
      text-transform: capitalize;
}

.popup .popup-content form p{
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 500;
}

.popup .popup-content form .boxn .box .input{
     width: 100%;
    border: var(--border);
    border-radius: 5px;
    border: 0.2px solid #464646;
    padding-left: 4%;
    margin: 1rem 0;
    padding: 1rem;
    font-size: 1.6rem;
}



.popup .popup-content form .boxn .box .input:focus{
     outline-color: var(--primary-color);
}

.popup .popup-content form .boxn .box select:focus{
     outline-color: var(--primary-color);
}

.popup .popup-content form .boxn .box label{
     padding-top: 3px;
    font-size: 1.3rem;
    color: #000;
    font-weight: 600;
}

.btn-submeter{
    padding: 1rem 3rem;
    cursor: pointer;
    font-size: 16px;
    color: var(--white);
    background: var(--primary-color);
    text-align: center;
    text-transform: capitalize;
    border: none;
    margin-top: 1rem;
    border-radius: 2px;
}

.btn-submeter:hover{
    background: rgb(6, 6, 20);
}

.close-btn{
    padding: 1rem 3rem;
    cursor: pointer;
    font-size: 16px;
    color: var(--white);
    background: var(--black);
    text-align: center;
    text-transform: capitalize;
    border: none;
    margin-top: 1rem;
    border-radius: 2px;
}


.close-btn:hover{
    background: rgb(114, 114, 114);
    color: #ffffff;
}


.btn-whatsapp{
    display:inline-block;
    margin-top:10px;
    padding:10px 15px;
    background:#008f4c;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}
.btn-whatsapp:hover{
    opacity:.9;
}
