table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Header */
table.dataTable thead {
    background-color: #f9fafb;
}

table.dataTable thead th {
    color: #4b5563;
    font-weight: 600;
    padding: 16px 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* Row style */
table.dataTable tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.3s ease;
}

table.dataTable tbody tr:hover {
    background-color: #f9fafb;
}

table.dataTable tbody td {
    padding: 16px 12px;
    color: #111827;
}

/* Pagination */
.dataTables_wrapper .dataTables_paginate {
    padding: 16px 0;
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none;
    background: transparent;
    padding: 0;
    margin:0;
    font-weight: 500;
    color: #6b7280;
    border-radius: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: var(--color-primary);
    color: white !important;
}

/* Info and length dropdown */
.dataTables_wrapper .dataTables_info {
    padding: 16px 0;
    font-size: 13px;
    color: #6b7280;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 6px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
}

/* Optional scrollbar styling */
.dataTables_scrollBody {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f9fafb;
}

.dataTables_scrollBody::-webkit-scrollbar {
    height: 6px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 6px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: transparent;
    border: none;
    background: none;
}

.dataTables_wrapper .dataTables_paginate {
    padding: 0;
}

.page-item.active .page-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.page-link {
    color: var(--color-primary);
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    content: "";
}

table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    content: "";
}