.pisell-form-tabs {
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  flex-wrap: nowrap;
  box-sizing: border-box;
  color: rgba(0, 0, 0, .65);
  background-color: rgba(0, 0, 0, .04);
  overflow-x: auto;

  /* 隐藏滚动条：兼容 WebKit（Chrome/Safari/Edge）、Firefox、IE/Edge 旧版 */
  -ms-overflow-style: none;
  scrollbar-width: none;

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

  &-item {
    min-height: 36px;
    min-width: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease,
      color 0.2s ease;
    user-select: none;
    white-space: nowrap;
    flex: 0 0 auto;
    outline: none;

    &-label {
      font-size: 14px;
      color: rgba(0, 0, 0, 0.65);
      font-weight: 400;
    }

    &:hover:not(&--active):not(&--disabled) {
      background-color: rgba(0, 0, 0, 0.06);
    }

    &--active {
      background-color: #ffffff;

      .pisell-form-tabs-item-label {
        color: #262626;
        font-weight: 500;
      }
    }

    &--disabled {
      cursor: not-allowed;
      opacity: 0.4;
    }
  }
}
