/* Native Mobile App Feel */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* Dark-Mode Filter for Free OpenStreetMap Tiles (No API Key Needed) */
.leaflet-tile-pane {
  filter: invert(100%) hue-rotate(180deg) brightness(92%) contrast(92%);
}
.leaflet-container {
  background: #090D16 !important;
}

/* Hide scrollbars on horizontal filter pills */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Filter Pill Buttons */
.filter-pill {
  background: #161F32;
  color: #cbd5e1;
  border: 1px solid #334155;
  padding: 5px 11px;
  border-radius: 9999px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.filter-pill.active-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.55);
}

/* Map Price Tag Pins */
.e85-map-pin {
  background: #10b981;
  color: #06281e;
  font-weight: 900;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.e85-map-pin.verified-pin {
  background: #fbbf24;
  color: #0f172a;
  border-color: #fef3c7;
}
.e85-map-pin:hover {
  transform: scale(1.15);
  z-index: 999 !important;
}

/* Slide-Up Mobile Bottom Sheets */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.78);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 640px) {
  .sheet-backdrop {
    align-items: center;
    padding: 1rem;
  }
}
.sheet-panel {
  background: #0F1624;
  border-top: 1px solid #1e293b;
  width: 100%;
  max-width: 30rem;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  padding: 1rem 1.25rem 1.75rem;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.6);
  animation: slideUpSheet 0.2s ease-out;
}
@media (min-width: 640px) {
  .sheet-panel {
    border-radius: 1.5rem;
    border: 1px solid #1e293b;
  }
}

@keyframes slideUpSheet {
  from {
    transform: translateY(30px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Price Spotter Stepper Buttons */
.stepper-btn {
  background: #090D16;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  min-width: 44px;
  transition: transform 0.1s ease, background 0.15s ease;
}
.stepper-btn:active {
  transform: scale(0.93);
  background: #1e293b;
}