.ty-progress-bar {
  display: flex;
  align-items: center;
  font-size: var(--ty-progress-font-size);
}
.ty-progress-bar__inner {
  flex: 1;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-color: var(--ty-progress-trail-bg);
}
.ty-progress-bar__bg {
  position: relative;
  text-align: right;
  height: 100%;
  transition: all 0.6s;
}
.ty-progress-bar__bg_primary {
  background-color: var(--ty-progress-stroke-color-primary);
}
.ty-progress-bar__bg_yellow {
  background-color: var(--ty-progress-stroke-color-warning);
}
.ty-progress-bar__bg_blue {
  background-color: var(--ty-progress-stroke-color-info);
}
.ty-progress-bar__bg_red {
  background-color: var(--ty-progress-stroke-color-danger);
}
.ty-progress-bar__bg_green {
  background-color: var(--ty-progress-stroke-color-success);
}
.ty-progress-bar__text {
  color: var(--ty-progress-text-color);
  margin-left: var(--ty-progress-text-offset);
  min-width: var(--ty-progress-text-min-width);
  text-align: right;
}
.ty-progress-bar__inner-text {
  color: var(--ty-progress-inner-text-color);
  font-size: var(--ty-progress-inner-text-font-size);
  margin: var(--ty-progress-inner-text-margin);
}
.ty-progress-bar__effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.ty-progress-bar__effect_striped {
  background-size: 20px 20px;
  background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  animation: ty-progress-striped 2s linear infinite;
}
.ty-progress-bar__effect_impulse {
  border-radius: inherit;
  opacity: 0;
  background: #fff;
  animation: ty-progress-impulse 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.ty-progress-bar_round .ty-progress-bar__inner, .ty-progress-bar_round .ty-progress-bar__bg {
  border-radius: 100px;
}
.ty-progress-bar_square .ty-progress-bar__inner, .ty-progress-bar_square .ty-progress-bar__bg {
  border-radius: 0;
}

.ty-progress-circle {
  display: inline-block;
  position: relative;
}
.ty-progress-circle__bg {
  stroke: var(--ty-progress-circle-trail);
  fill: none;
}
.ty-progress-circle__path {
  fill: none;
  transition: stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease;
}
.ty-progress-circle__path_primary {
  stroke: var(--ty-progress-stroke-color-primary);
}
.ty-progress-circle__path_yellow {
  stroke: var(--ty-progress-stroke-color-warning);
}
.ty-progress-circle__path_blue {
  stroke: var(--ty-progress-stroke-color-info);
}
.ty-progress-circle__path_red {
  stroke: var(--ty-progress-stroke-color-danger);
}
.ty-progress-circle__path_green {
  stroke: var(--ty-progress-stroke-color-success);
}
.ty-progress-circle__text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--ty-progress-circle-text-font-size);
}

@keyframes ty-progress-striped {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 0;
  }
}
@keyframes ty-progress-impulse {
  0% {
    opacity: 0.1;
    width: 0;
  }
  20% {
    opacity: 0.5;
    width: 0;
  }
  100% {
    opacity: 0;
    width: 100%;
  }
}