@import '~scss/variables';
@import '~scss/mixins';

.wrapper {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 10px;
  border-radius: 5px;
  background-color: $bg-color;
  overflow: hidden;
}

.bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: $blue;
  transition: all 0.6s ease;
  z-index: 1;

  &.warning {
    background-color: $warning;
  }

  &.danger {
    background-color: $danger;
  }
}

.text {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 2;
}

.rightText {
  position: absolute;
  right: 20px;
  @include TypographyParagraph($dark-color01);
  z-index: 2;
}
