.tahe-workflow-progress-host {
  position: relative !important;
  width: 100% !important;
  min-height: 112px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.a-loading--fullscreen.tahe-workflow-progress-host {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  height: 100% !important;
  min-height: 0 !important;
  background: var(--a-loading-bg, #1e1e1f) !important;
}

.tahe-workflow-progress-host--page {
  min-height: 260px !important;
}

.tahe-workflow-progress-host > .a-loading__spinner,
.tahe-workflow-progress-host > span:not(.tahe-workflow-progress),
.tahe-workflow-progress-host > .el-empty__image,
.tahe-workflow-progress-host > .el-empty__description {
  display: none !important;
}

.tahe-workflow-inline-spinner-hidden {
  display: none !important;
}

.tahe-workflow-progress {
  width: min(280px, 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

.tahe-workflow-progress__percent {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.tahe-workflow-progress__track {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.17);
}

.tahe-workflow-progress__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #7652e7 0%, #9c5ef6 58%, #c8b5ff 100%);
  transition: width 420ms ease-out;
}

@media (max-width: 640px) {
  .tahe-workflow-progress {
    width: min(240px, 78%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tahe-workflow-progress__bar {
    transition: none;
  }
}
