
/* ДОРОЖНЫЙ РАДАР — NEON UI */

:root {
  --bg: #080e1c;
  --panel: #111a30;
  --purple: #7954ff;
  --pink: #b34cff;
  --text: #f8fafc;
  --muted: #9ba9c4;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  overflow: hidden;
}

header {
  height: 66px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg,#0a1022,#1c2750);
  border-bottom: 1px solid #6554ff55;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .4px;
  box-shadow: 0 4px 24px #0005;
  position: relative;
  z-index: 1100;
}

header span {
  color: #ff922b;
  margin-left: 6px;
}

.filters {
  display: flex;
  gap: 9px;
  padding: 12px;
  background: #151e32;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid #ffffff12;
  position: relative;
  z-index: 1000;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  flex-shrink: 0;
  padding: 12px 19px;
  border: 1px solid #ffffff12;
  border-radius: 25px;
  background: #303b51;
  color: #e4e9f5;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}

.filters button.active {
  background: linear-gradient(135deg,var(--purple),var(--pink));
  border-color: #b69aff;
  color: white;
  box-shadow: 0 0 18px #8055ff77;
}

#map {
  width: 100%;
  height: calc(100dvh - 196px);
  background: #101827;
  z-index: 1;
}

.leaflet-control-zoom {
  border: 1px solid #7954ff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 0 16px #7954ff55;
}

.leaflet-control-zoom a {
  background: #17213a !important;
  color: #fff !important;
  border-color: #394365 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #151f35;
  color: #f8fafc;
}

.leaflet-popup-content {
  color: #f8fafc;
  line-height: 1.5;
}

.add {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 1100;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 15px 22px;
  border: 1px solid #c2a4ff;
  border-radius: 30px;
  background: linear-gradient(135deg,var(--purple),var(--pink));
  color: white;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 0 26px #8055ff88;
  white-space: nowrap;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #10182d;
  border-top: 1px solid #6554ff66;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1050;
  box-shadow: 0 -6px 28px #0009;
}

.nav-item {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 12px 8px;
  flex: 1;
}

.nav-item.active {
  color: #b59aff;
  text-shadow: 0 0 14px #8055ff;
}

@media (max-width: 370px) {
  header { font-size: 17px; }
  .filters button { padding: 11px 14px; }
  .add { font-size: 13px; padding: 14px 16px; }
  .nav-item { font-size: 12px; }
}
/* ДОРОЖНЫЙ РАДАР — NEON 2.0 */

header {
  height: 60px;
  padding: 0 18px;
  font-size: 18px;
  letter-spacing: .5px;
  background: linear-gradient(110deg,#0b1024,#1b2450);
  border-bottom: 1px solid #7857ff55;
}

header span {
  color: #a78bfa;
  text-shadow: 0 0 15px #8055ff77;
}

.filters {
  gap: 8px;
  padding: 10px 12px;
  background: #11192d;
}

.filters button {
  padding: 11px 17px;
  font-size: 13px;
  border-radius: 22px;
  background: #252f46;
  color: #cbd5e1;
}

.filters button.active {
  background: linear-gradient(135deg,#6554ff,#a855f7);
  box-shadow: 0 0 18px #8055ff88;
  color: white;
}

.add {
  bottom: 88px;
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 28px;
  border: 1px solid #c4b5fd;
  box-shadow: 0 0 24px #8055ff99;
}

.bottom-nav {
  height: 70px;
  background: #0d1428;
  border-top: 1px solid #7857ff55;
}

.nav-item {
  font-size: 13px;
  color: #94a3b8;
  transition: color .2s;
}

.nav-item.active {
  color: #b59aff;
  text-shadow: 0 0 12px #8055ff;
}

.leaflet-control-zoom {
  border-radius: 14px !important;
  box-shadow: 0 0 18px #8055ff55;
}

.leaflet-control-attribution {
  background: #101827dd !important;
  color: #94a3b8 !important;
  font-size: 9px !important;
}

.leaflet-control-attribution a {
  color: #b59aff !important;
}

@media (max-width: 370px) {
  header { font-size: 16px; }
  .filters button { padding: 10px 13px; }
  .add { font-size: 13px; }
}
