@import "common/var";
.el-steps-item {
  position: relative;
  flex: 1;
  margin-right: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  font-size: 0;
}

.el-steps-item:last-child {
  flex: none;
  margin-right: 0
}

.el-steps-item-active .el-steps-item-title {
  font-weight: $--font-weight-500;
}

.el-steps-item-node {
  padding: 2px;
  display: inline-block;
  margin-right: 4px;
  font-weight: $--font-weight-500;
  font-size: $--font-size-title-1;
  vertical-align: top;
}

.el-steps-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  // border-radius: 50%;
  border-radius: $--border-radius-circle;
  font-size: $--font-size-title-1;
  font-weight: $--font-weight-400;
  i{
    font-size: $--font-size-title-1
  }
}

.el-steps-item-wait .el-steps-icon {
  color: $--color-info-semi;
  background-color: $--color-secondary;
  border: 1px solid transparent
}

.el-steps-item-process .el-steps-icon {
  color: #fff;
  background-color: $--primary-6;
  border: 1px solid transparent
}

.el-steps-item-finish .el-steps-icon {
  color: #fff;
  background-color: $--primary-6;
  border: 1px solid transparent
}

.el-steps-item-error .el-steps-icon {
  color: #fff;
  background-color: $--danger-6;
  border: 1px solid transparent
}

.el-steps-item-title {
  position: relative;
  display: inline-block;
  padding-right: 8px;
  color: $--color-text-2;
  font-size: $--font-size-title-1;
  line-height: 24px;
  white-space: nowrap
}

.el-steps-item-wait .el-steps-item-title {
  color: $--color-text-2;
  font-weight: $--font-weight-400;
}

.el-steps-item-process .el-steps-item-title {
  color: $--color-text-1;
  font-weight: $--font-weight-400;
}

.el-steps-item-finish .el-steps-item-title {
  color: $--color-text-1;
  font-weight: $--font-weight-400;
}

.el-steps-item-error .el-steps-item-title {
  color: $--color-text-1;
  font-weight: $--font-weight-400;
}

.el-steps-item-content {
  display: inline-block;
  margin-top: 2px;
}

.el-steps-item-description {
  max-width: 140px;
  margin-top: 2px;
  color: $--color-text-3;
  font-size: $--font-size-body-1;
  white-space: normal;
  line-height: 20px;
}

.el-steps-item-wait .el-steps-item-description {
  color: $--color-text-3;
}

.el-steps-item-process .el-steps-item-description {
  color: $--color-text-3;
}

.el-steps-item-finish .el-steps-item-description {
  color: $--color-text-3;
}

.el-steps-item-error .el-steps-item-description {
  color: $--color-text-3;
}
.el-steps-horizontal.el-steps-label-horizontal[description="true"] {
  .el-steps-item {
    // display: flex;
    align-items: center;
    padding-top: 5px;
  }
}
.el-steps-horizontal.el-steps-label-horizontal[description="true"] {
  .el-steps-item-node {
    position: relative;
    // top: -10px;
  }
}
.el-steps-label-horizontal.el-steps-vertical {
  .el-steps-item {
    display: block;
  }
}
.el-steps-label-horizontal .el-steps-item:not(:last-child) .el-steps-item-title:after {
  position: absolute;
  top: 11.5px;
  left: 100%;
  display: block;
  box-sizing: border-box;
  width: 5000px;
  height: 1px;
  background-color: $--color-bg-4;
  content: ""
}

.el-steps-label-horizontal .el-steps-item.el-steps-item-process .el-steps-item-title:after {
  background-color: $--color-bg-4;
}

.el-steps-label-horizontal .el-steps-item.el-steps-item-finish .el-steps-item-title:after {
  background-color: $--primary-6;
}

.el-steps-label-horizontal .el-steps-item.el-steps-item-next-error .el-steps-item-title:after {
  background-color: $--danger-6
}

.el-steps-item:not(:last-child) .el-steps-item-tail {
  position: absolute;
  top: 13.5px;
  box-sizing: border-box;
  width: 100%;
  height: 1px
}

.el-steps-item:not(:last-child) .el-steps-item-tail:after {
  display: block;
  width: 100%;
  height: 100%;
  background-color: $--color-fill-4;
  content: ""
}

