.chinamap-container {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.chinamap-wrapper {
    flex: 2;
    position: relative;
    padding: 10px;
    min-width: 0;
}

.chinamap-theme-title {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.chinamap-svg {
    width: 100%;
    height: auto;
    min-height: 500px;
}

.chinamap-svg .province {
    cursor: pointer;
    transition: all 0.3s ease;
}

.chinamap-svg .province:hover {
}

.chinamap-svg .province.active {
}

.chinamap-tooltip {
    position: absolute;
    display: none;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    max-width: 200px;
}

.chinamap-tooltip .tooltip-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 6px;
    color: #ffd700;
}

.chinamap-tooltip .tooltip-count {
    color: #a0d8ef;
}

.capital-marker {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.capital-marker:hover {
    transform: scale(1.5);
    opacity: 0.8;
}

.chinamap-sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.chinamap-sidebar h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 18px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.chinamap-qrcode-section {
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #e9ecef;
    border-radius: 8px;
}

.chinamap-qrcode-text {
    font-weight: bold;
    margin-bottom: 8px;
}

.chinamap-qrcode-img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.chinamap-search {
    margin-bottom: 15px;
}

.chinamap-search select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fafafa;
    cursor: pointer;
}

.chinamap-search select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.chinamap-shop-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.chinamap-city-group {
    margin-bottom: 12px;
}

.chinamap-city-name {
    font-weight: bold;
    font-size: 14px;
    color: #2c3e50;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
    text-align: center;
}

.chinamap-total-count {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #e74c3c;
    padding: 10px 0 0 0;
    margin-top: 8px;
    border-top: 2px solid #3498db;
}

.chinamap-province-group {
    margin-bottom: 16px;
}

.chinamap-province-name {
    font-weight: bold;
    font-size: 15px;
    color: #1a5276;
    padding: 8px 0;
    border-bottom: 2px solid #3498db;
    margin-bottom: 8px;
}

.chinamap-county-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
}

.chinamap-county-item {
    padding: 3px 0 3px 8px;
    font-size: 13px;
    color: #555;
}

.chinamap-county-count {
    color: #3498db;
    font-weight: bold;
}

.chinamap-loading {
    text-align: center;
    color: #999;
    padding: 20px;
}

.chinamap-no-data {
    text-align: center;
    color: #999;
    padding: 20px;
}

.chinamap-error {
    text-align: center;
    color: #e74c3c;
    padding: 40px 20px;
    font-size: 16px;
}

@media (max-width: 900px) {
    .chinamap-container {
        flex-direction: column;
    }

    .chinamap-sidebar {
        width: 100%;
    }

    .chinamap-svg {
        min-height: 400px;
    }
}
