body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#map {
    height: 100vh;
    width: 100%;
}

.info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 280px;
}

.info-panel h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.info-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.dataset-controls {
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    padding: 8px;
    border-radius: 4px;
}

.dataset-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
}

.dataset-checkbox input[type="checkbox"] {
    margin-right: 6px;
}

.dataset-checkbox label {
    cursor: pointer;
    color: #333;
    flex: 1;
}

.control-buttons {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.control-buttons button {
    padding: 4px 8px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    font-size: 10px;
}

.control-buttons button:hover {
    background: #f0f0f0;
}

.gradient-bar {
    height: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-top: 10px;
}

.gradient-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-top: 3px;
    color: #666;
}

.stats {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.leaflet-popup-content h4 {
    margin: 0 0 8px 0;
    color: #333;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.links-section {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;
}

.links-section a {
    color: #0066cc;
    text-decoration: none;
    font-size: 11px;
}

.links-section a:hover {
    text-decoration: underline;
}