/* Modern Order Overview Table Styles */
.wc-order-overview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wc-order-overview-table th,
.wc-order-overview-table td {
    padding: 16px;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
}

.wc-order-overview-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.wc-order-overview-table th:first-child {
    border-top-left-radius: 8px;
}

.wc-order-overview-table th:last-child {
    border-top-right-radius: 8px;
}

.wc-order-overview-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.wc-order-overview-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.wc-order-overview-table tr:hover {
    background-color: #f7fafc;
}

.wc-order-overview-table a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-order-overview-table a:hover {
    color: #2c5282;
}

/* Modern Pagination Styles */
.wc-order-overview-pagination {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.wc-order-overview-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wc-order-overview-pagination .page-numbers.current {
    background-color: #3182ce;
    color: #fff;
    border-color: #3182ce;
    font-weight: 600;
}

.wc-order-overview-pagination .page-numbers:hover:not(.current):not(.dots) {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
}

.wc-order-overview-pagination .dots {
    border: none;
    background: none;
    padding: 0 4px;
}

.wc-order-overview-pagination .prev,
.wc-order-overview-pagination .next {
    font-weight: 500;
    padding: 0 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-order-overview-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .wc-order-overview-pagination {
        flex-wrap: wrap;
    }
    
    .wc-order-overview-pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

.wc-order-overview-actions {
    margin-bottom: 20px;
    text-align: right;
}

.wc-order-overview-export {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #3182ce;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.wc-order-overview-export:hover {
    background-color: #2c5282;
    color: #ffffff;
}

.wc-order-overview-export::before {
    content: "\f119";
    font-family: dashicons;
    margin-right: 8px;
    font-size: 16px;
}

.deleted-product {
    color: #666;
    font-style: italic;
}

.products-export {
    margin-left: 10px;
    background-color: #4CAF50;
}

.products-export:hover {
    background-color: #45a049;
}

.wc-order-overview-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
