@use '../../size';
.tp__tab-set {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;

  &__header {
    display: flex;
    flex-flow: row wrap;
    border-bottom: 1px solid var(--border-color);
    padding: 0  0 var(--padding-small) 0;
    gap: var(--gap-default);
    box-sizing: border-box;
  }

  &__tab {
    position: relative;

    .tp__icon-button {
      .svg-icon {
       height: 1.4rem;
       width: 1.4rem;
      }
    }
    .tp__text-button {
      color: var(--modest-text-color);
    }

    .tp__icon-button,
    .tp__text-button {
      &:hover {
        color: var(--tab-hover-color);
        fill: currentColor;
        background-color: var(--tab-hover-background-color);
      }
    }

    &--active {
      .tp__icon-button,
      .tp__text-button {
        background-color: var(--tab-active-background-color);
        color: var(--tab-active-color);
        fill: currentColor;
        border-color: var(--tab-active-border-color);
      }

    }

    &-desktop {
      display: block;
    }

    &-mobile {
      display: none;
    }

    @media (max-width: size.$mobile-breakpoint) {
      &-desktop {
        display: none;
      }

      &-mobile {
        display: block;
      }
    }
  }

  &__body {
    flex: 1;
    overflow: hidden;
    box-sizing: border-box;
  }

  &__panel {
    height: 100%;
    overflow: auto;
  }
}