body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.table {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-header, .table-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-header {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.header-item, .row-item {
    flex: 1;
    text-align: center;
    padding: 5px;
}

.table-row:last-child {
    border-bottom: none;
}

.filter-section {
    margin-bottom: 20px;
}

#filter-input {
    padding: 8px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sortable {
    cursor: pointer;
}

.sortable:hover {
    background-color: #0b3ecc;
}

@media (max-width: 768px) {
    .header-item, .row-item {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-item, .row-item {
        font-size: 12px;
    }
}