.pisell-lowcode__action-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0;

  .action-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    height: 44px;
    align-self: stretch;
    padding: 0 8px;
    color: white;
    background: #2C2C2C;
    border: 1px solid #2C2C2C;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;

    &:hover:not(:disabled) {
      background: #404040;
      border-color: #404040;
      color: white;
    }

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: #2C2C2C;
      border-color: #2C2C2C;
      color: white;
      
      &:hover {
        background: #2C2C2C !important;
        border-color: #2C2C2C !important;
        color: white !important;
        opacity: 0.5 !important;
      }
    }

    // Clear 按钮更小
    &.clear-button {
      flex: 0.8;
      border-color: #FF4D4F;
      
      &:hover:not(:disabled) {
        border-color: #FF7875;
      }
    }

    // Manuel 按钮正常大小，支持换行
    &.manuel-button {
      flex: 1;
      border-color: #CC8E50;
      align-items: center;
      
      &:hover:not(:disabled) {
        border-color: #CC8E50;
      }

      // 图标保持居中
      .anticon {
        align-self: center;
      }

      // Manuel按钮文本支持换行，保持与图标水平对齐
      span {
        white-space: pre-line !important;
        line-height: 1.15;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    // Customise 按钮更大一些
    &.customise-button {
      flex: 1.3;
      border-color: #8157D5;
      
      &:hover:not(:disabled) {
        border-color: #8157D5;
      }
    }

    // 图标样式
    .anticon {
      font-size: 22px;
    }

    // 文字样式和溢出处理
    span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
      font-weight: 600;
    }
    
    .pisell-lowcode-btn-icon {
      margin-right: 0;
      font-size: 22px;
    }
  }
}

// Toast 内容样式 - 确保行高和字体大小正确显示
.action-buttons-toast-content {
  line-height: 1.8 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: inherit !important;
}

// 价格调整覆盖层样式 - 现在通过 Portal 渲染到 document.body
.pisell-price-adjust-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999; // 由于现在渲染到 document.body，使用更高的 z-index
  display: flex;
  align-items: center;
  justify-content: center;
}

.pisell-price-adjust-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent; // 纯透明遮罩
  cursor: pointer; // 显示点击手势
}

.pisell-price-adjust-container {
  position: relative;
  z-index: 10000; // 确保键盘在遮罩之上
} 