@include prefix(tab-group) {
  &.tabs-head-position-left, &.tabs-head-position-right {
    display: flex;

    .tabs-body {
      flex: 1;
      box-sizing: border-box;
    }

    .tabs-header {
      position: relative;

      .tabs-header-item {
        line-height: 36px;
        padding: 0 16px;
        position: relative;
        z-index: 1;
        transition: all linear 150ms;
        white-space: nowrap;

        &:hover {
          color: plv(primary-6);
        }

        &.tabs-header-item-active {
          color: plv(primary-6);
          background-color: plv(primary-light-2);
        }
      }

      &.tabs-header-pos-left {

        &:before {
          position: absolute;
          content: '';
          right: 0;
          width: 2px;
          top: 0;
          bottom: 0;
          background-color: plv(secondary-light-2);
        }

        .tabs-header-item {
          text-align: right;
          border-right: solid 2px transparent;

          &:hover {
            border-right-color: plv(primary-2);
          }

          &.tabs-header-item-active {
            border-right-color: plv(primary-6);
          }
        }
      }

      &.tabs-header-pos-right {
        &:before {
          position: absolute;
          content: '';
          left: 0;
          width: 2px;
          top: 0;
          bottom: 0;
          background-color: plv(secondary-light-2);
        }

        .tabs-header-item {
          text-align: left;
          border-left: solid 2px transparent;

          &:hover {
            border-left-color: plv(primary-2);
          }

          &.tabs-header-item-active {
            border-left-color: plv(primary-6);
          }
        }
      }
    }

    &.tabs-fit-height {
      height: 100%;
      flex: 1;
      align-items: stretch;

      & > .tabs-header {
        overflow: auto;
      }

      & > .tabs-body {
        overflow: hidden;
        display: flex;
        align-items: stretch;

        & > .inner-tab {
          flex: 1;
          overflow: auto;
        }
      }
    }
  }

  &.tabs-head-position-left {
    .tabs-body {
      padding-left: 16px;
    }
  }

  &.tabs-head-position-right {
    .tabs-body {
      padding-right: 16px;
    }
  }
}
