.elementor-12674 .elementor-element.elementor-element-06af4e5{--display:flex;}.elementor-12674 .elementor-element.elementor-element-06af4e5.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-12674 .elementor-element.elementor-element-81ba14d.xpro-widget-bg-overlay:before{transition:background 0.3s;}@media(max-width:767px){.elementor-12674 .elementor-element.elementor-element-06af4e5{--width:445px;}}/* Start custom CSS for shortcode, class: .elementor-element-81ba14d *//* Make the sidebar fill the full height of the map */
.mapster-sidebar-popup {
    position: absolute; /* ensures it can stretch properly */
    top: 0;
    bottom: 0;
    min-height: 100%; /* stretch to fill container */
    max-height: 100%;
    overflow-y: auto; /* scroll if content exceeds height */
}

/* Optional: keep width fixed */
.mapster-sidebar-popup {
    width: 250px; /* adjust as needed */
}

/* Lock the gallery and slider container dimensions */
.map-sidebar-popup-gallery,
#mapster-slider {
  width: 260px !important;
  height: 155px !important;
  position: relative;
  overflow: hidden;
  margin: 0 auto !important;
}

/* Ensure the <ul> fills the slider */
#mapster-slider ul {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Crop image to fit frame without distortion + rounded corners */
#mapster-slider ul li {
  width: 260px !important;
  height: 155px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: block;
  border-radius: 20px; /* ✅ Rounded image corners */
  overflow: hidden;    /* Ensures background doesn't spill outside radius */
}

/* Center the header */
.map-sidebar-popup-header {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.map-sidebar-popup-header {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  text-align: center; /* ✅ Let the text align itself */
}

.map-sidebar-popup-header h2 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 24px !important;
  line-height: 1.2em !important;
  letter-spacing: -0.03em !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: inline-block !important; /* ✅ Shrinks to content width */
  max-width: 100% !important;
  text-align: center !important;
}


.map-sidebar-popup-body iframe {
  border-radius: 20px;
  overflow: hidden;
  display: block;
}

.map-sidebar-popup-subheader {
  width: 100%;
  max-width: 260px;
  margin: 5px auto 0 auto; /* ✅ 5px top, 0 bottom */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 10px;
  box-sizing: border-box;
}

