html,body,#map { height: 100%; margin: 0; padding: 0; }
#map { position: absolute; top: 50px; bottom: 0; left: 0; right: 0; z-index: 0; }
#controls {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  padding: 6px;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
}
#controls button { margin-right: 8px; }
#formModal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 200000;
  background: rgba(255,255,255,1);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hidden { display: none; }
.modal-inner input { display:block; width: 100%; margin:6px 0; padding:6px; }
.modal-actions { text-align: right; }

#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
              url('https://images.unsplash.com/photo-1501785888041-af3ef285b470') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.intro-box {
  background: rgba(15, 25, 15, 0.95);
  color: #fff;
  padding: 35px 30px;
  border-radius: 14px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.intro-box h1 {
  margin-bottom: 5px;
  font-size: 28px;
}

.tagline {
  font-size: 14px;
  color: #a8c3a0;
  margin-bottom: 15px;
}

.intro-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

.features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}

.intro-box button {
  padding: 10px 20px;
  background: #2E8B57;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.intro-box button:hover {
  background: #256d45;
}
.leaflet-pane {
  z-index: 100 !important;
}

.leaflet-top,
.leaflet-bottom {
  z-index: 200 !important;
}