/**
 * @file
 * SCSS for the Leaflet Choropleth module.
 */
/* line 6, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend {
  max-width: 250px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  opacity: 0.9;
  box-shadow: 0 1px 3px gray;
  background: white;
  line-height: 1.4;
}

/* line 17, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-title {
  margin-bottom: 8px;
  font-size: 1.2em;
  font-weight: bold;
}

/* line 23, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-subtitle,
.leaflet-choropleth-legend-notes {
  margin-bottom: 8px;
}

/* line 28, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-item {
  display: flex;
  margin-bottom: 4px;
}

/* line 33, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-color {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border: 1px solid #999;
}

/* line 41, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-label {
  font-size: 12px;
}

/* Toggle functionality styles */
/* line 46, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-toggle {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  line-height: 16px;
  text-align: center;
  color: #666;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}
/* line 61, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend-toggle:hover {
  background: white;
  color: #333;
}

/* line 67, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend {
  position: relative;
}
/* line 70, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend .legend-collapsed-label {
  display: none;
  font-size: 12px;
  font-weight: bold;
  color: #666;
}
/* line 77, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend.legend-collapsed {
  min-width: 60px;
  max-width: 80px;
  padding: 8px;
  cursor: pointer;
}
/* line 83, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend.legend-collapsed .leaflet-choropleth-legend-content {
  display: none;
}
/* line 87, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend.legend-collapsed .legend-collapsed-label {
  display: block;
}
/* line 91, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend.legend-collapsed .leaflet-choropleth-legend-toggle {
  display: none;
}
/* line 95, ../sass/leaflet_choropleth.scss */
.leaflet-choropleth-legend.legend-collapsed:hover {
  background: rgba(245, 245, 245, 0.9);
}

/* Compact legend for smaller screens */
@media (max-width: 640px) {
  /* line 103, ../sass/leaflet_choropleth.scss */
  .leaflet-choropleth-legend {
    max-width: 200px;
    padding: 5px;
  }
  /* line 107, ../sass/leaflet_choropleth.scss */
  .leaflet-choropleth-legend.legend-collapsed {
    max-width: 70px;
    padding: 6px;
  }

  /* line 113, ../sass/leaflet_choropleth.scss */
  .leaflet-choropleth-legend-color {
    width: 15px;
    height: 15px;
    margin-right: 5px;
  }

  /* line 119, ../sass/leaflet_choropleth.scss */
  .leaflet-choropleth-legend-label {
    font-size: 11px;
  }

  /* line 123, ../sass/leaflet_choropleth.scss */
  .leaflet-choropleth-legend-toggle {
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 14px;
  }
}