.map-sidebar-popup-subheader h2 {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2em;
  letter-spacing: -0.03em;
  color: #121212;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

.map-sidebar-popup-body {
  transform: translateY(-8px);
}

/* Timeline wrapper */
.dev-timeline {
  width: 260px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  box-sizing: border-box;
}

/* Stage blocks */
.dev-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Labels */
.dev-label {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dots */
.dev-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #a05252;
  transition: background 0.3s ease;
  position: relative;
  z-index: 2;
}

.dev-stage.active .dev-dot {
  background: #4caf50;
}

/* Connector segments (optional, if still used) */
.dev-connector {
  position: absolute;
  top: 28px;
  height: 3px;
  background: #ccc;
  z-index: 1;
}

.dev-connector.completed {
  background: #4caf50;
}

/* Dynamic pixel-anchored connector line */
.dev-connector-line {
  position: absolute;
  top: 28px;
  height: 3px;
  background: #ccc;
  z-index: 1;
  transition: width 0.3s ease, left 0.3s ease;
}

.map-sidebar-popup-footer-button {
  display: block !important;
  width: 260px !important;
  max-width: 260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: -2px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 30px !important;
  background-color: #6681e1 !important;     /* 💙 Floridian Advanced blue */
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 40px !important;
  border: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}


.dev-timeline {
  margin-bottom: 3px;
  /* Adjust this value as needed */
}

.mapster-slider-control_prev,
.mapster-slider-control_next {
  position: absolute;
  top: 50%;
  font-size: 34px !important;
  color: #ffffff !important;             /* 🤍 Solid white */
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  z-index: 10 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
  display: block;
  width: auto;
  height: auto;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

/* Slight horizontal inset + rounded corners */
.mapster-slider-control_prev {
  left: 8px !important;
  border-radius: 0 2px 2px 0;
}

.mapster-slider-control_next {
  right: 8px !important;
  border-radius: 2px 0 0 2px;
}

@media screen and (max-width: 767px) { .mapster-sidebar-popup { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; max-width: 100% !important; min-width: 100% !important; height: 100% !important; max-height: 100% !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 16px !important; box-sizing: border-box !important; z-index: 9999 !important; background: #fff !important; border-radius: 0 !important; } .map-sidebar-popup-body iframe { display: block; width: 100% !important; max-width: 100% !important; margin: 0 auto !important; height: 300px !important; box-sizing: border-box; } .map-sidebar-popup-footer-button { display: block; width: 100% !important; max-width: 100% !important; margin: 16px auto 0 auto !important; box-sizing: border-box !important; } .map-sidebar-popup-gallery, #mapster-slider { width: 100% !important; max-width: 100% !important; margin: 0 auto !important; box-sizing: border-box; } #mapster-slider ul { margin: 0; padding: 0; list-style: none; width: 100%; } #mapster-slider ul li { padding: 0 !important; margin: 0 auto !important; width: 100% !important; box-sizing: border-box !important; } /* ✅ IMAGE FIX STARTS HERE */ .popup-gallery-image { display: block; width: 260px !important; /* ✅ Exact match with other widgets */ height: auto !important; margin: 0 auto !important; border-radius: 20px !important; object-fit: cover !important; box-sizing: border-box !important; image-rendering: -webkit-optimize-contrast !important; /* ✅ Sharpness on WebKit */ image-rendering: crisp-edges !important; /* ✅ Sharpness on other engines */ -webkit-font-smoothing: antialiased !important; } /* ✅ IMAGE FIX ENDS HERE */ .mapster-slider-control_prev, .mapster-slider-control_next { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; font-size: 34px !important; color: #ffffff !important; background: none !important; border: none !important; padding: 0 !important; margin: 0 !important; line-height: 1 !important; z-index: 10 !important; box-shadow: none !important; text-shadow: none !important; opacity: 1 !important; display: block; width: auto; height: auto; text-decoration: none; font-weight: 600; cursor: pointer; } .mapster-slider-control_prev { left: 8px !important; border-radius: 0 2px 2px 0; } .mapster-slider-control_next { right: 8px !important; border-radius: 2px 0 0 2px; } }

/**
 * Advanced Filter Modal Styles for WP Mapster
 * Clean, modern design with smooth animations
 * REVERTED to original with button improvements only
 */

/* Modal Container */
.mapster-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.mapster-modal.active {
  display: flex;
}

/* Modal Overlay */
.mapster-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

/* Modal Content */
.mapster-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  z-index: 1;
}

/* Modal Header */
.mapster-modal-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mapster-modal-header h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px; /* ✅ Increased from 22px */
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

.mapster-modal-close {
  background: #ffffff !important;
  border: 2px solid #e5e7eb !important;
  font-size: 20px !important; /* ✅ Reduced from 24px - less bold */
  line-height: 1 !important;
  color: #9ca3af !important; /* ✅ Lighter gray - less harsh */
  cursor: pointer !important;
  padding: 0 !important;
  width: 32px !important; /* ✅ Slightly smaller */
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 20px !important; /* ✅ Less rounded - 20px instead of 30px */
  transition: all 0.25s ease !important;
  font-weight: 300 !important; /* ✅ Thinner X */
}

.mapster-modal-close:hover {
  background: #f9fafb !important;
  color: #6681e1 !important;
  border-color: #6681e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102, 129, 225, 0.15) !important;
}

/* Modal Body */
.mapster-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  position: relative;
  z-index: 10;
}

.mapster-modal-body::-webkit-scrollbar {
  width: 8px;
}

.mapster-modal-body::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.mapster-modal-body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.mapster-modal-body::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Filter Groups */
.mapster-filter-group {
  margin-bottom: 24px;
}

.mapster-filter-group:last-child {
  margin-bottom: 0;
}

.mapster-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.mapster-filter-header h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Badges */
.required-badge,
.optional-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.required-badge {
  background: #fef2f2;
  color: #dc2626;
}

.optional-badge {
  background: #f0fdf4;
  color: #16a34a;
}

/* Select All Label */
.select-all-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  user-select: none;
}

.select-all-label input[type="checkbox"] {
  cursor: pointer; /* Visual only - actual clicks handled by label */
  width: 16px;
  height: 16px;
  accent-color: #6681e1;
}

.select-all-label:hover {
  color: #374151;
}

/* Clear Button - ✅ Smooth rounded with black text and blue accent */
.clear-filter-btn {
  background: #ffffff !important;
  border: 2px solid #e5e7eb !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #000000 !important; /* ✅ Black text */
  cursor: pointer !important;
  padding: 8px 16px !important;
  border-radius: 30px !important; /* ✅ Smooth 30px rounded */
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.clear-filter-btn:hover {
  background: #ffffff !important;
  color: #6681e1 !important; /* ✅ Blue text on hover */
  border-color: #6681e1 !important; /* ✅ Blue border on hover */
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102, 129, 225, 0.15) !important;
}

/* Filter Options */
.mapster-filter-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* Checkboxes */
.mapster-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.mapster-checkbox:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.mapster-checkbox input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #6681e1;
}

