#map {
  height: 100vh;
}

.custom-label {
  color: #3388ff;
  font-size: 14px;
  font-weight: bold;
  background: none;
  border: none;
  box-shadow: none;
}

.empty-icon {
  background: none;
  border: none;
}

.leaflet-draw-toolbar .leaflet-draw-draw-marker {
  background-image: none !important;
  background-color: white;
  font-size: 18px;
  text-align: center;
  line-height: 26px;
}

.leaflet-draw-toolbar .leaflet-draw-draw-marker::after {
  content: "📝";
}

#controlPanel {
  position: absolute;
  top: 75px;
  right: 10px;
  z-index: 1000;
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#colorPanel {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: white;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#colorPalette {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.color-option {
  width: 28px;
  height: 28px;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.selected {
  border: 2px solid #000;
}

.control-button {
  padding: 8px 12px;
  background-color: #3388ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.control-button:hover {
  background-color: #2266cc;
}

/* Login-Formular Styles */
.login-container {
  max-width: 350px;
  margin: 80px auto;
  padding: 2rem 2.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.login-container h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.login-container label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.login-container input[type="text"],
.login-container input[type="password"] {
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.login-container button, #osmLogin{
  padding: 0.7rem;
  background: #3388ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}
#loginError {
  color: red;
  margin-top: 0.5rem;
  text-align: center;
}
