body {
  font-family: "Noto Sans Thai", "Public Sans", sans-serif;
}

.ptg-logo {
  align-items: center;
  background: linear-gradient(135deg, #1f9d55, #7cc242);
  border-radius: 0.5rem;
  color: #fff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.ptg-chart {
  min-height: 280px;
}

.ptg-map-container {
  max-width: none;
}

.ptg-map-card {
  overflow: hidden;
}

.ptg-map {
  background: #d8e6cf;
  min-height: 680px;
  width: 100%;
}

.ptg-marker {
  align-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 32px;
  z-index: 5;
}

.ptg-marker:hover,
.ptg-marker.active {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%) scale(1.18);
  z-index: 10;
}

.ptg-leaflet-marker .ptg-marker {
  left: 50%;
  position: relative;
  top: 50%;
}

.dot.normal {
  background: #28a745;
}

.dot.watch {
  background: #f4b400;
}

.dot.sick {
  background: #d93025;
}

.dot.dead {
  background: #7a7f86;
}

.ptg-legend,
.ptg-map-note {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(110, 118, 129, 0.2);
  border-radius: 0.6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  z-index: 15;
}

.ptg-legend {
  color: #4b5563;
  display: grid;
  gap: 0.4rem;
  margin: 0.75rem;
  width: 155px;
}

.ptg-legend div {
  align-items: center;
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
  padding: 0 0.85rem;
}

.ptg-legend div:first-child {
  padding-top: 0.75rem;
}

.ptg-legend div:last-child {
  padding-bottom: 0.75rem;
}

.dot {
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.ptg-map-note {
  color: #4b5563;
  font-size: 0.82rem;
  margin: 1rem;
  padding: 0.75rem 1rem;
}

.ptg-map-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1rem 1rem 0;
}

.ptg-zone-label {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 157, 85, 0.4);
  border-radius: 999px;
  color: #176a3a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
}

.leaflet-popup-content {
  font-family: "Noto Sans Thai", "Public Sans", sans-serif;
  margin: 0.85rem 1rem;
}

.leaflet-container {
  font-family: "Noto Sans Thai", "Public Sans", sans-serif;
}

.ptg-status-pill {
  min-width: 84px;
}

@media (max-width: 991.98px) {
  .ptg-map {
    min-height: 560px;
  }

  .ptg-map-note {
    margin: 1rem;
  }
}
