/* Custom styles for the geospatial web application */

/* Global styles */
.map-container {
    height: 600px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.sidebar {
    padding: 15px;
    border-radius: 5px;
}

.legend {
    background-color: rgba(33, 37, 41, 0.8);
    padding: 10px;
    border-radius: 5px;
    max-width: 200px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 3px;
}

.legend-value {
    font-size: 0.9rem;
}

/* Dashboard specific styles */
.dashboard-card {
    transition: transform 0.3s;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* TIF Viewer specific styles */
.tif-controls {
    margin-bottom: 20px;
}

.tif-info-panel {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.tif-click-results {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(33, 37, 41, 0.8);
}

/* Malaria Risk specific styles */
.risk-score {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.risk-low {
    color: var(--bs-success);
}

.risk-moderate {
    color: var(--bs-warning);
}

.risk-high {
    color: var(--bs-danger);
}

.risk-chart-container {
    height: 300px;
    margin-top: 20px;
}

/* Weather Data specific styles */
.weather-location-list {
    max-height: 500px;
    overflow-y: auto;
}

.weather-charts-container {
    margin-top: 20px;
}

.weather-data-table {
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    
    .sidebar {
        margin-top: 20px;
    }
}
