@import '../../styles-new/mixins.less';
// @import '../../styles-new/default.less';
@import '../../theme/components/tab.less';

@tabs-prefix-cls: im-tabs;
@tabs-default-bar-prefix-clsS: im-tabs-default-bars;
@tabs-default-bar-prefix-clsS-Arrow: im-tabs-default-bars-arrow;
@tabs-default-bar-prefix-clsM: im-tabs-default-barm;
@tabs-default-bar-prefix-clsM-Arrow: im-tabs-default-barm-arrow;
@tabs-default-bar-prefix-clsL: im-tabs-default-barl;
@badge-prefix-cls: im-badge;

@easing-in-out: cubic-bezier(0.35, 0, 0.25, 1);
@effect-duration: .3s;
@page-hide-color: rgba(255, 255, 255, 0);
@page-show-color: rgba(255, 255, 255, 1);

.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsS} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    margin-top: 9px;
    margin-bottom: 9px;
    font-size: @tabs-small-button-font-size;
    color: @tabs-small-button-color;
    height: @tabs-small-button-height;
    // line-height: @tabs-small-button-height;
    border-radius: @tabs-small-button-border-radius;
    background-color: @tabs-small-button-fill;
    font-weight: @tabs-small-button-font-weight;
    // margin: @tabs-small-padding-right;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    background-color: @tabs-small-button-fill-selected;
    color: @tabs-small-button-color-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsS} {
      &-content {
        display: flex;
        width: 100%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 0;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsS} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsS} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsS} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsS} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsS} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}

.@{tabs-default-bar-prefix-clsS-Arrow} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.containern {
  position: relative;

  .@{tabs-default-bar-prefix-clsS}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsS}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsS}-tab {
        margin-right: 10px;
        padding-left: @tabs-small-padding-right;
        padding-right: @tabs-small-padding-right;
        // height:@tabs-small-height;
        // width:auto;
        border-bottom: unset;
        position: relative;

        &:not(:nth-last-child(2)) {
          width: auto !important;

          &::after {
            display: block;
            left: auto;
            background-color: transparent;
            content: '';
            width: 100%;
            // height: 4px;
            box-sizing: border-box;
            // border-bottom: 2px solid transparent;
            // background-color: green;
            position: absolute;
            bottom: 10px;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsS}-active {
            &::after {
              border-bottom: 2px solid @tabs-small-button-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }

      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 100%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsS} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @tabs-small-button-font-size;
      color: @tabs-small-button-color;
      height: @tabs-small-button-height;
      // line-height: @tabs-small-button-height;
      border-radius: @tabs-small-button-border-radius;
      background-color: @tabs-small-button-fill;
      font-weight: @tabs-small-button-font-weight;
      // margin: @tabs-small-padding-right;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      background-color: @tabs-small-button-fill-selected;
      color: @tabs-small-button-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsS} {
        &-content {
          display: flex;
          width: 100%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 0;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsS} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsS} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsS} {
        &-content {
          display: flex;
          height: 100%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsS} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsS} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }
}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsS} {
    &-underline {
      >div {
        height: 2px;
        border-radius: 2px;
        margin-left: 'auto';
        margin-right: 'auto';
        width: 100%;
        // background-color: @brand-primary;
      }
    }
  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsS} {
    &-content {
      .@{tabs-default-bar-prefix-clsS}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsS}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsS}-top .@{tabs-default-bar-prefix-clsS}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsS}-bottom .@{tabs-default-bar-prefix-clsS}-tab {
    border-top: unset;
  }
}

.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsM} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  justify-content: center;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: @tabs-medium-font-size;
    font-weight: @tabs-medium-font-weight;
    // font-size: @tabs-font-size;
    color: @tabs-medium-color;
    height: @tabs-medium-height;
    // line-height: @tabs-medium-height;
    // font-size: @tabs-font-size;
    // color: @tabs-color;
    // height: @tabs-height;
    // line-height: @tabs-height;
    // font-weight: 400;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    color: @tabs-medium-color-selected;
    font-weight: @tabs-medium-font-weight-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsM} {
      &-content {
        display: flex;
        width: 99%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 0;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsM} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsM} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsM} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsM} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsM} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}

