* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; height: 100vh; display: flex; flex-direction: column; }

/* 顶部控制栏 */
.toolbar {
  background: #1a1a2e; color: #fff; padding: 12px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3); z-index: 1000;
}
.toolbar h1 { font-size: 18px; margin-right: 16px; white-space: nowrap; }
.toolbar label { font-size: 13px; white-space: nowrap; }
.toolbar input[type="number"], .toolbar input[type="text"] {
  width: 120px; padding: 6px 10px; border: none; border-radius: 4px;
  font-size: 14px; background: #16213e; color: #e0e0e0;
  outline: none;
}
.toolbar input:focus { box-shadow: 0 0 0 2px #0f3460; }
.toolbar button {
  padding: 7px 18px; border: none; border-radius: 4px;
  font-size: 14px; cursor: pointer; font-weight: 600; transition: .2s;
}
.btn-go { background: #e94560; color: #fff; }
.btn-go:hover { background: #c73e54; }
.btn-loc { background: #0f3460; color: #fff; }
.btn-loc:hover { background: #1a4a7a; }
.btn-clear { background: #533483; color: #fff; }
.btn-clear:hover { background: #6b44a0; }

/* 地图 */
#map { flex: 1; }

/* 信息面板 */
.info-panel {
  position: fixed; bottom: 20px; left: 20px; z-index: 1000;
  background: rgba(26,26,46,.92); color: #e0e0e0;
  padding: 14px 18px; border-radius: 8px; font-size: 13px;
  line-height: 1.8; min-width: 240px; backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.info-panel strong { color: #e94560; }

/* 搜索结果下拉 */
.search-wrap { position: relative; }
.search-results {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #16213e; border-radius: 0 0 4px 4px;
  max-height: 200px; overflow-y: auto; z-index: 2000;
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.search-results div {
  padding: 8px 12px; cursor: pointer; font-size: 13px;
  border-bottom: 1px solid #1a1a2e;
}
.search-results div:hover { background: #0f3460; }
