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

.steps {
  height: 64px;
  background-color: $bg-color;

  & > ul {
    padding: 0 20px;

    & > li {
      display: inline-block;
      vertical-align: middle;
      min-width: 180px;
      padding: 12px 15px 12px;

      &.current {
        background-color: $white;

        .icon {
          &::after {
            content: '';
            border-color: $border-focus-color;
          }
        }
      }

      &.finished {
        .icon {
          &::after {
            content: '';
            border-color: $border-focus-color;
            background-color: $border-focus-color;
          }
        }
      }
    }
  }

  .icon {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;

    &::after {
      content: '';
      display: block;
      position: absolute;
      right: 0;
      bottom: 0;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      border: 2px solid $border-color;
      background-color: $white;
    }
  }

  .text {
    display: inline-block;
    vertical-align: middle;
  }
}
