.relatorio-cabecalho {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.relatorio-cabecalho h2 {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
}

.relatorio-cabecalho p {
    margin: 6px 0 0;
    color: #64748b;
}

.relatorio-modulo {
    color: #64748b;
    font-size: .85rem;
    font-weight: 600;
}

.relatorio-acoes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.relatorio-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.relatorio-card-icone {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.25rem;
}

.relatorio-grid-wrapper {
    max-height: 62vh;
}

.relatorio-grid th {
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.relatorio-grid td {
    vertical-align: middle;
}

.relatorio-rodape {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .08);
}

.relatorio-rodape-item {
    min-width: 180px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.status-pago { background: #198754; }
.status-parcial { background: #ffc107; color: #111827; }
.status-programado { background: #0d6efd; }
.status-vencido { background: #dc3545; }
.status-aberto { background: #6c757d; }

@media print {
    .no-print,
    .sidebar,
    .topbar,
    .navbar,
    header {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .relatorio-card,
    .relatorio-rodape {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }

    .relatorio-grid-wrapper {
        max-height: none !important;
        overflow: visible !important;
    }
}