.@{tabs-default-bar-prefix-clsM-Arrow} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.containern {
  position: relative;

  .@{tabs-default-bar-prefix-clsM}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsM}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsM}-tab {
        height: @tabs-medium-height;
        margin-right: @tabs-medium-padding-right;
        font-size: @tabs-medium-font-size;
        font-weight: @tabs-medium-font-weight;
        border-bottom: unset;
        // position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;

        &:not(:nth-last-child(2)) {
          width: auto !important;

          &::after {
            display: block;
            left: auto;
            content: '';
            background-color: transparent;
            width: 20px;
            // height: 4px;
            box-sizing: border-box;
            // border-bottom: 2px solid transparent;
            // background-color: green;
            position: relative;
            bottom: -3px;
            left: auto;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsM}-tab-active {
            font-weight: @tabs-medium-font-weight-selected;
            margin-top: 1px;

            &::after {
              border-bottom: 2px solid @tabs-medium-line-tab-border-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }

      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 100%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsM} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
    justify-content: center;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @font-size-base-sm;
      color: @color-text-secondary;
      height: @tabs-height;
      // line-height: @tabs-height;
      font-weight: @tabs-medium-font-weight;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      color: @tabs-medium-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsM} {
        &-content {
          display: flex;
          width: 99%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 8px;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsM} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsM} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsM} {
        &-content {
          display: flex;
          height: 99%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsM} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsM} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }
}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsM} {
    &-underline {
      >div {
        height: @tabs-medium-line-tab-border-height-selected;
        border-radius: @tabs-medium-line-tab-border-radius-selected;
        // margin-left: 'auto';
        // margin-right: 'auto';
        bottom: 10px;
        margin: 0 auto;
        text-align: center;
        width: 20px;
        background-color: @tabs-medium-line-tab-border-color-selected;
      }
    }
  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsM} {
    &-content {
      .@{tabs-default-bar-prefix-clsM}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsM}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
          bottom: 10px;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsM}-top .@{tabs-default-bar-prefix-clsM}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsM}-bottom .@{tabs-default-bar-prefix-clsM}-tab {
    border-top: unset;
  }
}


.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsL} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: @tabs-large-font-size;
    font-weight: @tabs-large-font-weight;
    // font-size: @tabs-font-size;
    color: @tabs-color;
    height: @tabs-large-height;
    // line-height: @tabs-height;
    // font-weight: 400;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    color: @tabs-large-color-selected;
    font-weight: @tabs-large-font-weight-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsL} {
      &-content {
        display: flex;
        width: 100%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 5px;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsL} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsL} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsL} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsL} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsL} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}


.containern {
  position: relative;

  .@{tabs-default-bar-prefix-clsL}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsL}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsL}-tab {
        margin-right: @tabs-large-padding-right;
        font-size: @tabs-large-font-size;
        font-weight: @tabs-large-font-weight;
        border-bottom: unset;
        // position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;

        &:not(:nth-last-child(2)) {
          // width: auto !important;

          &::after {
            left: auto;
            display: block;
            content: '';
            width: 20px;
            // height: 4px;
            box-sizing: border-box;
            // border-bottom: 2px solid transparent;
            // background-color: green;
            position: relative;
            bottom: -3px;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsL}-tab-active {
            font-weight: @tabs-large-font-weight-selected;
            margin-top: 1px;

            &::after {
              border-bottom: @tabs-large-line-tab-border-height-selected solid @tabs-large-line-tab-border-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }
      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 100%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsL} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @font-size-base-sm;
      color: @color-text-secondary;
      height: @tabs-height;
      // line-height: @tabs-height;
      font-weight: @tabs-large-font-weight;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      color: @tabs-large-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsL} {
        &-content {
          display: flex;
          width: 100%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 8px;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsL} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsL} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsL} {
        &-content {
          display: flex;
          height: 100%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsL} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsL} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }
}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsL} {
    &-underline {
      >div {
        height: @tabs-large-line-tab-border-height-selected;
        border-radius: @tabs-large-line-tab-border-radius-selected;
        // margin-left: 'auto';
        // margin-right: 'auto';
        margin: 0 auto;
        width: 25px;
        background-color: @tabs-large-line-tab-border-color-selected;
      }
    }
  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsL} {
    &-content {
      .@{tabs-default-bar-prefix-clsL}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsL}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsL}-top .@{tabs-default-bar-prefix-clsL}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsL}-bottom .@{tabs-default-bar-prefix-clsL}-tab {
    border-top: unset;
  }
}

