/* Census Map CSS */

/* Info control styling */
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 200px;
}

.info h4 {
    margin: 0 0 5px;
    color: #777;
    font-weight: bold;
}

/* Census tract styling */
.leaflet-interactive {
    cursor: pointer;
}

/* Highlight for census tracts */
.census-highlight {
    stroke: #666;
    stroke-width: 5;
    stroke-opacity: 1;
    fill-opacity: 0.7;
}

/* Legend styling */
.legend {
    padding: 8px 10px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    min-width: 180px;
}

.legend h4 {
    margin: 0 0 8px;
    color: #555;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.legend-items {
    margin-top: 10px;
    line-height: 20px;
}

.legend i {
    width: 20px;
    height: 20px;
    float: left;
    margin-right: 10px;
    opacity: 0.85;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Add some spacing between legend items */
.legend-items br {
    line-height: 2.5;
}