.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.pagination a, .pagination span {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #007bff;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.pagination span {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}


/*New Active Classes for pagination*/

.pagination .current {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.pagination .first-page {
    font-weight: bold;
    border: 2px solid #007bff; /* Optional: Make the first page stand out */
}

.pagination .last-page {
    font-weight: bold;
    border: 2px solid #007bff; /* Optional: Make the last page stand out */
}

.pagination .prev-page, .pagination .next-page {
    font-weight: bold;
    background-color: #f0f0f0;
    border-color: #dee2e6;
}

.pagination .prev-page:hover, .pagination .next-page:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

table thead th {
    padding: 0.5em;
    vertical-align: middle;
}

table td, table th {
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
}

.button-pdf {
    color: white;
    background-color: red;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    position: relative;
}

.button-pdf::before {
    content: "\f1c1"; /* You may change this according to the icon you want */
    display: inline-block;
    font-family: "Font Awesome 5 Free"; /* You can use other icon libraries */
    padding-right: 10px;
}

/* Ensure Font Awesome icon in button-pdf inherits button-pdf's color and size. */
.button-pdf::before {
    color: inherit;
    font-size: inherit;
}

.button-csv {
    color: white;
    background-color: green;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    position: relative;
}

.button-csv::before {
    content: "\f1c3";  /* You may change this according to the icon you want */
    display: inline-block;
    font-family: "Font Awesome 5 Free"; /* You can use other icon libraries */
    padding-right: 10px;
}

/* Ensure Font Awesome icon in button-csv inherits button-csv's color and size. */
.button-csv::before {
    color: inherit;
    font-size: inherit;
}

.hentry .entry-content .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a {
    text-decoration: none;
    padding: .3em 0 !important;
    display: block;
}

.button-ac {
    background-color: #4CAF50; // Set a background color
border: none; // Remove default border
color: white; // Set text color
padding: 15px 32px; // Add some padding
text-align: center; // Center the text
text-decoration: none; // Remove default text decoration
display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer; // Change the cursor when hovering over the button
border-radius: 4px; // Add rounded corners
}

.woocommerce-button {
    background: #0b0b0b;
    color: #fff;
}

.wide-column {
    width: 50%;
}

.selected-total {
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.2em;
}

.month-filters {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.month-filter {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.month-filter.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

.month-filter:hover {
    background-color: #f8f9fa;
}

.month-filter.active:hover {
    background-color: #0056b3;
}




/* Table structure and foundation */
.dataTable {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    font-size: 15px;
}

/* Header styling */
.dataTable thead th {
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 15px;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Zebra striping for better readability */
.dataTable .stripe-1 {
    background-color: #ffffff;
}
.dataTable .stripe-2 {
    background-color: #f8f9fa;
}

/* Row highlighting on hover */
.dataTable .row-highlight {
    background-color: #e9f5ff !important;
    transition: background-color 0.15s ease-in-out;
}

/* Cell styling */
.dataTable td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

/* Bold text for important columns */
.dataTable .font-weight-bold {
    font-weight: 700;
}

/* Search box styling */
.dataTables_filter input {
    border: 2px solid #ced4da;
    border-radius: 4px;
    padding: 8px 12px;
    width: 250px;
    margin-left: 8px;
    font-size: 15px;
}

.dataTables_filter input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dataTable td, .dataTable th {
        padding: 8px 10px;
        font-size: 14px;
    }
}