@sale-detail-prefix: pisell-sale-detail;

.@{sale-detail-prefix}-tabs {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;

  &__nav {
    display: flex;
    flex: none;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding: 8px 6px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  &__tab {
    flex: none;
    min-width: 72px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;

    &--active {
      color: #fff;
      border-color: #7f56d9;
      background: #7f56d9;
    }
  }

  &__content {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
}
