/* 카카오 관제 지도 — 기사 마커 (dispatch 페이지) */
.kakao-dispatch-map-root {
  width: 100%;
  height: 100%;
  min-height: 200px;
  position: relative;
}

.rider {
  transform: translate(-50%, -100%);
  cursor: pointer;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  position: relative;
}

.rider-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(45deg);
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rider-bubble svg {
  transform: rotate(-45deg);
  width: 22px;
  height: 22px;
}

.rider-name {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  font-family: system-ui, -apple-system, sans-serif;
}

.rider.waiting .rider-bubble {
  background: #f59e0b;
}

.rider.delivering .rider-bubble {
  background: #7c3aed;
}

.rider-info {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, calc(-100% - 52px));
  width: 220px;
  font-size: 13px;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.45;
}

.rider-nav {
  display: block;
  text-align: center;
  margin-top: 10px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px;
  font-weight: 700;
}

.rider-nav:hover {
  background: #1d4ed8;
}
