html,
body,
#map {
  margin: 0;
  height: 100%;
}

#info {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font: 14px sans-serif;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

#info.error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #f87171;
  font-weight: 600;
}

#controls-panel {
  position: absolute;
  top: 50px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 220px;
  font: 14px sans-serif;
}

#route-btn {
  height: 34px;
  width: 100%;
  font-weight: 800;
  color: rgb(0, 0, 0);
  background-color: rgb(175, 253, 227);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border-width: 0;
  cursor: pointer;
}

#route-btn:hover {
  background-color: rgb(145, 240, 208);
}

#routes-widget {
  background: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.widget-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
  color: #222;
}

#routes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.empty-msg {
  font-size: 12px;
  color: #666;
}

.route-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
}

.route-item input[type="checkbox"] {
  margin-top: 2px;
}

.route-swatch {
  width: 14px;
  height: 4px;
  margin-top: 6px;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.route-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.route-meta {
  font-size: 11px;
  color: #555;
}

.route-popup {
  font: 12px/1.4 sans-serif;
  color: #111;
}