table.dataTable.fixedHeader-floating,
table.dataTable.fixedHeader-locked {
    background-color: white;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

table.dataTable.fixedHeader-locked {
    position: absolute !important;
}

@media print {
    table.fixedHeader-floating {
        display: none;
    }
}

html[data-bs-theme=dark] table.dataTable.fixedHeader-floating,
html[data-bs-theme=dark] table.dataTable.fixedHeader-locked {
    background-color: var(--bs-body-bg);
}

.dt-fixedheader.fixedHeader-floating.table.dataTable {
    width: auto !important;
}

.dt-fixedheader.fixedHeader-locked.table.dataTable {
    display: none;
}

.light-style .dtfh-floatingparenthead {
    border-bottom: 1px solid #e6e6e8;
}

.light-style .table-bordered.dt-fixedheader.fixedHeader-floating.table.dataTable thead > tr > th,
.light-style .table-bordered.dt-fixedheader.fixedHeader-locked.table.dataTable thead > tr > th {
    border-bottom-width: 1px;
    border-color: #e6e6e8;
}

.dark-style .dtfh-floatingparenthead {
    border-bottom: 1px solid #44485e;
}

.dark-style .table-bordered.dt-fixedheader.fixedHeader-floating.table.dataTable thead > tr > th,
.dark-style .table-bordered.dt-fixedheader.fixedHeader-locked.table.dataTable thead > tr > th {
    border-bottom-width: 1px;
    border-color: #44485e;
}
