/* ==============================================================================
 * FILE: map-filters.css
 * CATEGORY: MarlonWalksLA Website - Map Overlays & Preset Route Styling
 * ============================================================================== */

/* =========================================================
   1. MAP CANVAS OVERLAYS & PINS
   ========================================================= */
/* Visited pin emerald ring on Mapbox canvas */
.marker-wrapper.is-visited-pin .custom-emoji-marker {
  box-shadow: 0 0 0 4px #10b981, 0 0 0 8px rgba(16, 185, 129, 0.35) !important;
  filter: brightness(1.02);
}

/* =========================================================
   2. HERO CTA HEADER
   ========================================================= */
.map-hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.map-hero-cta-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a202c;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.2;
}

.map-hero-cta-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: #718096;
  line-height: 1.4;
  margin: 0 0 2px 0;
}

/* =========================================================
   3. PRESET ROUTES IMPORT & TOGGLES
   ========================================================= */
.preset-import-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
}

.preset-title {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
}

.preset-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
}

.preset-item-name {
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
}

.preset-item-meta {
  font-size: 10px;
  color: #64748b;
}

.import-preset-btn {
  background: #3898ec;
  border: none;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.import-preset-btn:hover {
  background: #2b7bc4;
}

.itinerary-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.itinerary-badge-btn {
  display: block;
  width: 100%;
  border: none;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.itinerary-badge-btn.primary-mode {
  background: #3898ec;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(56, 152, 236, 0.3);
}

.itinerary-badge-btn.primary-mode:hover {
  background-color: #2b7bc4;
  transform: translateY(-1px);
}

.itinerary-badge-btn.visited-mode {
  background: #f0fdf4;
  color: #047857;
  border: 1.5px solid #a7f3d0;
}

.itinerary-badge-btn.visited-mode:hover {
  background: #d1fae5;
  border-color: #10b981;
  transform: translateY(-1px);
}

.filter-section-divider {
  border: none;
  height: 1px;
  background-color: #e2e8f0;
  margin: 2px 0 6px 0;
  width: 100%;
}

.clear-itinerary-btn {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-itinerary-btn:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}
