.rounded-progress {
  width: 150px;
  height: 150px;
  background: none;
  position: relative;

  &::after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #eee;
    position: absolute;
    top: 0;
    left: 0;
  }

  &.negative-progress {
    &::after {
      border: 6px solid #ee0006;
    }
  }

  > span {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 1;
  }

  .progress-left {
    left: 0;
  }

  .progress-bar {
    width: 100%;
    height: 100%;
    background: none;
    border-width: 6px;
    border-style: solid;
    position: absolute;
    top: 0;
  }

  .progress-left .progress-bar {
    left: 100%;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    border-left: 0;
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }

  .progress-right {
    right: 0;
  }

  .progress-right .progress-bar {
    left: -100%;
    border-top-left-radius: 80px;
    border-bottom-left-radius: 80px;
    border-right: 0;
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }

  .progress-value {
    position: absolute;
    top: 0;
    left: 0;
  }
}
