/* =========================================
   STAY TEXOMA — MAPS PAGE ONLY (ISOLATED)
   ========================================= */

/* Page-only typography + background (replaces global body {}) */

.stx-maps {
  font-family: "Albert Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fb;
}

/* Optional: if you need the background to cover full viewport */

.stx-maps {
  min-height: 100vh;
}

/* Hero */

.stx-maps .map-page-hero {
  background: radial-gradient(circle at top, #e6f1ff 0, #f5f7fb 40%, #ffffff 100%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stx-maps .map-page-hero h1 {
  font-family: "ABeeZee", system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: #495057;
}

.stx-maps .map-page-hero p.lead {
  font-size: 0.98rem;
  color: #6c757d;
  max-width: 720px;
}

/* Layout */

.stx-maps .map-wrapper {
  min-height: 70vh;
}

/* Map element (scoped) */

.stx-maps #map {
  width: 100%;
  min-height: 420px;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.08);
}

@media (min-width:768px) {
  .stx-maps #map {
    min-height: 520px;
  }
}

@media (min-width:1200px) {
  .stx-maps #map {
    min-height: 640px;
  }
}

/* Sidebar */

.stx-maps .sidebar-card {
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
  background-color: #ffffff;
}

/* Filters */

.stx-maps .filter-pill {
  border-radius: 999px;
  border: 1px solid var(--bs-secondary);
  background: transparent;
  color: var(--bs-secondary);
  font-size: 0.8rem;
  padding-inline: 0.85rem;
  padding-block: 0.3rem;
  margin-bottom: 0.25rem;
}

.stx-maps .filter-pill.active {
  background: var(--bs-secondary);
  color: #fff;
}

/* Location cards */

.stx-maps .location-card {
  cursor: pointer;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.stx-maps .location-card:hover {
  border-color: rgba(13,110,253,0.3);
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.stx-maps .location-card.active {
  border-color: #0d6efd;
  box-shadow: 0 0.75rem 1.5rem rgba(13, 110, 253, 0.25);
}

/* Badges */

.stx-maps .badge-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll area */

.stx-maps .scroll-area {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

@media (min-width:992px) {
  .stx-maps .scroll-area {
    max-height: 640px;
  }
}

.stx-maps .scroll-area::-webkit-scrollbar {
  width: 6px;
}

.stx-maps .scroll-area::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 999px;
}

/* Search placeholder + empty state */

.stx-maps .search-input::placeholder {
  font-size: 0.85rem;
}

.stx-maps .no-results {
  font-size: 0.85rem;
  color: #6c757d;
}

/* === CUSTOM MAP MARKERS (Leaflet DivIcon HTML) === */

.stx-maps .custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.45);
  color: #ffffff;
  font-size: 16px;
}

.stx-maps .custom-marker i {
  line-height: 1;
}

.stx-maps .custom-marker-restaurant {
  background: #f59f00;
}

.stx-maps .custom-marker-marina {
  background: #0d6efd;
}

.stx-maps .custom-marker-stay {
  background: #6c757d;
}

.stx-maps .custom-marker-casino {
  background: #dc3545;
}

.stx-maps .custom-marker-rv {
  background: #0dcaf0;
}

.stx-maps .custom-marker-camping {
  background: #198754;
}

.stx-maps .custom-marker-souvenir {
  background: #212529;
}

.stx-maps .custom-marker-default {
  background: #6f42c1;
}

