/* Compact sorting indicators with balanced header spacing. */
table.dataTable > thead > tr > th:not(.sorting_disabled),
table.dataTable > thead > tr > td:not(.sorting_disabled) {
    position: relative !important;
    padding-left: 14px;
    padding-right: 14px;
    vertical-align: middle;
}

table.dataTable > thead > tr > [class*="sorting"]::before {
    display: none !important;
}

table.dataTable > thead > tr > [class*="sorting"]::after {
    content: "\2195" !important;
    display: block;
    position: absolute;
    top: 50% !important;
    right: 3px !important;
    bottom: auto !important;
    left: auto;
    transform: translateY(-50%);
    width: 9px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    -webkit-text-stroke: 0.3px currentColor;
    line-height: 16px;
    text-align: center;
    color: inherit;
    opacity: .35;
    pointer-events: none;
}

table.dataTable > thead > tr > .sorting_asc::after {
    content: "\2191" !important;
    opacity: .9;
}

table.dataTable > thead > tr > .sorting_desc::after {
    content: "\2193" !important;
    opacity: .9;
}

table.dataTable > thead > tr > .sorting_disabled::after,
table.dataTable > thead > tr > .sorting_asc_disabled::after,
table.dataTable > thead > tr > .sorting_desc_disabled::after {
    display: none;
}

table.dataTable > thead > tr > .sorting:focus-visible,
table.dataTable > thead > tr > .sorting_asc:focus-visible,
table.dataTable > thead > tr > .sorting_desc:focus-visible {
    outline: 2px solid var(--theme-primary, #2675a8);
    outline-offset: -2px;
}