.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsS} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    margin-top: 9px;
    margin-bottom: 9px;
    font-size: @tabs-small-button-font-size;
    color: @tabs-small-button-color;
    height: @tabs-small-button-height;
    // line-height: @tabs-small-button-height;
    border-radius: @tabs-small-button-border-radius;
    background-color: @tabs-small-button-fill;
    font-weight: @tabs-small-button-font-weight;
    // margin: @tabs-small-padding-right;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    background-color: @tabs-small-button-fill-selected;
    color: @tabs-small-button-color-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsS} {
      &-content {
        display: flex;
        width: 100%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 8px;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsS} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsS} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsS} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsS} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsS} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}


.containern1 {
  position: relative;

  .@{tabs-default-bar-prefix-clsS}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsS}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsS}-tab {
        margin-right: 10px;
        padding-left: @tabs-small-padding-right;
        padding-right: @tabs-small-padding-right;
        // height:@tabs-small-height;
        // width: auto;
        border-bottom: unset;
        position: relative;

        &:not(:nth-last-child(1)) {
          width: auto !important;

          &::after {
            display: block;
            left: auto;
            background-color: transparent;
            content: '';
            width: 100%;
            // height: 4px;
            box-sizing: border-box;
            // border-bottom: 2px solid transparent;
            // background-color: green;
            position: absolute;
            bottom: 10px;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsS}-active {
            &::after {
              border-bottom: 2px solid @tabs-small-button-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }

      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 95%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsS} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @tabs-small-button-font-size;
      color: @tabs-small-button-color;
      height: @tabs-small-button-height;
      // line-height: @tabs-small-button-height;
      border-radius: @tabs-small-button-border-radius;
      background-color: @tabs-small-button-fill;
      font-weight: @tabs-small-button-font-weight;
      // margin: @tabs-small-padding-right;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      background-color: @tabs-small-button-fill-selected;
      color: @tabs-small-button-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsS} {
        &-content {
          display: flex;
          width: 100%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 0;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsS} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsS} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsS} {
        &-content {
          display: flex;
          height: 100%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsS} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsS} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }


}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsS} {
    &-underline {
      >div {
        height: 2px;
        border-radius: 2px;
        margin-left: 'auto';
        margin-right: 'auto';
        width: 100%;
        // background-color: @brand-primary;
      }
    }
  }

  .@{tabs-default-bar-prefix-clsS-Arrow} {
    &-content {
      display: flex;
      width: 100%;
      flex-direction: row;
    }

    &-tab {
      &:not(:nth-last-child(1)) {
        width: auto !important;
      }

      .arrow-tab {
        position: relative;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        margin-top: 9px;
        margin-bottom: 9px;
        margin-right: 10px;
        font-size: @tabs-small-button-font-size;
        color: @tabs-small-button-color;
        height: @tabs-small-button-height;
        // line-height: @tabs-small-button-height;
        border-radius: @tabs-small-button-border-radius;
        background-color: @tabs-small-button-fill;
        font-weight: @tabs-small-button-font-weight;
        padding-left: var(--spacing-m);
        padding-right: var(--spacing-m);
        white-space: nowrap;

        svg {
          width: 15px;
          height: 15px;
        }

        // margin: @tabs-small-padding-right;
        &-active {
          background-color: @tabs-small-button-fill-selected;
          color: @tabs-small-button-color-selected;
        }
      }
    }

    &-underline {
      display: none;
    }
  }

  .@{tabs-default-bar-prefix-clsM-Arrow} {
    &-content {
      display: flex;
      width: 100%;
      flex-direction: row;
    }

    &-tab {
      &:not(:nth-last-child(1)) {
        width: auto !important;
      }

      .arrow-tab {
        position: relative;
        display: flex;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        font-size: @tabs-medium-font-size;
        font-weight: @tabs-medium-font-weight;
        // font-size: @tabs-font-size;
        color: @tabs-medium-color;
        height: @tabs-medium-height;
        margin-right: 10px;
        white-space: nowrap;
        margin-right: 10px;

        svg {
          width: 15px;
          height: 15px;
        }

        &-active {
          color: @tabs-medium-color-selected;
          font-weight: @tabs-medium-font-weight-selected;
        }
      }
    }

    &-underline {
      display: none;
    }

  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsS} {
    &-content {
      .@{tabs-default-bar-prefix-clsS}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsS}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsS}-top .@{tabs-default-bar-prefix-clsS}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsS}-bottom .@{tabs-default-bar-prefix-clsS}-tab {
    border-top: unset;
  }
}

