* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a2e;
  color: #e0e0e0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  background: #16213e;
  padding: 12px 20px;
  border-bottom: 1px solid #0f3460;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

header h1 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e0e0e0;
  letter-spacing: 0.5px;
}

header .subtitle {
  font-size: 0.8rem;
  color: #a0aec0;
}

#station-count {
  margin-left: auto;
  background: #0f3460;
  border: 1px solid #4a90d9;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: #4a90d9;
  white-space: nowrap;
}

/* ── Map ── */
#map {
  flex: 1;
  width: 100%;
}

/* ── Markers ── */
.station-marker-center {
  background: #4a90d9;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  box-shadow: 0 0 6px rgba(74, 144, 217, 0.8);
}

.station-marker-tp {
  background: #f6ad55;
  border: 2px solid #ffffff;
  border-radius: 3px;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 4px rgba(246, 173, 85, 0.6);
}

/* ── Popups ── */
.leaflet-popup-content-wrapper {
  background: #16213e;
  color: #e0e0e0;
  border: 1px solid #0f3460;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-tip {
  background: #16213e;
}

.leaflet-popup-content {
  margin: 12px 16px;
  min-width: 200px;
}

.popup-site-name {
  font-size: 1rem;
  font-weight: 700;
  color: #4a90d9;
  margin-bottom: 8px;
  border-bottom: 1px solid #0f3460;
  padding-bottom: 6px;
}

.popup-tp-label {
  font-size: 0.75rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.popup-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 3px;
}

.popup-row .label {
  color: #a0aec0;
}

.popup-row .value {
  color: #e0e0e0;
  font-family: monospace;
}

.popup-transponders {
  margin-top: 8px;
}

.tp-item {
  background: #0f3460;
  border-radius: 4px;
  padding: 5px 8px;
  margin-bottom: 4px;
}

.tp-item .tp-name {
  font-size: 0.78rem;
  color: #f6ad55;
  font-weight: 600;
  margin-bottom: 2px;
}
