/* Marqueurs trajet — départ statique (legacy 3D) */
.moto-3d-pin--pickup-static {
  color: var(--moto-coral, #ff5f4d);
  pointer-events: none;
}

/* —— Marqueurs trajet A/B · aérés · ultra-modernes —— */
.moto-route-pin {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.moto-route-pin__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 95, 77, 0.28), rgba(123, 57, 183, 0.22));
  animation: moto-route-pin-pulse 2.4s ease-out infinite;
}

.moto-route-pin__core {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 6px 18px rgba(45, 27, 78, 0.14),
    inset 0 0 0 2px transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(135deg, #ff5f4d 0%, #e8327a 50%, #7b39b7 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2.5px solid transparent;
}

.moto-route-pin__letter {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #2d1b4e;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.moto-route-pin--pickup .moto-route-pin__pulse {
  background: linear-gradient(135deg, rgba(255, 95, 77, 0.32), rgba(232, 50, 122, 0.22));
}

.moto-route-pin--pickup .moto-route-pin__core {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 8px 20px rgba(255, 95, 77, 0.2),
    inset 0 0 0 2px transparent;
  background-image:
    linear-gradient(#fff, #fff),
    var(--moto-pin-pickup, linear-gradient(135deg, #ff7a6a 0%, #ff5f4d 42%, #e8327a 100%));
}

.moto-route-pin--dropoff .moto-route-pin__pulse {
  background: linear-gradient(
    135deg,
    rgba(255, 95, 77, 0.34),
    rgba(232, 50, 122, 0.26),
    rgba(123, 57, 183, 0.22)
  );
}

.moto-route-pin--dropoff .moto-route-pin__core {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 8px 22px rgba(232, 50, 122, 0.22),
    inset 0 0 0 2px transparent;
}

.moto-route-pin__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  max-width: 160px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #2d1b4e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  box-shadow:
    0 4px 20px rgba(45, 27, 78, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  pointer-events: none;
  z-index: 2;
}

.moto-route-pin__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(45, 27, 78, 0.08);
}

.moto-route-pin--draggable {
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.moto-route-pin--draggable:active {
  cursor: grabbing;
}

@keyframes moto-route-pin-pulse {
  0% {
    transform: scale(0.72);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.moto-leaflet-arrival {
  background: transparent !important;
  border: none !important;
}
