#filters {
    margin-bottom: 20px;
}

#filters input, #filters button {
    margin-right: 10px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.audio-button {
    padding: 5px 10px;
    background-color: #4483c3;
    color: white;
    border: none;
    cursor: pointer;
}

.audio-button:hover {
    background-color: #3d76b0;
}

/* 查询页面专用样式 */
.back-link {
    display: flex;
    align-items: center;
}

.btn-back {
    color: #4483c3;
    font-size: 16px;
    text-decoration: none;
}

.page-title {
    font-weight: 500;
    font-size: 14px;
}

.search-section {
    display: flex;
    margin: 15px;
    gap: 10px;
}

.search-section input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#search-btn {
    background-color: #4483c3;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-section {
    margin: 0 15px 15px;
}

.filter-toggle {
    width: 100%;
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.filters-panel {
    display: none;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filters-panel.show {
    display: block;
}

.filter-row {
    margin-bottom: 10px;
}

.filter-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
}

.date-filters {
    display: flex;
    gap: 10px;
}

.date-filters input {
    flex: 1;
}

.query-results {
    flex: 1;
    overflow: auto;
    margin: 0 15px;
}

#no-results-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

#records-container {
    overflow-x: auto;
}

#records-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#records-table th, #records-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

#records-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

#records-table tr:hover {
    background-color: #f9f9f9;
}

.audio-button {
    padding: 5px 10px;
    background-color: #4483c3;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.audio-button:hover {
    background-color: #3d76b0;
}

@media (max-width: 480px) {
    .date-filters {
        flex-direction: column;
        gap: 5px;
    }
    
    #records-table {
        font-size: 11px;
    }
    
    #records-table th, #records-table td {
        padding: 8px 5px;
    }
    
    .audio-button {
        padding: 3px 6px;
        font-size: 10px;
    }
}