/*
    Mixin to progressively-enhance :focus-visible, keeping :focus where not supported
    Add an arbitrary list of selectors into the arguments, and the styling in the block.
    I you pass no selectors to the mixin the parent ("ampersand") operator is used instead.

    There are two mixins: 
    - focus-visible: a generic focus-visible, giving you "slots" to decide what to render for :focus, :focus reset, and :focus-visible
    - focus-visible-outline: a focus-visible, which only resets the outline. If you don't need more custom resets, use this one!

    Use focus-visible:
    The key thing here is checking which slot is being rendered.
    For example, you can reset box-shadow here, or anything else.

    @include focus-visible using ($slot) {
        @if $slot == focus {
            outline: 2px solid transparent;
            box-shadow: 0 0 0 4px blue;
        }
        @if $slot == focusReset {
            box-shadow: none;
        }
        @if $slot == focusVisible {
            box-shadow: 0 0 0 4px blue;
        }
    }

    Use focus-visible-outline:
    @include focus-visible-outline("button", "a[href]") {
        outline: 2px solid blue;
    }

    Resulting CSS (compressed):

    button:focus,
    a[href]:focus {
        outline: 2px solid blue;
    }

    button:focus:not(:focus-visible),
    a[href]:focus:not(:focus-visible) {
        outline: none;
    }
    button:focus-visible,
    a[href]:focus-visible {
        outline: 2px solid blue;
    }
*/
.uic-table-head-sort {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.1s;
}
.uic-table-head-sort[sorted-direction=asc] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: var(--uic-line-height-normal);
  color: var(--uic-color-blue3);
  text-shadow: 0.25px 0 0.05px, -0.25px 0 0.05px;
}
.uic-table-head-sort[sorted-direction=asc] .uic-table-head-sort__icon svg:last-child {
  visibility: hidden;
}
.uic-table-head-sort[sorted-direction=desc] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: var(--uic-line-height-normal);
  color: var(--uic-color-blue3);
  text-shadow: 0.25px 0 0.05px, -0.25px 0 0.05px;
}
.uic-table-head-sort[sorted-direction=desc] .uic-table-head-sort__icon svg:first-child {
  visibility: hidden;
}
.uic-table-head-sort__icon {
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  right: 0;
  top: 0;
  height: 100%;
  margin-right: 2px;
  margin-left: -5px;
}
.uic-table-head-sort__icon svg {
  width: 22px;
  height: 12px;
}
.uic-table-head-sort__icon svg:last-child {
  margin-top: -7px;
}