/* Shared Orders/Staff sorting. crm-staff-shared-table-sort-1 */
.table-sort {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px;
  border: 0;
  border-right: 1px solid #eef2f6;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.table-sort:hover,
.table-sort.active {
  background: #dfeaf7;
  color: #245da8;
}

.table-sort span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-sort em {
  min-width: 14px;
  color: #245da8;
  font-style: normal;
  font-weight: var(--ui-weight-black, 900);
  text-align: center;
}

@media (min-width: 1000px) {
  .orders-list__row--head:has([data-order-column-settings]) > .table-sort,
  .staff-desktop-table--shared-sort [data-staff-shared-sort-header] > .table-sort {
    position: relative;
    cursor: grab;
  }
  .orders-list__row--head:has([data-order-column-settings]) > .table-sort:not(:hover, :focus-visible) > em,
  .staff-desktop-table--shared-sort [data-staff-shared-sort-header] > .table-sort:not(:hover, :focus-visible) > em {
    opacity: 0;
  }
}
