html,body { height: 100%; margin: 0; font-family: system-ui, Arial, sans-serif; }
#map { width: 100%; height: 95vh; }
.widget-ui { position: absolute; top: 100px; left: 12px; z-index: 1000;
                background: rgba(255,255,255,0.95); padding: 10px; border-radius: 8px;
                box-shadow: 0 2px 10px rgba(0,0,0,0.15); font-size: 14px; }
.widget-ui label { display:block; font-weight:600; margin-bottom:4px; }
.widget-ui select, .widget-ui input[type=range] { width: 220px; }
.legend { background: white; padding: 8px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.2); font-size: 13px; }
.gradient-bar { width: 180px; height: 16px; border-radius: 4px; margin-bottom: 6px; border: 1px solid rgba(0,0,0,0.08); }
.small { font-size: 12px; color: #333; }
.attraction-list { max-height:140px; overflow:auto; margin-top:6px; padding-left: 10px; }
.footer-note { text-align:right; font-size:12px; color:#666; margin-top:6px; }
.control-row { margin-bottom:8px; }

.metrics-control {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.metrics-control button {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    padding: 6px;
    border: none;
    background: #4285f4;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}
.leaflet-attribution-flag{
    display: none!important;
}


.leaflet-tooltip.region-label {
      background: rgba(255,255,255,0.8);
      border: 1px solid #ccc;
      font-size: 12px;
      padding: 4px;
      border-radius: 4px;
}



.legend {
    background:white;
    padding:10px;
    line-height:1.5;
    box-shadow:0 0 8px rgba(0,0,0,0.4);
    border-radius:8px;
    font-family: Arial, sans-serif;
    width:180px;
  }
  .legend label {
    display:block;
    margin-bottom:5px;
    font-weight:bold;
    font-size: 14px;
  }
  .legend select {
    width:100%;
    padding:5px;
    margin-bottom:10px;
    border-radius:5px;
    border:1px solid #ccc;
    background:#f9f9f9;
    font-size: 14px;
  }


.leaflet-popup-content {
  font-family: "Segoe UI", Arial, sans-serif;
}
.leaflet-popup-content h3 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}
.leaflet-popup-content p {
  margin: 3px 0;
  font-size: 14px;
}