.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsM} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  justify-content: center;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: @tabs-medium-font-size;
    font-weight: @tabs-medium-font-weight;
    // font-size: @tabs-font-size;
    color: @tabs-medium-color;
    height: @tabs-medium-height;
    // line-height: @tabs-medium-height;
    // font-size: @tabs-font-size;
    // color: @tabs-color;
    // height: @tabs-height;
    // line-height: @tabs-height;
    // font-weight: 400;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    color: @tabs-medium-color-selected;
    font-weight: @tabs-medium-font-weight-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsM} {
      &-content {
        display: flex;
        width: 99%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 8px;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsM} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsM} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsM} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsM} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsM} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}


.containern1 {
  position: relative;

  .@{tabs-default-bar-prefix-clsM}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsM}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsM}-tab {
        height: @tabs-medium-height;
        margin-right: @tabs-medium-padding-right;
        font-size: @tabs-medium-font-size;
        font-weight: @tabs-medium-font-weight;
        border-bottom: unset;
        // position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;

        &:not(:nth-last-child(1)) {
          width: auto !important;

          &::after {
            display: block;
            // left: auto;
            content: '';
            background-color: transparent;
            width: 20px;
            // height: 4px;
            box-sizing: border-box;
            // border-bottom: 2px solid transparent;
            // background-color: green;
            position: relative;
            bottom: -3px;
            // left: auto;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsM}-tab-active {
            margin-top: 1px;
            font-weight: @tabs-medium-font-weight-selected;

            &::after {
              // margin-top: 5px;
              // position:absolute;
              // bottom:-4px;
              border-radius: 20%;
              border-bottom: 2px solid @tabs-medium-line-tab-border-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }

      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 95%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsM} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
    justify-content: center;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @font-size-base-sm;
      color: @color-text-secondary;
      height: @tabs-height;
      // line-height: @tabs-height;
      font-weight: 400;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      color: @tabs-medium-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsM} {
        &-content {
          display: flex;
          width: 99%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 0;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsM} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsM} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsM} {
        &-content {
          display: flex;
          height: 100%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsM} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsM} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }
}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsM} {
    &-underline {
      >div {
        height: @tabs-medium-line-tab-border-height-selected;
        border-radius: @tabs-medium-line-tab-border-radius-selected;
        // margin-left: 'auto';
        // margin-right: 'auto';
        margin: 0 auto;
        text-align: center;
        width: 20px;
        background-color: @tabs-medium-line-tab-border-color-selected;
      }
    }
  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsM} {
    &-content {
      .@{tabs-default-bar-prefix-clsM}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsM}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsM}-top .@{tabs-default-bar-prefix-clsM}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsM}-bottom .@{tabs-default-bar-prefix-clsM}-tab {
    border-top: unset;
  }
}


.common-pagination() {
  pointer-events: none;
  position: absolute;
  top: 0;
  display: block;
  width: 59 * @hd;
  height: 100%;
  content: ' ';
  z-index: @tabs-pagination-zindex;
}

// .im-tabs-vertical .im-tabs-content-wrap {
//   display: unset;
//   flex: unset;
//   height: auto;
// }

