/* 城市选择器样式 */
.city-selector-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.city-selector-header {
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.city-selector-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
}

.current-city {
    font-size: 14px;
    color: #666;
}

.current-city span {
    color: #e4393c;
    font-weight: bold;
}

.city-section {
    margin-bottom: 30px;
}

.city-section h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #e4393c;
}

.hot-cities .city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-cities .city-item {
    display: inline-block;
    padding: 8px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.hot-cities .city-item:hover {
    background: #e4393c;
    color: #fff;
    border-color: #e4393c;
}

.province-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eee;
}

.province-group:last-child {
    border-bottom: none;
}

.province-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    width: 100px;
    float: left;
}

.province-group .city-list {
    margin-left: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.province-group .city-item {
    display: inline-block;
    padding: 5px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
}

.province-group .city-item:hover {
    background: #e4393c;
    color: #fff;
}

/* 顶部城市选择器 */
.top-city-selector {
    display: inline-block;
    position: relative;
    margin-left: 15px;
}

.top-city-selector .city-name {
    cursor: pointer;
    color: #666;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.top-city-selector:hover .city-name {
    border-color: #ddd;
    background: #fff;
}

.top-city-selector .city-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.top-city-selector:hover .city-dropdown {
    display: block;
}

.top-city-selector .hot-cities-quick {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.top-city-selector .hot-cities-quick a {
    display: inline-block;
    margin: 3px 5px;
    padding: 3px 10px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.top-city-selector .hot-cities-quick a:hover {
    color: #e4393c;
}

.top-city-selector .more-cities {
    text-align: center;
    margin-top: 10px;
}

.top-city-selector .more-cities a {
    color: #e4393c;
    text-decoration: none;
}
