html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  background: #f7f9fa;
}

#maps {
  flex: 1;
  display: flex;
}

.map {
  flex: 1;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: #2c3e50;
  color: #fff;
  height: 50px;
}

#header-left > * {
  margin-right: 8px;
}

#header-right > * + * {
  margin-left: 8px;
}

#header-center {
  flex: 1;
  text-align: center;
  font-weight: bold;
}

#header a {
  color: #fff;
}

button {
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #2980b9;
}

select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

@media (max-width: 600px) {
  #header {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 10px;
    text-align: center;
  }

  #header-left,
  #header-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 8px;
  }

  #header-left > *,
  #header-right > * {
    margin: 4px;
  }

  #maps {
    flex-direction: column;
  }

  .map {
    min-height: 50vh;
  }
}
.drag-handle {
  width: 16px;
  height: 16px;
  background: #3498db;
  border: 2px solid #fff;
  box-sizing: border-box;
  border-radius: 2px;
  cursor: move;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}
.drag-handle::before,
.drag-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
}
.drag-handle::before {
  width: 100%;
  height: 2px;
  transform: translate(-50%, -50%);
}
.drag-handle::after {
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%);
}
