/* Report Filter Styles */
.hola-card.report-filters form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
}
.filter-group {
    display: flex;
    flex-direction: column;
}
.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
}
.filter-group select,
.filter-group input {
    min-width: 200px;
    padding: 8px;
}
.filter-group .button {
    padding: 6px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px; /* Align height with inputs */
}

/* Report Area Styles */
.report-area {
    position: relative;
}
.report-header {
    text-align: center;
    margin-bottom: 20px;
}
.report-header h2, .report-header h3, .report-header p {
    margin: 5px 0;
}
#print-report-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.wp-list-table .col-amount {
    text-align: right;
    /*width: 15%;*/
}
.wp-list-table tfoot th {
    font-weight: bold;
}

/* Pagination Controls Styles */
.hola-pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    flex-wrap: wrap;
    gap: 15px;
}
.items-per-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}
.items-per-page-form label {
    font-weight: 600;
    font-size: 14px;
    color: #34495e;
}
.items-per-page-form select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #bdc3c7;
    cursor: pointer;
    line-height: 1;
}
.page-links .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    color: #34495e;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.page-links .page-numbers:hover {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}
.page-links .page-numbers.current {
    background-color: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
    cursor: default;
}

/* Report Summary Totals (NEW) */
.hola-report-summary {
    margin-top: 25px;
    padding-right: 15px;
    text-align: right;
}
.hola-report-summary p {
    margin: 8px 0;
    font-size: 1.1em;
    font-weight: bold;
    color: #2c3e50;
}

@media screen and (max-width: 699x) {
#print-report-btn {
	top: 5px !important;
	right: 5px !important;
}
table.wp-list-table.widefat.fixed.striped td.col-amount {
    width: 100%;
}
}

/* Print Specific Styles */
@media print {
    body, .wrap {
        background: #fff !important;
    }
    #adminmenumrap, #wpadminbar, #wpfooter, .nav-tab-wrapper, .report-filters, #print-report-btn, .update-nag, .hola-pagination-controls {
        display: none !important;
    }
    .wrap, .hola-card {
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .wp-list-table {
        width: 100%;
    }
    .hola-report-summary {
        page-break-inside: avoid;
    }
}
