body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.hero {
    text-align: center;
    padding: 60px 20px 30px;
}

.hero h1 {
    color: #1a1a1a;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.1em;
    color: #555;
}

.search-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box input, .search-box select {
    width: 180px;
    margin-bottom: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 10px 15px;
    height: 44px;
}

.search-box button {
    height: 44px;
    border-radius: 8px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover { background-color: #2980b9; }

#result-area {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* 卡片样式升级 */
.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card h4 { margin: 0; font-size: 1.25em; color: #2c3e50; }
.info { color: #666; font-size: 0.9em; margin-top: 8px; }

/* 标签样式 */
.tag { font-size: 0.85em; padding: 4px 10px; border-radius: 20px; font-weight: bold; margin-left: 10px; }
.tag-chong { background-color: #ffefef; color: #e74c3c; border: 1px solid #e74c3c; }
.tag-wen { background-color: #f0f7ff; color: #3498db; border: 1px solid #3498db; }
.tag-bao { background-color: #eafff0; color: #27ae60; border: 1px solid #27ae60; }

/* 志愿表侧边栏（毛玻璃特效） */
#favorite-panel {
    position: fixed;
    right: 30px;
    top: 120px;
    width: 300px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px); /* 毛玻璃特效 */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    max-height: 75vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    box-sizing: border-box;
}

#favorite-panel h3 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; color: #333; }
.fav-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #ccc; font-size: 0.95em; }
.fav-item button { background: none; color: #e74c3c; border: none; padding: 0; font-size: 0.85em; cursor: pointer; width: auto; margin: 0; }
.add-btn { background-color: #2ecc71; color: white; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.85em; margin-top: 12px; transition: background 0.2s; }
.add-btn:hover { background-color: #27ae60; }