.pisell-batch-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;

  &__count {
    font-size: 14px;
    color: #FFFFFF;
    white-space: nowrap;
    font-weight: 400;
    line-height: 20px;
  }

  &__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;

    // 覆盖 GraphicTextCard 的默认样式，适配深色主题
    :global(.graphic-text-card--horizontal) {
      background: #1B1B1B !important;
      border: none !important;
      padding: 8px 12px !important;
      border-radius: 0 !important;
      transition: opacity 0.2s ease;
      gap: 4px !important;
      color: #FFFFFF !important;
      min-width: 120px !important;
      height: 48px !important;
      justify-content: center !important;

      .graphic-text-card__graphic {
        border-radius: 0 !important;
        color: #FFFFFF !important;
        width: 24px !important;
        height: 24px !important;

        // 确保图标颜色为白色（覆盖所有可能的图标元素）
        :global(.anticon),
        svg,
        i,
        span {
          color: #FFFFFF !important;
          fill: #FFFFFF !important;
        }

        // Iconfont 组件生成的元素
        :global(span[class*="iconfont"]) {
          color: #FFFFFF !important;
        }
      }

      .graphic-text-card__text {
        color: #FFFFFF !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 20px !important;
      }
    }
  }

  // 布局模式样式
  &--sticky-top,
  &--sticky-bottom {
    width: 100%;
  }

  &--float {
    min-width: 200px;
    max-width: 90vw;
  }

  &--inline {
    width: 100%;
  }

}

// Popover 中的按钮样式（全局作用域）
:global(.pisell-batch-action-bar__more-popover) {
  :global(.graphic-text-card--horizontal) {
    min-width: 160px !important;
    width: 160px !important;
    height: 40px !important;
  }
}
