// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function progressRingElementCosmopolitanStyle() {
    return css `
:host {
  --progress-ring-background-color: unset;
  --progress-ring-border-color: unset;
  --progress-ring-border-radius: unset;
  --progress-ring-border-style: unset;
  --progress-ring-border-width: unset;
  --progress-ring-fill-color: unset;
  --progress-ring-font-family: unset;
  --progress-ring-font-letter-spacing: unset;
  --progress-ring-font-line-height: unset;
  --progress-ring-font-size: unset;
  --progress-ring-font-text-decoration: unset;
  --progress-ring-font-text-transform: unset;
  --progress-ring-font-weight: unset;
  --progress-ring-foreground-color: unset;
  --progress-ring-gap: unset;
  --progress-ring-padding-bottom: unset;
  --progress-ring-padding-left: unset;
  --progress-ring-padding-right: unset;
  --progress-ring-padding-top: unset;
  --progress-ring-shadow: unset;
  --progress-ring-transition-duration: unset;
  --progress-ring-transition-mode: unset;
  --progress-ring-transition-property: unset;
  --progress-ring-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  line-height: 0;
  display: block;
}

:host [part="root"] {
  vertical-align: middle;
  width: 100%;
  line-height: 1;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

:host [part="root"] [part="bar"] {
  stroke: var(--progress-ring-background-color);
}

:host [part="root"] .circle-path {
  transition-property: stroke-dashoffset stroke-dasharray stroke;
  transition-duration: var(--progress-ring-transition-duration);
  transition-timing-function: var(--progress-ring-transition-mode);
  transform-origin: 50%;
  stroke: var(--progress-ring-fill-color);
  animation: all ease-out var(--progress-ring-transition-duration);
  transform: rotate(-90deg);
}

:host [part="root"].indeterminate {
  transform-origin: center;
  width: 100%;
  height: 100%;
  margin: auto;
  animation: 2s linear infinite indeterminate;
  position: absolute;
  inset: 0;
}

:host [part="root"].indeterminate > circle {
  stroke: var(--progress-ring-fill-color);
  stroke-dasharray: 1 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: 1.5s ease-in-out infinite dash;
}

:host [part="hint"] {
  flex-direction: row;
  justify-content: space-between;
  display: flex;
}

@keyframes indeterminate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89 200;
    stroke-dashoffset: -132px;
  }
}

    `;
}
//# sourceMappingURL=ProgressRingElement.Cosmopolitan.js.map