/*
    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-data-group-color: color of a specific data group, set it inside of the datagroups css class.
* @prop --uic-charts-donut-chart-general-font-size: line chart base text font size
* @prop --uic-charts-donut-chart-text-color: line chart text color (labels, tooltip etc.)
* @prop --uic-charts-donut-chart-percentage-label-font-weight: percentage label font weight
* @prop --uic-charts-donut-chart-percentage-label-font-size: percentage label font size
* @prop --uic-charts-donut-chart-group-label-font-weight: data group label font weight
* @prop --uic-charts-donut-chart-group-label-font-size: data group label font size
* @prop --uic-charts-donut-chart-icon-label-size: size of data group icon
* @prop --uic-charts-donut-chart-loading-overlay-color: color of the loading overlay
*/
uic-donut-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.uic-donut-chart {
  font-size: var(--uic-charts-donut-chart-general-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--uic-charts-donut-chart-text-color, black);
}
.uic-donut-chart__label-percentage {
  font-weight: var(--uic-charts-donut-chart-percentage-label-font-weight, bold);
  font-size: var(--uic-charts-donut-chart-percentage-label-font-size, 1rem);
}
.uic-donut-chart__label-datagroup-name {
  font-weight: var(--uic-charts-donut-chart-group-label-font-weight, normal);
  font-size: var(--uic-charts-donut-chart-group-label-font-size, 0.8rem);
}
.uic-donut-chart__label-datagroup-icon {
  font-size: var(--uic-charts-donut-chart-icon-label-size, 1.75em);
}
.uic-donut-chart__label-polyline {
  fill: none;
  stroke-width: 1;
  stroke: var(--uic-charts-donut-chart-text-color, black);
}
.uic-donut-chart__slice {
  fill: var(--uic-charts-data-group-color, black);
}
.uic-donut-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-donut-chart-loading-overlay-color, white);
}
.uic-donut-chart uic-loader {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max(188px, 25%);
  text-align: center;
  vertical-align: middle;
}
.uic-donut-chart__no-data-indicator {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}