.@{tabs-prefix-cls} {
  box-sizing: border-box;

  * {
    box-sizing: border-box;
  }

  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;

  &-content-wrap {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;

    &-animated {
      transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
      will-change: transform, left, top;
    }
  }

  &-pane-wrap {
    width: 100%;
    flex-shrink: 0;
    overflow-y: auto;
  }

  &-tab-bar-wrap {
    flex-shrink: 0;
  }

  &-horizontal {
    .@{tabs-prefix-cls} {
      &-pane-wrap-active {
        height: auto;
      }

      &-pane-wrap-inactive {
        height: 0;
        overflow: visible;
      }
    }
  }

  &-vertical {
    .@{tabs-prefix-cls} {
      &-content-wrap {
        flex-direction: column;
      }

      &-tab-bar-wrap {
        height: 100%;
      }

      &-pane-wrap {
        height: 100%;
      }

      &-pane-wrap-active {
        overflow: auto;
      }

      &-pane-wrap-inactive {
        overflow: hidden;
      }
    }
  }

  &-top,
  &-bottom {
    flex-direction: column;
  }

  &-left,
  &-right {
    flex-direction: row;
  }

}

.@{tabs-default-bar-prefix-clsL} {
  position: relative;
  display: flex;
  flex-shrink: 0;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;

  &-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: @tabs-large-font-size;
    font-weight: @tabs-large-font-weight;
    // font-size: @tabs-font-size;
    color: @tabs-color;
    height: @tabs-large-height;
    // line-height: @tabs-height;
    // font-weight: 400;

    .@{badge-prefix-cls} {
      .@{badge-prefix-cls}-text {
        top: -13 * @hd;
        transform: translateX(-5 * @hd);
      }

      .@{badge-prefix-cls}-dot {
        top: -6 * @hd;
        transform: translateX(0);
      }
    }
  }

  &-tab-active {
    color: @tabs-large-color-selected;
    font-weight: @tabs-large-font-weight-selected;
  }

  &-underline {
    position: absolute;
    border: 1px @brand-primary-main solid;
    // force GPU acceleration
    transform: translate3d(0, 0, 0);
  }

  &-animated &-content {
    transition: transform @effect-duration @easing-in-out;
    will-change: transform;
  }

  &-animated &-underline {
    transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
    will-change: top, left, width, color;
  }

  &-top,
  &-bottom {
    flex-direction: row;

    .@{tabs-default-bar-prefix-clsL} {
      &-content {
        display: flex;
        width: 100%;
        flex-direction: row;
      }

      &-prevpage {
        .common-pagination();

        left: 0;
        background: linear-gradient(to right, @page-show-color, @page-hide-color);
      }

      &-nextpage {
        .common-pagination();

        right: 0;
        background: linear-gradient(to right, @page-hide-color, @page-show-color);
      }

      &-tab {
        padding: 8px 0;
      }

      &-underline {
        bottom: 5px;
      }
    }
  }

  &-top {
    .@{tabs-default-bar-prefix-clsL} {
      &-tab {
        // .hairline('bottom');
      }
    }
  }

  &-bottom {
    .@{tabs-default-bar-prefix-clsL} {
      &-tab {
        .hairline('top');
      }
    }
  }

  &-left,
  &-right {
    flex-direction: column;

    .@{tabs-default-bar-prefix-clsL} {
      &-content {
        display: flex;
        height: 100%;
        flex-direction: column;
      }

      &-tab {
        padding: 0 8px;
      }
    }
  }

  &-left {
    .@{tabs-default-bar-prefix-clsL} {
      &-underline {
        right: 0;
      }

      &-tab {
        .hairline('right');
      }
    }
  }

  &-right {
    .@{tabs-default-bar-prefix-clsL} {
      &-underline {
        left: 0;
      }

      &-tab {
        .hairline('left');
      }
    }
  }
}


