/* ============================================================
   24-job-map.css — Northern Beaches job map (Leaflet)
   Module: <section id="job-map">
   Map render: js/job-map.js (uses Leaflet from CDN)
   ============================================================ */

#job-map { background: var(--c-bg); }

.jm-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-5);
  align-items: stretch;
}
@media (max-width: 880px) { .jm-wrap { grid-template-columns: 1fr; } }

.jm-stats {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.jm-stats h3 { margin: 0; }
.jm-stats p { color: var(--c-muted); margin: 0; }
.jm-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.jm-counter strong {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--c-blue);
  line-height: 1;
}
.jm-counter span { color: var(--c-muted); font-weight: 600; }

.jm-suburb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.jm-suburb-list li {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.jm-canvas {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-card);
}
.leaflet-container { font-family: var(--f-body); }

/* Custom marker */
.jm-marker {
  width: 28px; height: 28px;
  background: var(--c-yellow);
  border: 3px solid var(--c-blue);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.jm-marker::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--c-blue);
}
