body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: #333;
}
header {
    background-color: #2b3e50;
    color: white;
    padding: 20px;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #4a6572;
    padding: 10px;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: #34495e;
}
.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.search-bar {
    text-align: center;
    margin: 20px 0;
}
.search-bar input {
    padding: 10px;
    width: 80%;
    max-width: 600px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.section {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.footer {
    background-color: #2b3e50;
    color: white;
    text-align: center;
    padding: 20px;
}

/* styles.css 文件中添加以下内容 */
body {
    font-family: Arial, sans-serif;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
input[type="text"] {
    width: 70%;
    padding: 10px;
    margin: 20px 0;
    box-sizing: border-box;
    font-size: 16px;
}
button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4a6572;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
button:hover {
    background-color: #34495e;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
th {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.triangle {
    font-size: 12px;
    margin-left: 5px;
}
.asc::after {
    content: '▲';
    color: #ccc;
    font-size: 10px;
}
.desc::before {
    content: '▼';
    color: #ccc;
    font-size: 10px;
}
.asc.active::after, .desc.active::before {
    color: #000;
}
tr:hover {
    background-color: #f5f5f5;
}
.pagination {
    margin-top: 20px;
}
.pagination button {
    margin: 0 5px;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #4a6572;
    padding: 10px;
    margin-bottom: 20px;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s;
}
nav a:hover {
    background-color: #34495e;
}

th {
    display: table-cell; /* 确保表头元素按表格单元显示 */
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    position: relative;
}