/*
    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;
    }
*/
/*
* @prop --uic-check-list-item-height: The height.
*/
uic-check-list-item {
  box-sizing: border-box;
  display: flex;
  align-content: center;
  position: relative;
  height: var(--uic-check-list-item-height);
  padding: 0 8px;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  outline: none;
}
uic-check-list-item uic-checkbox {
  display: flex;
  width: 100%;
}
uic-check-list-item:focus-visible {
  border-color: var(--uic-color-blue2);
}

.uic-check-list-item__content-default {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.uic-check-list-item__content-primary {
  font-weight: var(--uic-font-weight-semibold);
}
.uic-check-list-item__icon {
  display: flex;
  margin-right: 8px;
}

[uic-scroll-init] > uic-check-list-item .uic-checkbox__label {
  padding-left: 20px;
  overflow: visible;
}

uic-check-list-item .uic-checkbox__label {
  display: flex;
  align-items: center;
}