.woo-product-table-wrapper {
    margin: 20px 0;
}

.woo-table-filters {
    background: #f7f7f7;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.woo-table-filters form {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    font-size: 14px;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 150px;
}

#apply-filters,
#reset-filters {
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

#apply-filters {
    background-color: #AB0003;
    color: white;
    border: none;
}

#apply-filters:hover {
    background-color: #AB0003;
}

#reset-filters {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
}

#reset-filters:hover {
    background-color: #e0e0e0;
}

.woo-product-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.woo-product-table th {
    background: #f7f7f7;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
}

.woo-product-table tr {
    border-bottom: 1px solid #eee;
}

.woo-product-table td {
    padding: 15px 12px;
    /* border-bottom: 1px solid #eee; */
    vertical-align: middle;
}

.woo-product-table tbody tr:hover {
    background: #f7f7f7;
}

.woo-product-table img {
    max-width: 60px;
    height: auto;
}

.product-excerpt {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.variation-select,
.qty-input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qty-input {
    width: 70px;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

.bulk-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    align-items: center;

    padding: 15px;
    background: #f7f7f7;
    border-radius: 5px;
}

#add-selected-to-cart {
    padding: 12px 30px;
    background-color: #AB0003;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#add-selected-to-cart:hover {
    background-color: #AB0003;
}

.selection-count {
    font-weight: 600;
    color: #666;
}

#table-messages {
    margin-top: 20px;
}

.woocommerce-message,
.woocommerce-error {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.woocommerce-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .woo-product-table {
        font-size: 14px;
    }

    .woo-product-table th,
    .woo-product-table td {
        padding: 8px;
    }

    .woo-table-filters form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group select,
    .filter-group input {
        min-width: 100%;
    }

    .woo-table-pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .pagination-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Pagination Styles */
.woo-table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 4px;
}

.pagination-info {
    font-weight: 600;
    color: #666;
}

.pagination-links {
    display: flex;
    gap: 5px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.page-link.active {
    background: #AB0003;
    color: white;
    border-color: #AB0003;
    font-weight: 600;
    pointer-events: none;
}
