/* 批量操作相关样式 */

/* 强制修复复选框为正方形 */
.product-checkbox,
#selectAllProducts,
input[type="checkbox"].product-checkbox,
input[type="checkbox"]#selectAllProducts {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    cursor: pointer !important;
    margin: 0 auto !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* 确保复选框容器不影响尺寸 */
.form-check-input.product-checkbox {
    margin-top: 0 !important;
}

/* 批量工具栏 */
#batchToolbar {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 选中计数 */
#selectedCount {
    color: #667eea;
    font-size: 1.2em;
}

/* 表头全选复选框 */
#selectAllProducts {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 表格单元格对齐 */
#productTable td:first-child {
    text-align: center;
    vertical-align: middle;
    width: 50px;
}

#productTable th:first-child {
    text-align: center;
    width: 50px;
}

