@include prefix(tab-group) {
  .tabs-header-horizontal {
    overflow: hidden;
    position: relative;

    .tabs-header-list {
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
      min-width: 100%;
      position: relative;
      transition: 300ms ease left;
    }

    .tabs-header-item {
      display: inline-block;
    }

    &.tabs-header-show-more {
      padding-right: 80px;

      .tabs-header-more-button {
        z-index: 1;
        position: absolute;
        background-color: plv(background-color);
        right: 0;
        top: 0;
        bottom: 0;
        width: 80px;
        box-shadow: 0 2px 8px plv(gray-4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: plv(text-1);
      }
    }
  }

  &.tabs-head-position-top, &.tabs-head-position-bottom {
    &.tabs-fit-height {
      display: flex;
      flex-direction: column;
      height: 100%;
      flex: 1;

      & > .tabs-body {
        flex: 1;
        overflow: hidden;
        display: flex;
        align-items: stretch;

        & > .inner-tab {
          flex: 1;
          overflow: auto;
        }
      }
    }
  }
}
