* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #7f8c8d;
    font-size: 1.2em;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    margin-bottom: 20px;
}

#map {
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.info-panel {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 600px;
}

.info-panel h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.info-panel h3 {
    color: #34495e;
    margin: 15px 0 10px 0;
    font-size: 1.2em;
}

.info-panel p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.info-panel ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.info-panel li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.legend {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
}

.legend-icon {
    font-size: 1.5em;
    margin-right: 10px;
    width: 30px;
    text-align: center;
}

.impact-section {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

.impact-section h4 {
    color: #856404;
    margin-bottom: 10px;
}

.impact-list {
    list-style: none;
    margin-left: 0;
}

.impact-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.impact-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

.positive-impact {
    background: #d4edda;
    border-left-color: #28a745;
}

.positive-impact h4 {
    color: #155724;
}

.positive-impact li:before {
    content: "✅";
}

footer {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #7f8c8d;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .info-panel {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    header p {
        font-size: 1em;
    }
    
    #map {
        height: 400px;
    }
    
    .container {
        padding: 10px;
    }
}

/* Custom Popup Styles */
.leaflet-popup-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.popup-title {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.popup-content {
    font-size: 0.95em;
    line-height: 1.6;
}

.popup-content strong {
    color: #34495e;
}

/* Layer Control Styling */
.leaflet-control-layers {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