.containern1 {
  position: relative;

  .@{tabs-default-bar-prefix-clsL}-top {

    // .hairline('bottom');
    div[role='tablist'] {
      .@{tabs-default-bar-prefix-clsL}-underline {
        display: none;
      }

      .@{tabs-default-bar-prefix-clsL}-tab {
        margin-right: @tabs-large-padding-right;
        font-size: @tabs-large-font-size;
        font-weight: @tabs-large-font-weight;
        border-bottom: unset;
        // position: relative;
        display: flex;
        text-align: center;
        justify-content: center;
        flex-direction: column;

        &:not(:nth-last-child(1)) {
          width: auto !important;

          &::after {
            // left: auto;
            display: block;
            content: '';
            width: 20px;
            // height: 4px;
            box-sizing: border-box;
            position: relative;
            bottom: -3px;

            // border-bottom: 2px solid transparent;
            // background-color: green;
            // position: absolute;
            // bottom: 0px;
            // z-index: 9999;
          }

          &.@{tabs-default-bar-prefix-clsL}-tab-active {
            font-weight: @tabs-large-font-weight-selected;
            margin-top: 1px;


            &::after {
              border-radius: 28%;
              border-bottom: @tabs-large-line-tab-border-height-selected solid @tabs-large-line-tab-border-color-selected;
            }
          }
        }

        // &:nth-last-child(2){
        //   width: 20%!important;
        // }
      }
    }


  }

  .tabMask {
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 44px;
    background: rgba(0, 0, 0, .6);
    z-index: 3;
  }

  .rightContet {
    // border: '2px solid blue';
    position: absolute;
    height: 43px;
    width: 22%;
    // padding-left: 8px;
    padding-right: 8px;
    top: 0px;
    right: 0px;
    z-index: 99;
    background-color: @fill-base;
    display: flex;
    justify-content: center;
    align-items: center;

    img {
      height: @icon-size-md;
      width: @icon-size-md;
    }

    .rightText {
      margin-left: 4px;
      // font-family: PingFangSC-Regular;
      font-size: @font-size-base;
      color: #2E6CC6;
      // line-height: 44px;
      font-weight: 400;
      flex-shrink: 0;
    }
  }

  .blankContent {
    background-color: @fill-base;
    box-sizing: border-box;
    // background-color: #77f79e;
    padding: @v-spacing-lg @h-spacing-lg;
    width: 95%;
    // height: 100px;
    position: absolute;
    top: 44px;
    right: 0px;
    z-index: 9;
    box-sizing: border-box;
  }

  .@{tabs-prefix-cls} {
    box-sizing: border-box;

    * {
      box-sizing: border-box;
    }

    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;

    &-content-wrap {
      display: flex;
      flex: 1;
      width: 100%;
      height: 100%;
      min-height: 0;

      &-animated {
        transition: transform @effect-duration @easing-in-out, left @effect-duration @easing-in-out, top @effect-duration @easing-in-out;
        will-change: transform, left, top;
      }
    }

    &-pane-wrap {
      width: 100%;
      flex-shrink: 0;
      overflow-y: auto;
    }

    &-tab-bar-wrap {
      flex-shrink: 0;
    }

    &-horizontal {
      .@{tabs-prefix-cls} {
        &-pane-wrap-active {
          height: auto;
        }

        &-pane-wrap-inactive {
          height: 0;
          overflow: visible;
        }
      }
    }

    &-vertical {
      .@{tabs-prefix-cls} {
        &-content-wrap {
          flex-direction: column;
        }

        &-tab-bar-wrap {
          height: 100%;
        }

        &-pane-wrap {
          height: 100%;
        }

        &-pane-wrap-active {
          overflow: auto;
        }

        &-pane-wrap-inactive {
          overflow: hidden;
        }
      }
    }

    &-top,
    &-bottom {
      flex-direction: column;
    }

    &-left,
    &-right {
      flex-direction: row;
    }
  }

  .@{tabs-default-bar-prefix-clsL} {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: row;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;

    &-tab {
      position: relative;
      display: flex;
      flex-shrink: 0;
      justify-content: center;
      align-items: center;
      font-size: @font-size-base-sm;
      color: @color-text-secondary;
      height: @tabs-height;
      // line-height: @tabs-height;
      font-weight: @tabs-large-font-weight;

      .@{badge-prefix-cls} {
        .@{badge-prefix-cls}-text {
          top: -13 * @hd;
          transform: translateX(-5 * @hd);
        }

        .@{badge-prefix-cls}-dot {
          top: -6 * @hd;
          transform: translateX(0);
        }
      }
    }

    &-tab-active {
      color: @tabs-large-color-selected;
    }

    &-underline {
      position: absolute;
      border: 1px @brand-primary-main solid;
      // force GPU acceleration
      transform: translate3d(0, 0, 0);
    }

    &-animated &-content {
      transition: transform @effect-duration @easing-in-out;
      will-change: transform;
    }

    &-animated &-underline {
      transition: top @effect-duration @easing-in-out, left @effect-duration @easing-in-out, color @effect-duration @easing-in-out, width @effect-duration @easing-in-out;
      will-change: top, left, width, color;
    }

    &-top,
    &-bottom {
      flex-direction: row;

      .@{tabs-default-bar-prefix-clsL} {
        &-content {
          display: flex;
          width: 100%;
          flex-direction: row;
        }

        &-prevpage {
          .common-pagination();

          left: 0;
          background: linear-gradient(to right, @page-show-color, @page-hide-color);
        }

        &-nextpage {
          .common-pagination();

          right: 0;
          background: linear-gradient(to right, @page-hide-color, @page-show-color);
        }

        &-tab {
          padding: 8px 0;
        }

        &-underline {
          bottom: 0;
        }
      }
    }

    &-top {
      .@{tabs-default-bar-prefix-clsL} {
        &-tab {
          // .hairline('bottom');
        }
      }
    }

    &-bottom {
      .@{tabs-default-bar-prefix-clsL} {
        &-tab {
          .hairline('top');
        }
      }
    }

    &-left,
    &-right {
      flex-direction: column;

      .@{tabs-default-bar-prefix-clsL} {
        &-content {
          display: flex;
          height: 100%;
          flex-direction: column;
        }

        &-tab {
          padding: 0 8px;
        }
      }
    }

    &-left {
      .@{tabs-default-bar-prefix-clsL} {
        &-underline {
          right: 0;
        }

        &-tab {
          .hairline('right');
        }
      }
    }

    &-right {
      .@{tabs-default-bar-prefix-clsL} {
        &-underline {
          left: 0;
        }

        &-tab {
          .hairline('left');
        }
      }
    }
  }
}

