/* ========================================
   LEGEND
   ======================================== */

.legend {
  position: absolute;
  bottom: 32px;
  right: 15px;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
  line-height: 1.3;
  z-index: 9998;
  color: #e0e0e0;
}

.legend div {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.legend span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
}