.mapster-checkbox input[type="checkbox"]:checked + span {
  color: #111827;
  font-weight: 600;
}

/* City Warning */
.city-warning {
  grid-column: 1 / -1;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  animation: shake 0.4s ease;
}

/* Modal Footer */
.mapster-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* Buttons - ✅ Smooth 30px rounded with clean styling */
.mapster-btn-primary,
.mapster-btn-secondary {
  flex: 1 !important;
  padding: 14px 24px !important;
  border: 2px solid transparent !important;
  border-radius: 30px !important; /* ✅ Smooth 30px rounded */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.mapster-btn-primary {
  background: #6681e1 !important;
  color: #ffffff !important;
  border-color: #6681e1 !important;
}

.mapster-btn-primary:hover {
  background: #5570d0 !important;
  border-color: #5570d0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(102, 129, 225, 0.25) !important;
}

.mapster-btn-primary:active {
  transform: translateY(0) !important;
}

.mapster-btn-secondary {
  background: #ffffff !important;
  color: #000000 !important; /* ✅ Black text */
  border-color: #e5e7eb !important;
}

.mapster-btn-secondary:hover {
  background: #ffffff !important;
  border-color: #6681e1 !important; /* ✅ Blue border on hover */
  color: #6681e1 !important; /* ✅ Blue text on hover */
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102, 129, 225, 0.15) !important;
}

/* Filter Trigger Button Wrapper */
.mapster-filter-button-wrapper {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}

/* Filter Trigger Button - ✅ Clean, professional design */
.mapster-filter-trigger {
  width: 100% !important;
  padding: 12px 20px !important;
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #d1d5db !important;
  border-radius: 30px !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px !important; /* ✅ Increased from 14px */
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  display: block !important;
}

.mapster-filter-trigger:hover {
  background: #f9fafb !important;
  border-color: #6681e1 !important;
  color: #6681e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(102, 129, 225, 0.15) !important;
}

.mapster-filter-trigger:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(102, 129, 225, 0.1) !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* Mobile Responsive */
@media screen and (max-width: 640px) {
  .mapster-modal-content {
    width: 95%;
    max-height: 90vh;
    border-radius: 12px;
  }

  .mapster-modal-header {
    padding: 20px 16px 14px 16px;
  }

  .mapster-modal-header h2 {
    font-size: 18px;
  }

  .mapster-modal-body {
    padding: 16px;
  }

  .mapster-filter-options {
    grid-template-columns: 1fr;
  }

  .mapster-modal-footer {
    padding: 12px 16px;
    flex-direction: column;
  }

  .mapster-btn-primary,
  .mapster-btn-secondary {
    width: 100%;
  }
}

/* Hide WP Mapster category toggles (keep only Advanced Filter button + sliders) */
.mapster-category-control > div > ul > li {
  display: none !important;
}

/* Show only the sliders (keep them visible) */
.mapster-category-control > div > ul > li:has(#heightSlider),
.mapster-category-control > div > ul > li:has(#floorSlider) {
  display: block !important;
}

/* Alternative: if :has() doesn't work in your browser, use this instead */
.mapster-category-control > div > ul > li[style*="margin: 10px"] {
  display: block !important;
}/* End custom CSS */