body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    margin: 20px;
    color: #333;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

label {
    font-weight: bold;
    margin-right: 10px;
}

select,
input[type="text"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

th,
td {
    padding: 12px 14px;
    text-align: left;
}

th {
    background-color: #2c3e50;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

th.sort-asc::after {
    content: ' ▲';
}

th.sort-desc::after {
    content: ' ▼';
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #eaf2f8;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.pagination button {
    padding: 6px 10px;
    border: none;
    background-color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pagination button.active {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.pagination button:hover {
    background-color: #bdc3c7;
}

#searchInput {
    margin-left: 20px;
}