.spoedpost-routeplanner {
  max-width: 100%;
  margin: 0 auto;
}

.spoedpost-routeplanner__form {
  margin-bottom: 1rem;
}

.spoedpost-routeplanner__form label {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.spoedpost-routeplanner__input-wrap {
  display: flex;
  gap: 0.5rem;
}

.spoedpost-routeplanner__input-wrap input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.spoedpost-routeplanner__input-wrap input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.spoedpost-routeplanner__input-wrap button {
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #0066cc;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.spoedpost-routeplanner__input-wrap button:hover {
  background: #0052a3;
}

.spoedpost-routeplanner__input-wrap button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.spoedpost-routeplanner__info {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #e8f5e9;
  border-left: 4px solid #43a047;
  border-radius: 4px;
  font-size: 1rem;
}

.spoedpost-routeplanner__error {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fce4ec;
  border-left: 4px solid #e53935;
  border-radius: 4px;
  color: #b71c1c;
  font-size: 0.95rem;
}

#spoedpost-routeplanner-map {
  width: 100%;
  border-radius: 6px;
  z-index: 1;
}

/* Start marker */
.spoedpost-start-marker__dot {
  width: 16px;
  height: 16px;
  background: #43a047;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Verberg de standaard Leaflet Routing Machine itinerary panel */
.leaflet-routing-container {
  display: none !important;
}

/* Responsive */
@media (max-width: 600px) {
  .spoedpost-routeplanner__input-wrap {
    flex-direction: column;
  }

  .spoedpost-routeplanner__input-wrap button {
    width: 100%;
  }
}
