

.product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.actions a {
  margin-right: 8px;
}

/* 添加分页样式 */
.pagination {
  margin-top: 20px;
}

/* 分页控制区域样式 */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 10px 0;
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

  .page-size-selector label {
    margin-bottom: 0;
    font-weight: normal;
    color: #666;
  }

  .page-size-selector select {
    width: auto;
    display: inline-block;
  }

.pagination-nav {
  display: flex;
  align-items: center;
}

/* 批量操作工具栏样式 */
.batch-toolbar {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.batch-selection-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.batch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.selected-count {
  font-weight: 600;
  color: #0d6efd;
  background-color: #e7f1ff;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #b6d4fe;
}

/* 复选框样式 */
.select-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.table th:first-child,
.table td:first-child {
  width: 50px;
  text-align: center;
}

/* 悬浮工具栏样式 */
#batchFloatingContainer {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
}

#batchFloatingBtn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  position: relative;
}

  #batchFloatingBtn #floatingCount {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

.batch-floating-toolbar {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 15px;
  min-width: 300px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

  .batch-floating-toolbar.expanded {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

  /* 工具栏内部布局 */
  .batch-floating-toolbar .toolbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }

  .batch-floating-toolbar .toolbar-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .batch-floating-toolbar .btn {
    white-space: nowrap;
    font-size: 13px;
  }

/* 移动端适配 */
@media (max-width: 768px) {
  #batchFloatingContainer {
    bottom: 20px;
    right: 20px;
  }

  .batch-floating-toolbar {
    min-width: 280px;
    right: -50px;
  }
}

