.add-train-task {
  .header-tab {
    position: relative;
    padding: 20px 0 12px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
    line-height: 22px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 20px;
    .tab-title {
      position: relative;
      cursor: pointer;
      &:first-child {
        margin-right: 44px;
      }
      .step-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        font-size: 12px;
        text-align: center;
        line-height: 14px;
        margin-right: 8px;
        &.default-icon {
          border: 1px solid #999999;
          color: #999999;
        }
        &.active-icon {
          background-color: #2966ff;
          border: 1px solid #2966ff;
          color: #ffffff;
        }
      }

      .active-text {
        color: #2966ff;
      }

      .active-line {
        position: absolute;
        width: 32px;
        height: 2px;
        background: #2966ff;
        top: 34px;
        left: 16px;
        z-index: 999;
      }
    }

    &::after {
      content: ' ';
      height: 10px;
      width: 10px;
      border-width: 2px 2px 0 0;
      border-color: #999999;
      border-style: solid;
      transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
      position: absolute;
      top: 50%;
      left: calc(50% - 5px);
    }
  }

  .footer {
    position: fixed;
    left: 196px;
    bottom: 0;
    height: 58px;
    width: ~'calc(100% - 218px)';
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 72px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    z-index: 9999;
    .ant-btn {
      margin-left: 10px;
    }
  }
}
