table.sortable thead {
    background-color: #b5b5b5;
    color: black;
    font-weight: bold;
    cursor: default;
}

.table-heading {
    background-color: #EEEEEE;
}

.table-heading > th {
    font-weight: bold !important;
    font-size: 16px;
    text-align: center;
}

table.table-striped tbody tr:nth-child(2n+1) {
    background-color: #FFF !important;
}

table.table-striped tbody tr:nth-child(2n) {
    background-color: #EEEEEE !important;
}

table.table-stripped tbody tr:nth-child(2n+1) {
    background-color: #EEE !important;
}

table.table-stripped tbody tr:nth-child(2n) {
    background-color: #FFF !important;
}

table.table-hover > tbody > tr:hover {
    background-color: #d6d6d6 !important;
}

.table-page-controls {
    margin-top: -1px;
    border-top-left-radius: 0!important;
    border-top-right-radius: 0!important;
    border-bottom: 0;
    color: black;
    max-height: 34px;
}

.table-page-controls > div{
    font-size: 16px;
    text-align: center;
    position: relative;
    top: -8px;
}

.table-page-controls > div a, .table-page-controls > div span{
    text-decoration: none;
    color: #0067a0;
    margin: 0 10px;
    cursor: pointer !important
}

.table-page-controls > div span a{
    text-decoration: none;
    color: #0067a0;
    margin: 0 4px;
}

.table-page-controls > div span:hover, .table-page-controls > div span a:hover{
    color: #0067a0;
    cursor: pointer !important;
}

.table-previous-page-arrow {
    font-size: 40px;
    font-weight: 700;
    line-height: 20px!important;
    position: relative;
    top: 5px;
    left: 10px;
}

.table-next-page-arrow {
    font-size: 40px;
    font-weight: 700;
    line-height: 20px!important;
    position: relative;
    top: 5px;
    left: -10px;
}

/* Exports page: keep pagination and length controls aligned and readable. */
.exports-table-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    max-height: none;
}

.exports-table-controls > div {
    position: static;
    top: auto;
}

.exports-table-controls > div[id$='-page-controls'] {
    flex: 1;
    text-align: center;
}

.exports-table-controls > .table-vehicle-length {
    min-width: 160px;
}

.exports-table-controls a,
.exports-table-controls span {
    margin: 0 6px;
}

.exports-table-controls span a {
    margin: 0 6px;
}

.exports-table-controls .dataTables_length,
.exports-table-controls .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 400;
}

.exports-table-controls .dataTables_length select {
    min-height: 30px;
    padding: 4px 10px;
    line-height: 1.2;
    text-align: center;
    text-align-last: center;
}

.exports-table-controls .dataTables_length select option {
    text-align: center;
}
