/* dataTable custom css */
 /* Optional: highlight on hover */
table.dataTable tbody tr:hover {
    background-color: #e6e6e6; /* light blue hover */
}

table.dataTable {
    border-collapse: collapse !important;
    width: 100%;
    border: 1px solid #d1d5db; /* outer border color */
}

/* Add borders around each cell */
table.dataTable th,
table.dataTable td {
    border: 1px solid #d1d5db !important; /* light gray border */
    padding: 8px 12px !important;
}

/* Highlight row on hover */
table.dataTable tbody tr:hover {
    background-color: #f5f5f5; /* light blue hover */
}

/* Header styling */
table.dataTable thead th {
    background-color: #fff;
    color: #111827;
    font-weight: 500;
    text-align: left;
}

/* style export buttons - start*/
.dt-button {
    background-color: #8AB240 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

.dt-button:hover {
    background-color: #eee !important;
    color: #000 !important ;
}
/* style export buttons - end */

/* Pagination container */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 1rem;
    text-align: right;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #fff !important; 
    border: 1px solid #d1d5db !important;
    color: #8AB240 !important; 
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    border-radius: 0px !important;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
}

/* Hover effect */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #eee !important; 
    color: #fff !important;
}

/* Active (current page) button */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #8AB240 !important;
    color: #fff !important;
}

/* Disable previous/next when not clickable */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
table th {
    font-size: 14px;
    font-weight: 500;
}

table.dataTable tbody td{
    font-size: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button{
    margin-left: 0px !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important; /* change 'red' to any color you like */
}
.dataTables_wrapper .dataTables_filter input{
    padding: 1px !important;
}
.dataTables_filter label {
    font-size: 14px; 
}
.dataTables_length{
    margin-top: 9px;
    margin-left: 6px;
}
.dataTables_length label {
    font-size: 14px; /* adjust as needed */
}
/* Optional: font size for the select box */
.dataTables_length select {
    font-size: 12px;
}
.dataTables_info{
     font-size: 14px;
}