/* Admin map-layer draw editor */
.map-editor-canvas {
  height: 24rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #d1d5db;
}
.map-editor-canvas .leaflet-container {
  height: 100%;
  width: 100%;
  background: #e9e9e7;
  cursor: crosshair;
}
.map-editor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  font-size: 0.875rem;
  background: #fff;
}
.map-editor-chip.is-active {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px #c7d2fe;
}
.map-editor-chip__select {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.map-editor-chip__swatch {
  display: inline-block;
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.map-editor-chip__remove {
  cursor: pointer;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1;
}
.map-editor-chip__remove:hover {
  color: #ef4444;
}
.map-editor-boxbtn.is-active {
  background: #4f46e5;
  color: #fff;
}
.map-editor-boxstatus.is-set {
  color: #4f46e5;
  font-weight: 600;
}
.map-editor-handle {
  box-sizing: border-box;
  background: #fff;
  border: 2px solid #4f46e5;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  cursor: grab;
}
.map-editor-handle:active {
  cursor: grabbing;
}
.leaflet-container path.map-editor-box {
  cursor: move;
}
