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

.wrapper {
  padding: 12px;
  margin-bottom: 12px;
  border-radius: $border-radius;
  background-color: $card-bg-color;
}

.card {
  padding: 12px;
  border-radius: $border-radius;
  background-color: $white;
}

.title {
  margin-bottom: 12px;
  @include TypographySymbolText($dark-color07);

  :global {
    .icon {
      margin-top: -2px;
    }
  }
}

.progress {
  position: relative;
  padding: 20px 0 51px 0;

  .bar {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: $border-radius;
    border: solid 1px $border-color;
    background-color: $card-bg-color;

    .colorBar {
      position: absolute;
      left: -1px;
      top: -1px;
      bottom: -1px;
      border-radius: 4px;
      background-color: $green-color04;
    }
  }

  .dots {
    position: relative;
    margin: 0 60px;

    & > div {
      position: absolute;
      top: -12px;
      transform: translateX(-50%);
      min-width: 100px;
      display: flex;
      flex-direction: column;
      align-items: center;
      @include TypographyParagraph($dark-color01);
    }
  }

  .circle {
    position: relative;
    width: 16px;
    height: 16px;
    margin-bottom: 7px;
    border-radius: 50%;
    border: solid 1px $border-color;
    background-color: $card-bg-color;

    &.checked {
      background-color: $green-color04;
      border-color: $green-color05;
    }

    :global {
      .icon {
        position: absolute;
        top: 0px;
        left: 0px;
      }
    }
  }
}
