* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html, body {
    height: 100%;
}

body {
    margin: 0;
    background: #f3f6fb;
    color: #222;
    display: flex;
    flex-direction: column;
    background: #f3f6fb url("../img/icone-pb.webp") no-repeat;
    background-size: cover;
    background-position: 750px 50%;
    
    
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 16px;
    flex: 1 0 auto;
    
}


/* Layout refinado da página de login */
.login-page .container {
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 16px 20px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;          /* centraliza verticalmente dentro da área útil */
    justify-content: center;      /* centraliza horizontalmente o bloco interno */
}

/* Bloco que envolve logo, título, texto e card */
.login-wrapper {
    width: 100%;
    text-align: center;
}

/* Logo com margem mais enxuta */
.login-page .aspra-logo-wrap {
    margin: 0 0 10px;
}

/* Título e texto centralizados e com espaçamentos mais suaves */
.login-wrapper h1 {
    margin-top: 12px;
    margin-bottom: 8px;
}

.login-wrapper p {
    margin-top: 0;
    margin-bottom: 18px;
    color: #444;
}

/* Card de login ocupa a largura do wrapper */
.login-card {
    margin-top: 8px;
}

/* Link do administrador com um respiro */
.login-admin-link {
    margin-top: 16px;
}



/* Topbar não deve “esticar” */
.topbar {
    flex-shrink: 0;
}

/* Rodapé sempre no final, pequeno e centralizado */
.aspra-footer {
    flex-shrink: 0;
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 10px 0 20px;
    opacity: 0.8;
}

h1, h2 {
    text-align: center;
    margin-bottom: 16px;
}

.importacao{display: flex;
    gap: 10px;}
    
.card {
    background: #fff;
    border-radius: 8px;
    padding: 20px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}
input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}
button, 
.btn1,
.btn-download,
.btn-logout,
.btn-copy {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: #0066cc;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}
button:hover, 
.btn1:hover,
.btn-download:hover,
.btn-logout:hover,
.btn-copy:hover {
    background: #004f99;
}
button:visited, 
.btn1:visited,
.btn-download:visited,
.btn-logout:visited,
.btn-copy:visited {
    color: #fff;
}

.topbar a, .topbar a:visited {
  color: #43c4ff;
}
/* Base para todas as caixas de alerta */
.alert {
    padding: 10px 14px;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 15px;
    border: 1px solid transparent;
}

/* Informação / Aguarde (você já tinha) */
.alert-info {
    background: #cce5ff;
    color: #004085;
    border-color: #b8daff;
}

/* Avisos gerais (já tinha) */
.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

/* Erro (já tinha mas melhorei com border e contraste leve) */
.alert-error,
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Sucesso – NOVO */
.alert-success {
    background-color: #e9f8ef;
    color: #1d7a40;
    border-color: #b9e8c8;
    font-weight: 600;
}


.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 4px;
}
.topbar {
    background: #003366;
    color: #fff;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-title { font-weight: 600; font-size: 16px; }
.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.dashboard-page .container { margin-top: 24px; }
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.table th,
.table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.table th {
    background: #f0f0f0;
    text-align: left;
}
.linha-digitavel-wrap {
    display: flex;
    gap: 6px;
}
.linha-digitavel {
    flex: 1;
    font-size: 12px;
}
.btn-copy { white-space: nowrap; }
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
}
.badge-warning { background: #ffeeba; color: #856404; }

/* Área de contato */
.support-contact {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
}

/* Centralização dos botões */
.support-buttons {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* espaço maior entre os botões */
    flex-wrap: wrap;
}

/* Botões WhatsApp – AUMENTADOS */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px; /* AUMENTADO */
    border-radius: 8px; /* cantos mais bonitos */
    border: none;
    background: #25D366;
    color: #fff !important;
    font-size: 15px;  /* AUMENTADO */
    font-weight: 600; /* deixa mais elegante */
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-1px);
}

