/*
    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-charts-gauge-chart-general-font-size: line chart base text font size
* @prop --uic-charts-gauge-chart-text-color: line chart text color (labels, tooltip etc.)
* @prop --uic-charts-gauge-chart-value-label-font-weight: value label font weight
* @prop --uic-charts-gauge-chart-value-label-font-size: value label font size
* @prop --uic-charts-gauge-chart-full-arc-stroke-color: stroke/outline color of the background full arc
* @prop --uic-charts-gauge-chart-value-arc-fill-color: fill color of the value arc
* @prop --uic-charts-gauge-chart-threshold-arc-fill-color: default fill color of the threshold arcs
* @prop --uic-charts-gauge-chart-label-gap: gap size between value and label
* @prop --uic-charts-gauge-chart-label-max-width: max width of value and label
* @prop --uic-charts-gauge-chart-loading-overlay-color: color of the loading overlay
*/
uic-gauge-chart {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.uic-gauge-chart {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--uic-charts-gauge-chart-general-font-size);
  color: var(--uic-charts-gauge-chart-text-color, black);
  pointer-events: none;
}
.uic-gauge-chart__arc--background {
  stroke: var(--uic-charts-gauge-chart-full-arc-stroke-color);
  fill: none;
}
.uic-gauge-chart__arc--value {
  stroke: none;
  fill: var(--uic-charts-gauge-chart-value-arc-fill-color);
}
.uic-gauge-chart__arc--threshold {
  fill: var(--uic-charts-gauge-chart-threshold-arc-fill-color);
}
.uic-gauge-chart__label-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.uic-gauge-chart__labels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--uic-charts-gauge-chart-label-gap, 3rem);
  transform: translate(0, 100%);
}
.uic-gauge-chart__label {
  display: inline-block;
  max-width: var(--uic-charts-gauge-chart-label-max-width, 20rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.uic-gauge-chart__label--value {
  font-size: var(--uic-charts-gauge-chart-value-label-font-size);
  font-weight: var(--uic-charts-gauge-chart-value-label-font-weight);
}
.uic-gauge-chart__loading_indicator {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  background: var(--uic-charts-gauge-chart-loading-overlay-color, white);
}
.uic-gauge-chart uic-loader {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(188px, 25%);
  text-align: center;
  vertical-align: middle;
}
.uic-gauge-chart__no-data-indicator {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}