/* CesiumMapTools — standalone styles */

/* ---- Toolbar ---- */
.cmt-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 900;
  transition: right .25s ease;
}

.cmt-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  background: rgba(22, 33, 62, .85);
  backdrop-filter: blur(6px);
  color: #ccd;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  padding: 0;
  line-height: 1;
}
.cmt-btn svg { display: block; }
.cmt-btn:hover {
  background: rgba(79,195,247,.25);
  color: #fff;
}
.cmt-btn.active {
  background: rgba(79,195,247,.35);
  color: #4fc3f7;
  border-color: #4fc3f7;
}
.cmt-btn.loading {
  opacity: .5;
  cursor: wait;
  animation: cmt-pulse 1.2s ease-in-out infinite;
}
@keyframes cmt-pulse {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}

.cmt-sep {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 2px 4px;
}

/* ---- Basemap menu ---- */
.cmt-basemap-menu {
  position: absolute;
  z-index: 950;
  background: rgba(22, 33, 62, .94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 4px 0;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.cmt-basemap-item {
  padding: 8px 14px;
  color: #b0bec5;
  font-size: 13px;
  cursor: pointer;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.cmt-basemap-item:hover {
  background: rgba(79,195,247,.15);
  color: #fff;
}
.cmt-basemap-item.active {
  color: #4fc3f7;
  font-weight: 600;
}

/* ---- Coordinate display ---- */
.cmt-coords {
  position: absolute;
  bottom: 4px;
  left: 8px;
  font-size: 11px;
  color: #aab;
  font-family: monospace;
  background: rgba(22, 33, 62, .7);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 500;
  pointer-events: none;
}
