/* Minimal styles for Simple-DataTables v7 (local copy so the page needs no external stylesheet) */
.datatable-wrapper .datatable-top,
.datatable-wrapper .datatable-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
}
.datatable-dropdown label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.datatable-selector,
.datatable-input {
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
}
.datatable-input {
    min-width: 220px;
}
.datatable-input:focus,
.datatable-selector:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.datatable-container {
    overflow-x: auto;
    border-bottom: 1px solid #dee2e6;
}
.datatable-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
}
.datatable-table th,
.datatable-table td {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}
.datatable-table > thead > tr > th {
    border-bottom: 2px solid #dee2e6;
    text-align: left;
}
.datatable-sorter {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-right: 1.25rem;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.datatable-sorter::before,
.datatable-sorter::after {
    content: "";
    position: absolute;
    right: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: 0.25;
}
.datatable-sorter::before {
    bottom: 4px;
    border-top: 4px solid #000;
}
.datatable-sorter::after {
    top: 4px;
    border-bottom: 4px solid #000;
}
.datatable-ascending .datatable-sorter::after,
.datatable-descending .datatable-sorter::before {
    opacity: 0.8;
}
.datatable-info {
    color: #6c757d;
    font-size: 0.9rem;
}
.datatable-pagination-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}
.datatable-pagination-list-item-link,
.datatable-pagination a,
.datatable-pagination button {
    display: block;
    min-width: 2.25rem;
    padding: 0.35rem 0.6rem;
    text-align: center;
    color: #0d6efd;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    text-decoration: none;
    cursor: pointer;
}
.datatable-pagination-list-item-link:hover,
.datatable-pagination a:hover,
.datatable-pagination button:hover {
    background: #e9ecef;
}
.datatable-active .datatable-pagination-list-item-link,
.datatable-pagination .datatable-active a,
.datatable-pagination .datatable-active button {
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}
.datatable-disabled .datatable-pagination-list-item-link,
.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled button,
.datatable-ellipsis .datatable-pagination-list-item-link {
    color: #adb5bd;
    cursor: default;
    background: #fff;
}
.datatable-empty {
    text-align: center;
    color: #6c757d;
}
