.chart-container {
    height: 200px;
    margin: 20px 0;
}

.info.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.info.legend h4 {
    margin: 0 0 5px;
    font-size: 14px;
}

.info.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

main {
    display: flex;
    flex: 1;
    gap: 20px;
}

#map-container {
    flex: 2;
    position: relative;
}

#map {
    height: 100%;
    min-height: 500px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#info-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#info-panel {
    height: 100%;
}

#info-panel h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #3388ff;
    padding-bottom: 10px;
}

#info-panel h3 {
    color: #555;
    margin-top: 20px;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    color: #666;
    font-size: 0.9em;
}

.region-tooltip {
    background: rgba(255,255,255,0.8);
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: bold;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}

@media (max-width: 768px) {
    main {
        flex-direction: column;
    }
    
    #map {
        min-height: 300px;
    }
    
    #info-container {
        margin-top: 20px;
    }
}
