/* Premium glass fields + premium map look */

/* ---------- Glass inputs ---------- */
.wizard-step input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.wizard-step select,
.wizard-step textarea,
.wizard-step .pdt-trigger {
  background: linear-gradient(140deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 14px !important;
  color: #f6efd9 !important;
  padding: .95rem 1.05rem !important;
  font-size: 0.98rem !important;
  letter-spacing: .01em;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 8px 28px -16px rgba(0,0,0,.55);
  backdrop-filter: blur(14px) saturate(135%);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .12s ease;
}
.wizard-step input::placeholder,
.wizard-step textarea::placeholder { color: rgba(246,239,217,.38) !important; }

.wizard-step input:hover:not(:disabled),
.wizard-step select:hover,
.wizard-step textarea:hover,
.wizard-step .pdt-trigger:hover {
  border-color: rgba(212,180,120,.45) !important;
  background: linear-gradient(140deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03)) !important;
}
.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus,
.wizard-step .pdt-trigger:focus-visible {
  outline: none !important;
  border-color: rgba(212,180,120,.85) !important;
  box-shadow:
    0 0 0 3px rgba(212,180,120,.18),
    0 8px 30px -12px rgba(212,180,120,.35),
    0 1px 0 rgba(255,255,255,0.08) inset !important;
}

/* Group field cards (the bordered sub-panels) */
.wizard-step .service-panel,
.wizard-step section[id$="Routes"],
.wizard-step .multi-day-routes,
.wizard-step .day-row,
.wizard-step .upload-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 20px 60px -32px rgba(0,0,0,.6);
}

/* Premium suggestions dropdown */
.place-suggestions-panel {
  background: linear-gradient(160deg, rgba(18,24,38,.92), rgba(10,15,26,.92)) !important;
  border: 1px solid rgba(212,180,120,.28) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset !important;
  overflow: hidden;
}
.place-suggestion-item { transition: background .12s ease, padding-left .12s ease; }
.place-suggestion-item:hover {
  background: linear-gradient(90deg, rgba(212,180,120,.22), rgba(212,180,120,.04)) !important;
  padding-left: 16px !important;
}

/* ---------- Map: remove busy controls, premium look ---------- */
#basemapCtl, #routeWeightCtl { display: none !important; }
.leaflet-control-attribution,
.leaflet-control-zoom,
.leaflet-control-container .leaflet-bottom,
.leaflet-control-container .leaflet-top.leaflet-left { display: none !important; }

#routeMap {
  border-radius: 22px !important;
  overflow: hidden;
  border: 1px solid rgba(212,180,120,.28);
  box-shadow:
    0 30px 80px -30px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 0 60px -20px rgba(212,180,120,.22);
  position: relative;
  min-height: 460px;
  height: 460px;
  background: #1b1f24;
}
.route-map { height: auto !important; }
.route-map-fallback-frame {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  filter: saturate(.78) contrast(.96) brightness(.92);
}
.route-map-fallback-note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(227,200,129,.24);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #f6efd9;
  background: rgba(9,29,48,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.route-map-fallback-note strong { color: #e3c881; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.route-map-fallback-note span { color: rgba(246,239,217,.72); font-size: 12px; }


/* Animated route polyline */
.leaflet-overlay-pane svg path.leaflet-interactive {
  stroke: #d4b478 !important;
  stroke-width: 4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  filter: drop-shadow(0 0 6px rgba(212,180,120,.65)) drop-shadow(0 0 14px rgba(212,180,120,.35));
  stroke-dasharray: 14 10;
  animation: routeFlow 1.6s linear infinite;
}
@keyframes routeFlow { to { stroke-dashoffset: -24; } }

/* Glowing premium markers */
.leaflet-marker-icon {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)) drop-shadow(0 0 12px rgba(212,180,120,.55));
}
.leaflet-marker-icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,180,120,.5), transparent 70%);
  animation: pulseGlow 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%   { transform: scale(.8); opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Honeypot: keep functional but completely invisible */
.hp-field, .hp-field * { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
