@import 'variables';

.navigation_header {
  $circle_size: 30px;

  display: flex;
  justify-content: space-between;

  .nav_step {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step_line {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;

    .line {
      flex-grow: 1;
      height: 0;
      border: 2px solid $medium-border-color;
    }
  }

  .circle {
    border: 3px solid $circle-color;
    border-radius: 50%;
    height: $circle_size;
    width: $circle_size;
  }

  i.icon-ok {
    display: none;
    color: $grey-text;
    text-align: center;
    line-height: $circle_size;
    width: $circle_size;
  }

  .completed {
    i.icon-ok {
      display: inline-block;
    }
  }

  .active {
    .circle {
      border: 3px solid $circle-highlighted;
    }

    i.icon-ok {
      color: $checkmark-color;
    }
  }
}
