.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background: var(--table-bg, white);
    color: var(--text-color, #333);
}

.styled-table thead {
    background: var(--table-header-bg, #007bff);
    color: var(--table-header-text, white);
    text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color, #ddd);
}

.styled-table tbody tr:hover {
    background: var(--table-hover-bg, #f2f2f2);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination-btn {
    background: var(--button-bg, #007bff);
    color: white;
    padding: 10px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.pagination-btn:hover {
    background: var(--button-hover-bg, #0056b3);
}

.current-page {
    font-size: 16px;
    font-weight: bold;
}

body.dark-mode {
    --table-bg: #1e1e1e;
    --text-color: white;
    --table-header-bg: #333;
    --table-header-text: #ddd;
    --border-color: #444;
    --table-hover-bg: #2a2a2a;
    --button-bg: #444;
    --button-hover-bg: #666;
}