/* 地图页面样式 */

.map-section {
    padding: 40px 0;
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-box {
    width: 40px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.level-1 {
    background-color: #e0f3ff;
}

.level-2 {
    background-color: #8ac4ff;
}

.level-3 {
    background-color: #2d7dd2;
}

.map-container {
    width: 100%;
    height: 600px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 30px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
}

.school-list {
    margin-top: 40px;
}

.school-list h2 {
    margin-bottom: 20px;
    color: #667eea;
}

.school-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.school-table th,
.school-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.school-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #667eea;
}

.school-table tr:hover {
    background: #f8f9fa;
}

.level-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.level-1 {
    background: #e0f3ff;
    color: #2d7dd2;
}

.level-2 {
    background: #8ac4ff;
    color: #1a4a8a;
}

.level-3 {
    background: #2d7dd2;
    color: white;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 12px;
}