/* Ícone do WhatsApp – AUMENTADO */
.btn-whatsapp .wa-icon {
    width: 20px; /* AUMENTADO */
    height: 20px; /* AUMENTADO */
    display: inline-block;
    background-image: url('../img/icon-whatsApp.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Logo ASPRA no topo das páginas */
.aspra-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0 10px;
}

.aspra-logo-wrap picture {
    display: block;
}

.aspra-logo {
    max-width: 260px;  /* ajusta se quiser maior/menor */
    width: 100%;
    height: auto;
}

/* Rodapé ASPRA */
.aspra-footer {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 40px;
    padding: 10px 0;
    opacity: 0.8;
}

/* Corrige alinhamento dos labels dentro dos cards */
.card label {
    text-align: left;
    display: block;
    width: 100%;
}

/* Campos também ficam alinhados normalmente */
.card input,
.card select,
.card textarea {
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Ícone da ASPRA na topbar */
.topbar-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}


.install-app-wrap {
    margin-top: 16px;
    text-align: center;
}

/* Botão só aparece em telas pequenas */
.btn-install-app {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #004688;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}


.btn-install-app:hover {
    background: #00366a;
}


/* Badges com ícones */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

/* Cores */
.status-pago {
    background-color: #28a745;
}
.status-pendente {
    background-color: #ff9800;
}
.status-atrasado {
    background-color: #e53935;
}
.status-cancelado {
    background-color: #757575;
}
.status-isento {
    background-color: #1e88e5;
}

/* ÍCONES */
.status-icon {
    font-weight: 700;
    font-size: 13px;
}


/* ===========================
   MODAIS (SÓCIO + ADMIN)
   =========================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.aberto {
    display: flex;
}

.modal-dialog {
    max-width: 800px;      /* serve pro admin (SMTP) e pro sócio */
    width: 95%;
}

.modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.modal-header,
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.modal-header h2,
.modal-header h5 {
    margin: 0;
}

.btn-close {
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

.modal-body {
    max-height: 65vh;      /* admin tem bastante conteúdo */
    overflow-y: auto;
    margin-bottom: 10px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;              /* espaçamento entre botões do rodapé */
    margin-top: 10px;
}

/* ===========================
   FORM CONTROLS (CARDS + MODAIS)
   =========================== */

.form-control,
.modal-content input[type="text"],
.modal-content input[type="password"],
.modal-content input[type="email"],
.modal-content input[type="number"],
.modal-content input[type="date"],
.modal-content select,
.modal-content textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.3;
    box-sizing: border-box;
}

/* Mantém a mesma lógica de grid simples que você já usa */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.col-md-2 { flex: 1 1 18%; min-width: 120px; }
.col-md-3 { flex: 1 1 26%; min-width: 150px; }
.col-md-4 { flex: 1 1 30%; min-width: 160px; }

.mb-3 {
    margin-bottom: 12px;
}

/* Utilitários "tipo Bootstrap" usados no admin_email_config.php */
.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

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

/* ===========================
   BOTÕES (REFINO PARA .btn)
   =========================== */

/* base geral você já tinha em "button, .btn1, .btn-download..."  */
/* aqui só padronizamos .btn para os modais e painel admin       */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

/* primário / secundário / outline usados nos modais */
.btn.btn-primary {
    background: #004688;
    color: #fff;
}

.btn.btn-secondary {
    background: #777;
    color: #fff;
}

.btn.btn-outline-primary {
    background: #fff;
    color: #004688;
    border: 1px solid #004688;
}

/* espaçamento entre botões lado a lado (corpo e rodapé do modal) */
.btn + .btn {
    margin-left: 0px;
}

/* tabela dentro do modal  */
.table-responsive {
    overflow-x: auto;
}

.small {
    font-size: 12px;
}

.disabledButton {
    background: #b5b5b5 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

#filtro-socio{line-height: 54px;}
#filtro-socio .btn{width:45%;}
#head-socio-cadastro {    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    align-content: space-between;
    justify-content: space-around;
    width: 100%;}
#head-socio-cadastro div {width:32%;}
#head-socio-cadastro input,
#head-socio-cadastro select,
#head-socio-cadastro textarea {
    text-align: left;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width:100%;
}

