@keyframes progress-loading {
  0% {
    transform: translate3d(-80%, 0, 0);
  }

  100% {
    transform: translate3d(-2%, 0, 0);
  }
}

.udp-progress-loading {
  overflow: hidden;
  position: relative;
  font-size: 0;

  span {
    display: inline-block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    margin: 0;
    background: var(--primary-color);
    box-shadow: 0px 0px 10px 1px var(--primary-4);
    animation: progress-loading 2s ease-out;
    animation-iteration-count: initial;
    animation-fill-mode: forwards;
  }
}

.udp-progress-loading-max {
  overflow: hidden;
  position: relative;
  font-size: 0;
  border-radius: 4px;
  background-color: rgb(245, 245, 245);

  span {
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    height: 8px;
    margin: 0;
    background: var(--primary-4);
    box-shadow: 0px 0px 10px 1px var(--primary-2);
    animation: progress-loading 2s ease-out;
    animation-iteration-count: initial;
    animation-fill-mode: forwards;
  }
}
