/* === NOISEMAP CORE LAYOUT v0.1 === */

:root {
  --nm-bg: #080808;
  --nm-red: #e63946;
  --nm-red-dark: #701b33;
  --nm-line: rgba(230,57,70,.22);
  --nm-text: #e8e8e8;
  --nm-muted: #888;
}

/* Stałe sloty systemowe */
#nm-location-slot,
#nm-heatmap-slot,
#nm-filter-slot,
#nm-content-slot {
  width: 100%;
  box-sizing: border-box;
}

/* Lokalizacja + przyszła heatmapa */
#nm-location-slot {
  min-height: 36px;
  border-top: 1px solid var(--nm-line);
  border-bottom: 1px solid rgba(230,57,70,.16);
  background: linear-gradient(
    90deg,
    rgba(112,27,51,.16),
    rgba(8,8,8,.86) 42%,
    rgba(8,8,8,.96)
  );
}

/* Minimalistyczny pasek lokalizacji */
.nm-location-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.nm-location-bar::-webkit-scrollbar {
  display: none;
}

.nm-location-left,
.nm-location-radius,
.nm-location-heat {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.nm-location-left {
  gap: 8px;
}

.nm-location-pin {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nm-red);
  box-shadow: 0 0 12px rgba(230,57,70,.8);
}

.nm-location-set {
  appearance: none;
  background: none;
  border: 0;
  color: #d7d7d7;
  padding: 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
}

.nm-location-radius {
  gap: 4px;
  color: #666;
  font-size: 11px;
}

.nm-location-radius button {
  appearance: none;
  background: none;
  border: 0;
  color: #aaa;
  padding: 2px 3px;
  font: inherit;
  cursor: pointer;
}

.nm-location-radius button.active {
  color: #fff;
  text-shadow: 0 0 9px rgba(230,57,70,.8);
}

.nm-location-heat {
  gap: 7px;
  color: #8a8a8a;
  font-size: 10px;
}

.nm-heat-pulse {
  width: 27px;
  height: 6px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 3px;
}

.nm-heat-pulse i {
  border: 1px solid rgba(230,57,70,.24);
  background: rgba(230,57,70,.18);
}

.nm-heat-pulse i:nth-child(2) { background: rgba(230,57,70,.34); }
.nm-heat-pulse i:nth-child(3) { background: rgba(230,57,70,.56); }
.nm-heat-pulse i:nth-child(4) { background: rgba(230,57,70,.86); }

/* Stały slot heatmapy */
#nm-heatmap-slot {
  min-height: 0;
}

/* Mobile */
@media (max-width: 760px) {
  #nm-location-slot {
    position: relative;
    z-index: 5;
  }

  .nm-location-bar {
    padding: 7px 12px;
  }
}
