/* Light table polish: softer header and borders only */
.table th, .table td { vertical-align: middle; border-color: #eef0f3; }
.table thead th { font-weight: 600; color: #495057; background: #f8f9fa; border-bottom: 1px solid #e3e6ea; white-space: nowrap; }

/* Locked table: the page stays put, rows scroll inside the box, header stays visible */
.data-scroll { padding-top: 0 !important; }
.data-scroll { overflow: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e3e6ea; border-radius: 6px; background: #fff; }
.data-scroll > table { margin-bottom: 0 !important; margin-top: 0 !important; }
.data-scroll thead th { position: sticky !important; top: 0; z-index: 2; box-shadow: inset 0 -1px 0 #e3e6ea; }

/* DataTables pager (Bootstrap 4 markup the theme leaves unstyled) */
.dataTables_wrapper .dataTables_paginate { display: flex; justify-content: flex-end; }
.data-section .pagination .page-item .page-link { border-radius: 4px; margin: 0; }
.dataTables_wrapper .pagination, .data-section .pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: .5rem 0 0; padding: 0; list-style: none; }
.dataTables_wrapper .pagination .page-link, .data-section .pagination .page-link { display: block; min-width: 32px; padding: .3rem .6rem; font-size: .8125rem; line-height: 1.4; text-align: center; color: #495057; background: #fff; border: 1px solid #e3e6ea; border-radius: 4px; text-decoration: none; }
.dataTables_wrapper .pagination .page-link:hover, .data-section .pagination .page-link:hover { background: #f8f9fa; color: #212529; }
.dataTables_wrapper .pagination .active .page-link, .data-section .pagination .active .page-link { background: #ed1c23; border-color: #ed1c23; color: #fff; }
.dataTables_wrapper .pagination .disabled .page-link, .data-section .pagination .disabled .page-link { color: #adb5bd; pointer-events: none; background: #fff; }
.dataTables_wrapper .dataTables_info { font-size: .8125rem; color: #6c757d; padding-top: .85rem; }
.dataTables_wrapper .dataTables_length { font-size: .8125rem; color: #6c757d; }
.dataTables_wrapper .dataTables_length select { height: 30px; font-size: .8125rem; padding: 0 .4rem; margin: 0 .25rem; }
