body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

#map {
    position: absolute;
    top: 60px;
    /* висота header */
    left: 0;
    width: 100%;
    bottom: 0;
}


.xy-button {
    background: white;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.xy-button:hover {
    background: #f0f0f0;
}

.cursor-label {
    position: absolute;
    pointer-events: none;
    padding: 4px 6px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
    display: none;
}



header {
    position: fixed;
    /* завжди зверху */
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(240, 62, 7, 0.85);
    /* пожежний помаранчевий */
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    /* вертикальне центрування тексту */
    z-index: 1000;
    /* щоб було над картою */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.fire-marker div {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #ff4500 0%, #ff0000 70%);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}


/* cities */
.city-label {
  color: #ffffff;            /* білий текст */
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-shadow:
    0 0 3px #000,
    0 0 6px #000;            /* читабельність на супутнику */
  background: transparent;
  border: none;
}

#mtgDate {
  width: 100%;
  margin: 4px 0;
}
