/* Kolor mapy */
#map {
    background-color: #017cb5ff;
    width: auto;
    height: auto;
}
/* Ukryj domyślny checkbox */
.leaflet-control-layers-selector {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s;
  vertical-align: middle;
  margin-right: 2px;
}

/* Zaznaczony */
.leaflet-control-layers-selector:checked {
  background: #2563eb;
  border-color: #2563eb;
}

/* Ptaszek ✓ */
.leaflet-control-layers-selector:checked::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 6px;
}

/* Hover */
.leaflet-control-layers-selector:hover {
  border-color: #93c5fd;
}

/* Sam panel */
.leaflet-control-layers {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  font-size: 13px;
}

.leaflet-control-layers-expanded {
  padding: 10px 14px;
}

.leaflet-control-layers label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  cursor: pointer;
  color: #475569;
}

.leaflet-control-layers label:hover {
  color: #1e293b;
}

.leaflet-control-layers-toggle {
  border-radius: 10px !important;
}

.leaflet-tile-container {
  will-change: transform;
  transform: translateZ(0);
}

.leaflet-tile {
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
}
.city-label {
  background: transparent;
  border: none;
  box-shadow: none;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #1e293b;
  text-shadow:
    0 0 2px #ffffff,
    0 0 2px #ffffff,
    0 0 2px #ffffff,
    0 0 2px #ffffff;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  line-height: 1;
}
