/* Table Header */
.data-table thead {
    /*background: linear-gradient(to bottom, #4a5568, #2d3748);*/
    color: white;
}
/* First row header cells - with gradient */
.data-table thead tr:first-child th {
    padding: 12px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #2563eb;
    position: sticky;
    top: 0;
    z-index: 11;
    background: linear-gradient(to bottom, #4a5568, #2d3748);
}

.data-table thead th {
    padding: 12px 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #2563eb;
}

.data-table thead th:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

/* Filter row */
.data-table thead tr:nth-child(2) {
    background: #f1f5f9;
}

.data-table thead tr:nth-child(2) th {
    padding: 8px 4px;
    border-bottom: 2px solid #e2e8f0;
}

/* Filter inputs */
.data-table thead input,
.data-table thead select {
    width: 90%;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 13px;
    background: white;
}

.data-table thead input:focus,
.data-table thead select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Clickable columns */
.data-table thead th[onclick] {
    cursor: pointer;
    user-select: none;
}

.data-table thead th[onclick]:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Sortable column - default state (shows it's clickable) */
.data-table thead th.sortable {
    cursor: pointer;
    user-select: none;
}

.data-table thead th.sortable::after {
    content: ' ⇅';
    font-size: 10px;
    /*opacity: 0.5;*/
}

.data-table thead th.sortable:hover::after {
    opacity: 1;
}

/* Active sort states - override default */
.data-table thead th.sort-asc::after {
    content: ' ▲';
    font-size: 10px;
    opacity: 1;
}

.data-table thead th.sort-desc::after {
    content: ' ▼';
    font-size: 10px;
    opacity: 1;
}

/* Option B: Clean separators instead of zebra */
.data-table tbody tr {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.data-table tbody tr:hover {
    background-color: #f0f9ff;
}

tr.dragging {
    opacity: 0.5;
    background-color: #e0e0e0;
}

        tr.over {
            border-top: 2px solid #808080;
            /*border-top: 3px solid #007bff;*/
        }
