.table-container.modern {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow-x: auto;
    margin-top: 1.5rem;
    transition: box-shadow 0.3s ease;
}

table.modern-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    color: #2b2f38;
}

.modern-table thead {
    background-color: #1f2937; /* slate-800 */
}

.modern-table th {
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    border-bottom: 1px solid #374151; /* slate-700 */
}

.modern-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.15s ease-in-out;
}

    .modern-table tbody tr:hover {
        background-color: #f1f5f9;
    }

.modern-table td {
    padding: 0.75rem 1rem;
    white-space: nowrap;
    vertical-align: middle;
    color: #374151;
}

@@media (max-width: 768px) {
    .modern-table th, .modern-table td {
        padding: 0.65rem 0.5rem;
        font-size: 0.82rem;
    }

    .table-container.modern {
        padding: 0.75rem;
    }
}

.pagination-wrapper {
    background-color: #1f2937; /* Match header background */
    border-radius: 999px;
    padding: 0.5rem 1rem;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-number-btn {
    background-color: transparent;
    border: none;
    color: #e5e7eb; /* Light gray text */
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .page-number-btn:hover {
        background-color: #374151; /* slate hover */
    }

    .page-number-btn.active {
        background-color: #6366f1; /* Indigo accent or your primary */
        color: white;
        font-weight: 600;
    }

.page-link-icon {
    background-color: transparent;
    border: none;
    color: #9ca3af; /* subtle gray for inactive icons */
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    transition: background-color 0.3s ease;
}

    .page-link-icon:hover {
        background-color: #374151;
        color: #ffffff;
    }

.page-item.disabled .page-link-icon {
    color: #4b5563;
    cursor: not-allowed;
}
