@include prefix(arrow-step-group) {
  display: flex;
  align-items: center;
  height: 40px;

  &.disabled-arrow-item-transition {
    @include comp(arrow-step) {
      .arrow-step-content, .#{componentName(triangle)} {
        transition: none !important;
      }
    }
  }

  @include prefix(arrow-step) {
    flex: 1;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;

    .arrow-step-sequence {
      font-style: italic;
      font-size: 1.2em;
    }

    .arrow-step-content {
      flex: 1;
      overflow: hidden;
      height: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 16px;
      color: plv(pbfc);
    }

    .#{componentName(triangle)} {

      &.triangle-direction-top, &.triangle-direction-bottom {
        position: absolute;
        right: 100%;

        &.triangle-direction-top {
          bottom: 0;
        }

        &.triangle-direction-bottom {
          top: 0;
        }
      }
    }

    .arrow-step-content, .#{componentName(triangle)} {
      transition: all ease 300ms;
    }

    &:not(:first-child) {
      margin-left: 4px;
    }

    &.arrow-step-status-wait {
      .arrow-step-content {
        background-color: plv(secondary-light-2);
        color: plv(text-3);
      }

      .#{componentName(triangle)} {
        color: plv(secondary-light-2);
      }
    }

    &.arrow-step-status-process, &.arrow-step-status-finish {
      .arrow-step-content {
        background-color: plv(primary-6);
        color: plv(pbfc);
      }

      .#{componentName(triangle)} {
        color: plv(primary-6);
      }
    }

    &.arrow-step-status-success {
      .arrow-step-content {
        background-color: plv(success-6);
        color: plv(pbfc);
      }

      .#{componentName(triangle)} {
        color: plv(success-6);
      }
    }

    &.arrow-step-status-error {
      .arrow-step-content {
        background-color: plv(error-6);
        color: plv(pbfc);
      }

      .#{componentName(triangle)} {
        color: plv(error-6);
      }
    }

    &:first-child {
      .arrow-step-content {
        border-top-left-radius: plv(box-size-normal-border-radius);
        border-bottom-left-radius: plv(box-size-normal-border-radius);
      }
    }
    &:last-child {
      .arrow-step-content {
        border-top-right-radius: plv(box-size-normal-border-radius);
        border-bottom-right-radius: plv(box-size-normal-border-radius);
      }
    }
  }
}
