/* ============================================================
   MAPBOX GL JS CUSTOM MARKERS & ROUTE STYLES
   ============================================================ */

/* Mapbox GL: Hide attribution logo (bottom-left) only — keep compass visible */
.mapboxgl-ctrl-bottom-left {
  display: none !important;
}

/* Style the Mapbox compass (NavigationControl) to match Reindeer design */
.mapboxgl-ctrl-bottom-right {
  bottom: 120px !important; /* Above "my location" button, won't overlap sheet */
  right: 12px !important;
}
.mapboxgl-ctrl-group {
  background: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
  border: none !important;
}
.mapboxgl-ctrl-group button {
  width: 44px !important;
  height: 44px !important;
}

/* User / Pickup Pin */
.marker-pickup {
  width: 32px;
  height: 32px;
  background-color: var(--brand-lime);
  border: 3px solid var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.25);
  cursor: pointer;
  position: relative;
}
.marker-pickup::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--text-primary);
  border-radius: 50%;
}

/* Destination / Dropoff Pin */
.marker-drop {
  width: 32px;
  height: 32px;
  background-color: var(--status-error);
  border: 3px solid #FFFFFF;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
  cursor: pointer;
}
.marker-drop span {
  transform: rotate(45deg);
  font-size: 13px;
  font-weight: 900;
  color: #FFFFFF;
}

/* Courier Real-time Live Marker */
.marker-courier {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #111111;
  border: 2px solid var(--brand-lime);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s ease;
  position: relative;
}
.marker-courier-halo {
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid var(--brand-lime);
  opacity: 0.6;
  animation: courierHalo 2s ease-out infinite;
  pointer-events: none;
}
@keyframes courierHalo {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Accuracy Halo for User Location */
.marker-user-accuracy {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #2563EB;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.25);
}