#download-pdf {padding:4px 8px; font-size:12px; margin-top:4px; background:#ff5722; color:#fff; width:100%;}
#download-pdf:hover {background:#db4b1d;}

#enviar-pelo-whatsapp {padding:4px 8px; font-size:12px; margin-top:4px; background:#25D366; color:#fff; width:100%;}
#enviar-pelo-whatsapp:hover {background:#1db054;}

@media (max-width: 768px) {
    
    #head-socio-cadastro div {
        width: 45%;
        display: flex;
    }
    #head-socio-cadastro {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        align-items: flex-end;
        flex-direction: row;
        justify-content: flex-start;
    }
    /* Topbar empilhada no mobile */
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* TABELA → CARDS no mobile (apenas "Meus boletos" do sócio) */
    /* Transformamos em cards somente a tabela que fica diretamente dentro da .container,
       para não interferir nas tabelas do painel do administrador. */
    .dashboard-page .container > table.table {
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }

    .dashboard-page .container > table.table thead {
        display: none; /* esconde cabeçalho no mobile */
    }

    .dashboard-page .container > table.table,
    .dashboard-page .container > table.table tbody {
        display: block;
        width: 100%;
    }

    .dashboard-page .container > table.table tr {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }

    .dashboard-page .container > table.table td {
        border-bottom: none;
        padding: 4px 6px;
        font-size: 13px;
    }

    /* 1ª linha: Mês/Ref + Vencimento */
    .dashboard-page .container > table.table td:nth-child(1),
    .dashboard-page .container > table.table td:nth-child(2),
    /* 2ª linha: Valor + Status */
    .dashboard-page .container > table.table td:nth-child(3),
    .dashboard-page .container > table.table td:nth-child(4) {
        width: 50%;
    }

    /* Linha digitável + PDF ocupam a largura toda */
    .dashboard-page .container > table.table td:nth-child(5),
    .dashboard-page .container > table.table td:nth-child(6) {
        width: 100%;
    }

    /* Rótulos dos campos dentro do card */
    .dashboard-page .container > table.table td::before {
        display: block;
        font-weight: 600;
        font-size: 12px;
        color: #555;
        margin-bottom: 2px;
    }

    .dashboard-page .container > table.table td:nth-child(1)::before {
        content: "Mês/Referência";
    }
    .dashboard-page .container > table.table td:nth-child(2)::before {
        content: "Vencimento";
    }
    .dashboard-page .container > table.table td:nth-child(3)::before {
        content: "Valor";
    }
    .dashboard-page .container > table.table td:nth-child(4)::before {
        content: "Status";
    }
    .dashboard-page .container > table.table td:nth-child(5)::before {
        content: "Linha digitável";
    }
    .dashboard-page .container > table.table td:nth-child(6)::before {
        content: "PDF";
    }

    /* Linha digitável + botão Copiar em coluna */
    .linha-digitavel-wrap {
        flex-direction: column;
        gap: 4px;
    }

    /* Botões em full width */
    .btn-copy,
    .dashboard-page .btn-download {
        width: 100%;
        display: block;
        text-align: center;
    }

    .btn-install-app {
        width: 100%;
        text-align: center !important;
    }
    
    .importacao{display: flex;
    flex-direction: column;}

    /* Cards para tabelas do painel admin (referências publicadas e envio em massa) */
    .dashboard-page .table-admin-refs,
    .dashboard-page .table-envio-refs {
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }

    .dashboard-page .table-admin-refs thead,
    .dashboard-page .table-envio-refs thead {
        display: none;
    }

    .dashboard-page .table-admin-refs,
    .dashboard-page .table-admin-refs tbody,
    .dashboard-page .table-envio-refs,
    .dashboard-page .table-envio-refs tbody {
        display: block;
        width: 100%;
    }

    .dashboard-page .table-admin-refs tr,
    .dashboard-page .table-envio-refs tr {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }

    .dashboard-page .table-admin-refs td,
    .dashboard-page .table-envio-refs td {
        border-bottom: none;
        padding: 8px 5px;
        font-size: 13px;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .dashboard-page .table-admin-refs td::before,
    .dashboard-page .table-envio-refs td::before {
        display: block;
        font-weight: 600;
        font-size: 18px;
        color: #555;
        margin-bottom: 2px;
    }

    /* Rótulos dos cards - Referências publicadas (admin_dashboard) */
    .dashboard-page .table-admin-refs td:nth-child(1)::before { content: "Mês/Referência"; }
    .dashboard-page .table-admin-refs td:nth-child(2)::before { content: "Qtd. boletos"; }
    .dashboard-page .table-admin-refs td:nth-child(3)::before { content: "Vencimento (mín. / máx.)"; }
    .dashboard-page .table-admin-refs td:nth-child(4)::before { content: "Exibir p/ sócio"; }
    .dashboard-page .table-admin-refs td:nth-child(5)::before { content: "Envio em massa"; }
    .dashboard-page .table-admin-refs td:nth-child(6)::before { content: "Ações"; }

    /* Rótulos dos cards - Selecionar referências (envio em massa) */
    .dashboard-page .table-envio-refs td:nth-child(1)::before { content: "Selecionar"; }
    .dashboard-page .table-envio-refs td:nth-child(2)::before { content: "Referência"; }
    .dashboard-page .table-envio-refs td:nth-child(3)::before { content: "Boletos"; }
    .dashboard-page .table-envio-refs td:nth-child(4)::before { content: "Sócios"; }
    .dashboard-page .table-envio-refs td:nth-child(5)::before { content: "Vencimento (mín. / máx.)"; }
    .dashboard-page .table-envio-refs td:nth-child(6)::before { content: "Visível p/ sócio"; }
    .dashboard-page .table-envio-refs td:nth-child(7)::before { content: "Envio em massa"; }
    
    #resumoRefsConteudo thead {
        display: none;
    }
    
    #resumoRefsConteudo th {
        width:50%;
    }
        #resumoRefsConteudo tfoot tr {
        background: #f0f0f0 !important;
    }
    
    #resumoRefsConteudo tr {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }
    #resumoRefsConteudo td {
        border-bottom: none;
        padding: 8px 5px;
        font-size: 13px;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }
   #resumoRefsConteudo td::before {
        display: block;
        font-weight: 600;
        font-size: 18px;
        color: #555;
        margin-bottom: 2px;
    }
    #resumoRefsConteudo #titulo {width:100%;font-size: 18px;text-align: center;}
    
        /* Rótulos dos cards - Selecionar referências (envio em massa #resumoRefsConteudo) */
    #resumoRefsConteudo td:nth-child(1)::before { content: "Referência"; }
    #resumoRefsConteudo td:nth-child(2)::before { content: "Sócios c/ boleto"; }
    #resumoRefsConteudo td:nth-child(3)::before { content: "Enviados"; }
    #resumoRefsConteudo td:nth-child(4)::before { content: "Falhas"; }
    #resumoRefsConteudo td:nth-child(5)::before { content: "Pulos" }
    #resumoRefsConteudo td:nth-child(6)::before { content: "Pendentes"; }
    
            /* Rótulos dos cards - Selecionar referências (envio em massa #resumoRefsConteudo) */
    #resumoRefsConteudo th:nth-child(1)::before { content: "\A"; white-space: pre; /* Necessário para reconhecer o \A */}
    #resumoRefsConteudo th:nth-child(2)::before { content: "Sócios c/ boleto \A"; white-space: pre; /* Necessário para reconhecer o \A */}
    #resumoRefsConteudo th:nth-child(3)::before { content: "Enviados \A"; white-space: pre; /* Necessário para reconhecer o \A */}
    #resumoRefsConteudo th:nth-child(4)::before { content: "Falhas \A"; white-space: pre; /* Necessário para reconhecer o \A */}
    #resumoRefsConteudo th:nth-child(5)::before { content: "Pulos \A"; white-space: pre; /* Necessário para reconhecer o \A */}
    #resumoRefsConteudo th:nth-child(6)::before { content: "Pendentes \A"; white-space: pre; /* Necessário para reconhecer o \A */}

    /* Cards para tabelas do painel admin (boletos disponiveis para download) */
    .table-admin-boletos{
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }

    .table-admin-boletos thead{
        display: none;
    }

    .table-admin-boletos,
    .table-admin-boletos tbody{
        display: block;
        width: 100%;
    }

    .table-admin-boletos tr{
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }

    .table-admin-boletos td {
        border-bottom: none;
        padding: 8px 5px;
        font-size: 13px;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .table-admin-boletos td::before{
        display: block;
        font-weight: 600;
        font-size: 18px;
        color: #555;
        margin-bottom: 2px;
    }

    /* Rótulos dos cards - Boletos disponiveis para download (admin_dashboard) */
    .table-admin-boletos td:nth-child(1)::before { content: "Mês/Referência"; }
    .table-admin-boletos td:nth-child(2)::before { content: "Vencimento"; }
    .table-admin-boletos td:nth-child(3)::before { content: "Valor"; }
    .table-admin-boletos td:nth-child(4)::before { content: "Status"; }
    .table-admin-boletos td:nth-child(5)::before { content: "Linha digitável"; }
    .table-admin-boletos td:nth-child(6)::before { content: "Ações"; }
    
    .table-admin-boletos .largura-total{width: 100%;display: inline-block;}
    
    
        /* Cards para tabelas do painel admin (log envio em massa) */
    .log-envio-massa{
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }

    .log-envio-massa thead{
        display: none;
    }

    .log-envio-massa,
    .log-envio-massa tbody{
        display: block;
        width: 100%;
    }

    .log-envio-massa tr{
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }

    .log-envio-massa td {
        border-bottom: none;
        padding: 8px 5px;
        font-size: 13px;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .log-envio-massa td::before{
        display: block;
        font-weight: 600;
        font-size: 18px;
        color: #555;
        margin-bottom: 2px;
    }

    /* Rótulos dos cards - log envio em massa (admin_dashboard) */
    .log-envio-massa td:nth-child(1)::before { content: "Referência"; }
    .log-envio-massa td:nth-child(2)::before { content: "Data/hora"; }
    .log-envio-massa td:nth-child(3)::before { content: "Status"; }
    .log-envio-massa td:nth-child(4)::before { content: "Job"; }


    
        /* Cards para tabelas do painel admin (log download) */
    .table-log-download{
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }

    .table-log-download thead{
        display: none;
    }

    .table-log-download,
    .table-log-download tbody{
        display: block;
        width: 100%;
    }

    .table-log-download tr{
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        padding: 10px 12px;
    }

    .table-log-download td {
        border-bottom: none;
        padding: 8px 5px;
        font-size: 13px;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-content: flex-start;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .table-log-download td::before{
        display: block;
        font-weight: 600;
        font-size: 18px;
        color: #555;
        margin-bottom: 2px;
    }

    /* Rótulos dos cards - log download (admin_dashboard) */
    .table-log-download td:nth-child(1)::before { content: "Data/hora do download"; }
    .table-log-download td:nth-child(2)::before { content: "Mês/Referência"; }
    .table-log-download td:nth-child(3)::before { content: "Vencimento"; }
    .table-log-download td:nth-child(4)::before { content: "Valor"; }
    .table-log-download td:nth-child(5)::before { content: "Status"; }



    /* Botões dos cards do painel admin em coluna/full width */
    .dashboard-page .card .btn,
    .dashboard-page .card .btn1,
    .dashboard-page .card button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 8px;
    }

    .dashboard-page .card .btn:last-child,
    .dashboard-page .card .btn1:last-child,
    .dashboard-page .card button:last-child {
        margin-bottom: 0;
    }
    
    .card-menus {flex-direction: column !important;}

}