@charset "UTF-8";

html, body {width:100%; height:100%; margin:0;}

#map {
  height: 100%; /* 设置地图容器的高度 */
  width: 100%;
}

/* 永久显示的标题文字 */
Label {
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  padding: 2px 6px;
  white-space: nowrap;  /* 不换行 */
}

/* 红黄绿三种图标 */
.red-dot {
  background: #ff4200;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.yellow-dot {
  background: #ffd900;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.blue-dot {
  background: #1100ff;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

/* 图例容器 */
.legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;          /* 保证在地图之上 */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.6;
}

.legend-title {
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}