html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: #1f2937;
  background: #f5f7f9;
}

.app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.app__header {
  padding: 12px 16px;
  background: #ffffff;
  border-bottom: 1px solid #d8dee6;
}

.app__header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.app__main {
  position: relative;
  flex: 1;
}

#map {
  position: absolute;
  inset: 0;
}

.status {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.status--visible {
  opacity: 1;
}

.status--error {
  background: rgba(153, 27, 27, 0.95);
  opacity: 1;
}

.popup {
  max-width: 320px;
}

.popup h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.3;
}

.popup p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.35;
}

.popup__text {
  max-height: 110px;
  overflow: auto;
}

.popup a {
  color: #0b63ce;
}

@media (max-width: 768px) {
  .app__header {
    padding: 10px 12px;
  }

  .app__header h1 {
    font-size: 16px;
  }
}