.el-steps-vertical .el-steps-item {
  overflow: visible;
}
.el-steps-vertical .el-steps-item:not(:last-child) .el-steps-item-tail {
  position: absolute;
  top: 0;
  left: 13.5px;
  box-sizing: border-box;
  width: 1px;
  height: 100%;
  padding: 34px 0 6px
}

.el-steps-vertical .el-steps-item:not(:last-child) .el-steps-item-tail:after {
  display: block;
  width: 100%;
  height: 100%;
  background-color: $--color-fill-4;
  content: ""
}

.el-steps-size-small.el-steps-vertical .el-steps-item:not(:last-child) .el-steps-item-tail {
  left: 11.5px;
  padding: 30px 0 6px
}

.el-steps-item:not(:last-child).el-steps-item-finish .el-steps-item-tail:after {
  background-color: $--primary-6
}

.el-steps-item:not(:last-child).el-steps-item-next-error .el-steps-item-tail:after {
  background-color: $--danger-6
}

.el-steps-size-small:not(.el-steps-vertical) .el-steps-item:not(:last-child) .el-steps-item-tail {
  top: 11.5px
}

.el-steps-size-small .el-steps-item-node {
  font-size: $--font-size-body-3
}

.el-steps-size-small .el-steps-item-title {
  font-size: $--font-size-body-3;
  line-height: 24px
}

.el-steps-size-small .el-steps-item-description {
  font-size: $--font-size-body-1;
  line-height: 20px;
}

.el-steps-size-small .el-steps-icon {
  width: 24px;
  height: 24px;
  font-size: $--font-size-body-3;
  line-height: 22px
}

.el-steps-size-small.el-steps-label-horizontal .el-steps-item:not(:last-child) .el-steps-item-title:after {
  top: 11.5px
}

.el-steps-label-vertical .el-steps-item {
  overflow: visible
}

.el-steps-label-vertical .el-steps-item-title {
  margin-top: 8px;
  padding-right: 0;
  line-height: 24px;
}

.el-steps-label-vertical .el-steps-item-node {
  margin-left: 56px
}

.el-steps-label-vertical .el-steps-item-tail {
  left: 96px;
  padding-right: 40px
}

.el-steps-label-vertical.el-steps-size-small .el-steps-item-node {
  margin-left: 58px
}

.el-steps-label-vertical.el-steps-size-small .el-steps-item-tail {
  left: 94px;
  padding-right: 36px
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:last-child).el-steps-item-finish:after {
  border-left: 20px solid $--primary-1;
}

.el-steps-changeable .el-steps-item-title,.el-steps-changeable .el-steps-item-description {
  transition: all .1s cubic-bezier(0,0,1,1)
}

.el-steps-changeable .el-steps-item:not(.el-steps-item-active):not(.el-steps-item-disabled) {
  cursor: pointer
}

.el-steps-changeable .el-steps-item:not(.el-steps-item-active):not(.el-steps-item-disabled):hover .el-steps-item-content .el-steps-item-title,.el-steps-changeable .el-steps-item:not(.el-steps-item-active):not(.el-steps-item-disabled):hover .el-steps-item-content .el-steps-item-description {
  //color: $--primary-6
}

.el-steps-line-less .el-steps-item-title:after {
  display: none!important
}

.el-steps-vertical {
  flex-direction: column
}

.el-steps-vertical .el-steps-item:not(:last-child) {
  min-height: 90px
}

.el-steps-vertical .el-steps-item-title:after {
  display: none!important
}

.el-steps-vertical .el-steps-item-description {
  max-width: none;
}

// .el-steps-vertical.el-steps-mode-default .el-steps-item-description {
//   max-width: calc(100% - 44px);
// }

.el-steps-label-vertical .el-steps-item-content {
  display: block;
  width: 140px;
  text-align: center;
}

.el-steps-mode-dot.el-steps-label-vertical .el-steps-item-content {
  position: absolute;
  top: -4px;
  width: 80px;
  .el-steps-item-title{
    width: 100%;
    word-break: break-all;
    white-space: pre-wrap;
  }
}
.el-steps-mode-dot.el-steps-vertical{
  .el-steps-item-content{
    margin-top: 2px;
  }
}


.el-steps-label-vertical .el-steps-item-description {
  max-width: none;
  line-height: 20px;
}

