

.leaflet-div-icon.live-gps-history-arrow {
  background: transparent !important;
  border: none !important;
}

.live-gps-history-arrow--normal {
  pointer-events: none;
}

.live-gps-history-arrow--overspeed {
  pointer-events: auto;
  cursor: pointer;
}

.live-gps-history-arrow__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 2px #fff, 0 1px 2px rgba(255, 255, 255, 0.9);
  transform-origin: center center;
  pointer-events: none;
}

.live-gps-history-arrow--normal .live-gps-history-arrow__glyph {
  color: #eab308;
}

.live-gps-history-arrow--overspeed .live-gps-history-arrow__glyph {
  color: #dc2626;
  pointer-events: auto;
}

.leaflet-div-icon.live-gps-poi-icon {
  background: transparent !important;
  border: none !important;
}


.live-gps-poi-marker {
  position: relative;
  width: 54px;
  height: 58px;
  overflow: visible;
  pointer-events: none;
}

.live-gps-poi-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 36px;
  margin-left: -18px;
  transform: scale(var(--lg-poi-pin-scale, 1));
  transform-origin: 50% 100%;
  transition: transform 0.18s ease;
  pointer-events: none;
}

.live-gps-poi-pin__bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
}

.live-gps-poi-pin__bubble .live-gps-bi {
  font-size: 14px;
}

.live-gps-poi-pin__bubble .live-gps-poi-pin__mi {
  font-family: 'Material Symbols Outlined';
  font-size: 19px;
  line-height: 1;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: block;
  flex-shrink: 0;
}

.live-gps-poi-pin__tip {
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
}

.live-gps-poi-pin--typed .live-gps-poi-pin__bubble {
  background: var(--lg-poi-pin-color, #0a84ff);
}

.live-gps-poi-pin--typed .live-gps-poi-pin__tip {
  border-top-color: var(--lg-poi-pin-color, #0a84ff);
}

.live-gps-poi-pin--poi .live-gps-poi-pin__bubble,
.live-gps-poi-pin--origin .live-gps-poi-pin__bubble {
  background: #0a84ff;
}

.live-gps-poi-pin--poi .live-gps-poi-pin__tip,
.live-gps-poi-pin--origin .live-gps-poi-pin__tip {
  border-top-color: #0a84ff;
}
.live-gps-poi-pin--destination .live-gps-poi-pin__bubble {
  background: #16a34a;
}

.live-gps-poi-pin--destination .live-gps-poi-pin__tip {
  border-top-color: #16a34a;
}

.live-gps-poi-tooltip {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
  border-radius: 8px;
}

.live-gps-poi-tooltip .live-gps-poi-tooltip__kind {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  margin-bottom: 2px;
}

.live-gps-poi-tooltip--origin .live-gps-poi-tooltip__kind {
  color: #0a84ff;
}

.live-gps-poi-tooltip--destination .live-gps-poi-tooltip__kind {
  color: #16a34a;
}

.leaflet-interactive.live-gps-poi-geofence {
  transition: stroke 0.25s ease, fill-opacity 0.25s ease;
}

.leaflet-interactive.live-gps-poi-geofence--active {
  stroke: #16a34a !important;
  fill: #16a34a !important;
  fill-opacity: 0.18 !important;
}

.leaflet-interactive.live-gps-poi-geofence--selected {
  stroke: #15803d !important;
  fill: #22c55e !important;
  fill-opacity: 0.28 !important;
  stroke-width: 3px !important;
}

.live-gps-marker--history .live-gps-marker__truck {
  filter: drop-shadow(0 0 6px #22c55e) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.live-gps-marker--follow .live-gps-marker__label {
  font-size: 10px;
  padding: 2px 6px;
  max-width: 140px;
}

.live-gps-marker--follow .live-gps-marker__truck {
  width: 80px;
  height: 38px;
}

.leaflet-div-icon.live-gps-marker, .leaflet-div-icon.live-gps-cluster-icon {
  background: transparent !important;
  border: none !important;
}

.live-gps-cluster {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.live-gps-cluster__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(13, 148, 136, 0.35);
  pointer-events: none;
}

.live-gps-cluster__ring--1 {
  width: 52px;
  height: 52px;
  border-color: rgba(10, 132, 255, 0.14);
}

.live-gps-cluster__ring--2 {
  width: 44px;
  height: 44px;
  border-color: rgba(10, 132, 255, 0.3);
}

.live-gps-cluster__ring--3 {
  width: 36px;
  height: 36px;
  border-color: rgba(10, 132, 255, 0.45);
}

.live-gps-cluster__core {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--lg-accent) 0%, #0064d2 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(10, 132, 255, 0.45);
  pointer-events: auto;
  cursor: pointer;
}

.live-gps-marker__pin {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-gps-marker__truck {
  display: block;
  width: 140px;
  height: 66px;
  object-fit: contain;
  transform-origin: center center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.live-gps-marker__truck-wrap--moving .live-gps-marker__truck {
  filter: drop-shadow(0 0 5px #22c55e) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.live-gps-marker__truck-wrap--idle .live-gps-marker__truck {
  filter: drop-shadow(0 0 6px #eab308) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.live-gps-marker__truck-wrap--parked .live-gps-marker__truck, .live-gps-marker__truck-wrap--offline .live-gps-marker__truck {
  filter: drop-shadow(0 0 6px #ef4444) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.live-gps-marker__label {
  margin-top: 4px;
  background: var(--lg-surface-strong);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--lg-ink);
  white-space: nowrap;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--lg-font);
  letter-spacing: -0.01em;
}


[data-theme="dark"] .live-gps-marker__label {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
