.custom-table-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.custom-table th,
.custom-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.custom-table th {
    background-color: #f2f2f2;
}

.custom-table tr:hover {
    background-color: #f5f5f5;
}

.table-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.per-page-select,
.status-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-items-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
}

.order-items-modal .custom-table {
    margin-bottom: 10px;
}

.order-items-modal .close-modal {
    display: block;
    margin: 0 auto;
}

.items-count {
    margin-top: 10px;
}

.pagination {
    margin-top: 10px;
}

.pagination a {
    margin-right: 5px;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
}

.pagination a.active {
    background-color: #0073aa;
    color: white;
}

.view-items .dashicons-search,
.save-status .dashicons-saved,
.apply-approval .dashicons-saved {
    font-size: 20px;
    vertical-align: middle;
}

.order-count {
    color: #0073aa;
    text-decoration: none;
}

.order-count:hover {
    text-decoration: underline;
}

.custom-table td.spend,
.custom-table td.order-count,
.custom-table td.order-id,
.custom-table td.total,
.custom-table td.view-items {
    text-align: center;
}

.custom-table td.full-name {
    min-width: 150px;
}