html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", sans-serif; /* 🔵 Globális Inter betűtípus */
}

/* --- MeshMap-stílusú fejléc --- */

#header {
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgb(0 0 0 / 40%);
  color: #333;
  display: flex;
  justify-content: space-between; /* ikonok jobbra */
  align-items: center;
  gap: 1em;
  font-size: 16px;
  line-height: 1.2;
  height: 40px;
  padding: 0 17px 0 15px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

#header a {
  color: inherit;
  text-decoration: none;
}

#header a:hover {
  opacity: 0.7;
}

#header a img {
  display: block;
}

.header-right a {
  margin-left: 12px; /* ikonok közti távolság */
}

/* --- Térkép a fejléc alatt kezdődik --- */

#map {
  position: absolute;
  top: 40px !important;
  bottom: 0;
  left: 0;
  right: 0;
}

/* --- Popup kompakt mobilbarát stílus --- */

.leaflet-popup-content {
  font-size: 12px;
  line-height: 1.3;
}

.leaflet-popup-content .title {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 3px;
}

.leaflet-popup-content table {
  margin-top: 1em;
}

/* nagyobb popup szélesség */
.leaflet-popup-content-wrapper {
  max-width: 380px !important;
}

.leaflet-popup-content {
  -webkit-text-size-adjust: 100%;
}

.leaflet-popup-content table th {
  white-space: nowrap;
}

/* linkek ne törjenek */
.leaflet-popup-content td a {
  white-space: nowrap;
}

@media (hover: none) {
  .leaflet-tooltip-pane {
    display: none;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

.leaflet-popup-content table th,
.leaflet-popup-content table td {
  vertical-align: top;
}