.@{tabs-prefix-cls}-horizontal,
.@{tabs-prefix-cls}-vertical {
  .@{tabs-default-bar-prefix-clsL} {
    &-underline {
      >div {
        height: @tabs-large-line-tab-border-height-selected;
        border-radius: @tabs-large-line-tab-border-radius-selected;
        // margin-left: 'auto';
        // margin-right: 'auto';
        margin: 0 auto;
        width: 25px;
        background-color: @tabs-large-line-tab-border-color-selected;
      }
    }
  }
}

.@{tabs-prefix-cls}-vertical.@{tabs-prefix-cls}-left {
  .@{tabs-default-bar-prefix-clsL} {
    &-content {
      .@{tabs-default-bar-prefix-clsL}-tab {
        height: 75px !important;
      }

      .@{tabs-default-bar-prefix-clsL}-underline {
        >div {
          width: 2px;
          height: 100%;
          background-color: @brand-primary;
        }
      }
    }
  }

  // .im-tabs-default-bar-content {
  //   .im-tabs-default-bar-tab {
  //     height: 75px!important;
  //   }

  // }
}

.@{tabs-prefix-cls}-no-seperator {
  .@{tabs-default-bar-prefix-clsL}-top .@{tabs-default-bar-prefix-clsL}-tab {
    border-bottom: unset;
  }

  .@{tabs-default-bar-prefix-clsL}-bottom .@{tabs-default-bar-prefix-clsL}-tab {
    border-top: unset;
  }
}

.im-tabs-pane-wrap {
  position: relative;
}

[class^="im-tabs-default-bar"] {
  svg {
    width: 10px;
    height: 10px;
    // margin-right: 5px;
    margin-left: 5px;
  }
}

.im-tabs-default-barl {
  svg {
    width: 20px;
    height: 20px;
    margin-left: 5px;

  }
}
