
/* 使用CSS变量确保主题一致性 */
.product-table-container {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    margin-bottom: 2rem;
}

.table-header h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.table-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-image {
    transition: var(--transition-normal);
    cursor: pointer;
}

.product-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.table th {
    background-color: var(--bg-section);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--border-light);
    padding: 1rem 0.75rem;
}

.table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-light);
}

.table tbody tr:hover {
    background-color: var(--bg-hover);
    transition: var(--transition-fast);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.info-section {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.info-section h4 {
    color: var(--text-primary);
}

.text-success {
    color: var(--accent-color) !important;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .product-table-container {
        padding: 1rem;
    }

    .table-responsive {
        border-radius: var(--radius-sm);
    }

    .product-image {
        width: 60px !important;
        height: 45px !important;
    }

    .btn-outline-primary {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* 表格条纹效果 */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--bg-light);
}
