/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-progress {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}
.nut-progress-outer {
  flex: auto;
  border-radius: var(--nutui-progress-border-radius, 12px);
  height: var(--nutui-progress-height, 10px);
  background: var(--nutui-progress-background, var(--nutui-color-background, #f2f3f5));
}
.nut-progress-outer .nut-progress-active:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--nutui-progress-border-radius, 12px);
  animation: progressActive 2s ease-in-out infinite;
}
.nut-progress-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s;
  border-radius: var(--nutui-progress-border-radius, 12px);
  background: var(--nutui-progress-color, linear-gradient(135deg, var(--nutui-color-primary-stop-1, #ff475d) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%));
}
.nut-progress-text {
  display: flex;
  align-items: center;
  position: absolute;
  top: var(--nutui-progress-text-position-top, -4px);
  bottom: var(--nutui-progress-text-position-bottom, -4px);
  transition: all 0.4s;
  transform: translate(-50%);
}
.nut-progress-text-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: var(--nutui-progress-text-color, #ffffff);
  padding: var(--nutui-progress-text-padding, 0 5px);
  border-radius: var(--nutui-progress-text-border-radius, 5px);
  font-size: var(--nutui-progress-text-font-size, 9px);
  line-height: 1;
  background: var(--nutui-progress-text-background, linear-gradient(135deg, var(--nutui-color-primary-stop-1, #ff475d) 0%, var(--nutui-color-primary-stop-2, #ff0f23) 100%));
}
@keyframes progressActive {
  0% {
    background: rgba(255, 255, 255, 0.1);
    width: 0;
  }
  20% {
    background: rgba(255, 255, 255, 0.5);
    width: 0;
  }
  to {
    background: rgba(255, 255, 255, 0);
    width: 100%;
  }
}

[dir=rtl] .nut-progress-text,
.nut-rtl .nut-progress-text {
  transform: translate(50%);
}