.pisell-number-selector {
  display: inline-flex;
  align-items: center;
  background: #F9FAFB;
  border-radius: 24px;
  padding: 4px;
  user-select: none;
  gap: 0;

  &-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F9FAFB;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    padding: 0;
    color: #666;

    &:hover:not(:disabled) {
      background: #E5E7EB;
      color: #333;
    }

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      
      &:hover {
        background: #F9FAFB !important;
        color: #666 !important;
      }
    }
  }

  &-minus,
  &-plus {
    // 圆形按钮，通过尺寸类控制大小
  }

  &-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-weight: 600;
    color: #000;
    min-width: 0;
    flex: 1;
    text-align: center;
    border: none;
    outline: none;
    font-family: inherit;

    &-clickable {
      cursor: pointer;
      transition: all 0.2s ease;

      &:hover {
        color: #333;
      }

      &:disabled {
        opacity: 0.6;
        cursor: not-allowed;

        &:hover {
          color: #000 !important;
        }
      }
    }
  }

  // 不同尺寸
  &-small {
    padding: 2px;
    border-radius: 18px;

    .pisell-number-selector-btn {
      width: 24px;
      height: 24px;
    }

    .pisell-number-selector-number {
      padding: 0 8px;
      font-size: 12px;
      min-width: 28px;
      height: 24px;
    }
  }

  &-middle {
    padding: 4px;
    border-radius: 24px;

    .pisell-number-selector-btn {
      width: 32px;
      height: 32px;
    }

    .pisell-number-selector-number {
      padding: 0 16px;
      font-size: 16px;
      min-width: 48px;
      height: 32px;
    }
  }

  &-large {
    padding: 6px;
    border-radius: 28px;

    .pisell-number-selector-btn {
      width: 40px;
      height: 40px;
    }

    .pisell-number-selector-number {
      padding: 0 20px;
      font-size: 18px;
      min-width: 64px;
      height: 40px;
    }
  }

  // 禁用状态
  &-disabled {
    opacity: 0.6;
    cursor: not-allowed;

    .pisell-number-selector-number {
      &-clickable {
        cursor: not-allowed;

        &:hover {
          color: #000 !important;
        }
      }
    }
  }
}

// Popover 相关样式
.pisell-number-selector-popover {
  .ant-popover-inner {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .virtual-keyboard-input-delete-icon {
    font-size: 16px;
    color: #666;
  }
} 