.table-overflow {
    overflow-x: auto !important;
    scrollbar-width: auto;
    scrollbar-color: rgba(0, 0, 0, 0.35) #edf2f9;
}

.table-overflow::-webkit-scrollbar {
    height: 12px;
}

.table-overflow::-webkit-scrollbar-track {
    background: #edf2f9;
}

.table-overflow::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
}

table.dataTable {
    width: 100%;
    max-width: none;
}

table.dataTable thead th.row-selection,
table.dataTable tbody td.row-selection,
table.dataTable thead th.selection {
    width: 1%;
    min-width: 20px;
    white-space: nowrap;
}

table.dataTable thead th.options,
table.dataTable tbody td.options {
    width: 1%;
    min-width: 80px;
    white-space: nowrap;
}

table.dataTable thead th[data-is-resizable="true"] {
    cursor: grab;
}

table.dataTable thead th[data-is-resizable="true"],
table.dataTable thead th[data-is-resizable="true"] .dt-column-header {
    position: relative !important;
    overflow: hidden !important;
}

body.dynu-col-reordering,
body.dynu-col-reordering * {
    cursor: grabbing !important;
    user-select: none !important;
}

table.dataTable thead th .dt-column-header {
    width: 100%;
    min-width: 0;
}

table.dataTable thead th .dt-column-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.dataTable thead th .dt-colresize-handle {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 16px;
    height: 100%;
    z-index: 20;
    cursor: col-resize;
    pointer-events: auto !important;
}

table.dataTable thead th .dt-colresize-handle::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: opacity 0.12s ease;
}

table.dataTable thead th:hover .dt-colresize-handle::after,
table.dataTable thead th .dt-colresize-handle:hover::after {
    opacity: 1;
}

html[dir="rtl"] table.dataTable thead th .dt-colresize-handle,
html[dir="rtl"] table.dataTable thead th .dt-colresize-handle::after {
    right: auto;
    left: 0;
}

.dtcr-cloned,
table.dtcr-cloned,
thead.dtcr-cloned {
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    table-layout: auto !important;
}

.dtcr-cloned th,
.dtcr-cloned td,
.dtcr-cloned .dt-column-header {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}

.dtcr-cloned .dt-colresize-handle,
.dynu-col-ghost .dt-colresize-handle {
    display: none !important;
}

.dynu-col-ghost {
    display: block !important;
    box-sizing: border-box;
    position: fixed !important;
    z-index: 10050;
    pointer-events: none !important;
    opacity: 0.92;
    margin: 0 !important;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.dynu-col-ghost .dt-colresize-handle {
    display: none !important;
}

.dynu-col-drop-line {
    position: fixed;
    z-index: 10040;
    width: 3px;
    background: #2c7be5;
    pointer-events: none;
    border-radius: 2px;
}
