/* MAP VIEW (RAPIDO STYLE) */
.fastr-map-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: none;
  z-index: 10;
  background: #000;
}

.fastr-map-view.active {
  display: block;
}

.fastr-leaflet-map {
  width: 100%;
  height: 65vh;
  position: relative;
  /* Lighten up to make satellite view visible, but slightly darkened so white UI is readable */
  filter: brightness(80%) contrast(110%);
  transition: transform 0.25s ease;
  will-change: transform;
}

.fastr-map-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: #111118;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  z-index: 400; /* above leaflet */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.fastr-bottom-sheet {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background: #111118;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 24px 24px 28px 24px;
  z-index: 400; /* above leaflet */
  box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: -30px;
  display: flex;
  flex-direction: column;
}

/* Scrollable container for sub-options content */
.fastr-map-scroll-content {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 16px;
  padding-right: 4px;
}

.fastr-map-scroll-content::-webkit-scrollbar {
  width: 5px;
}
.fastr-map-scroll-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}
.fastr-map-scroll-content::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 10px;
}
.fastr-map-scroll-content::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.5);
}

#fastrMapSubOptionsBox[style*="block"] {
  display: flex !important;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.fastr-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 20px auto;
}

.fastr-sheet-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px 0;
  text-align: center;
}

.fastr-map-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.fastr-map-option {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background-color: rgba(17, 17, 24, 0.7);
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-height: 85px;
}

.fastr-map-option::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.92) 35%, rgba(10, 10, 15, 0.5) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.fastr-map-option > * {
  position: relative;
  z-index: 2;
}

.fastr-map-option:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.fastr-map-option.selected {
  border-color: #d4af37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.fastr-map-option.selected::before {
  background: linear-gradient(90deg, rgba(10, 10, 15, 0.94) 35%, rgba(212, 175, 55, 0.15) 100%);
}

/* Specific Mode Backgrounds */
.fastr-map-option[data-map-mode="single"] {
  background-image: url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?w=800&auto=format&fit=crop&q=80');
}
.fastr-map-option[data-map-mode="equipment"] {
  background-image: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?w=800&auto=format&fit=crop&q=80');
}
.fastr-map-option[data-map-mode="both"] {
  background-image: url('https://images.unsplash.com/photo-1515169067868-5387ec356754?w=800&auto=format&fit=crop&q=80');
}
.fastr-map-option[data-map-mode="crew"] {
  background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?w=800&auto=format&fit=crop&q=80');
}

.fmo-icon {
  font-size: 1.5rem;
  margin-right: 16px;
  width: 32px;
  text-align: center;
}

.fmo-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.fmo-text small {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  margin-top: 4px;
  font-weight: 400;
}

.fastr-map-confirm-box {
  margin-top: auto; /* Push to bottom of flex container */
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  background: #111118;
  width: 100%;
  animation: fastrFadeIn 0.3s ease;
}

/* Premium Highlighted Primary Button Styling */
.btn-fastr-primary {
  background: linear-gradient(135deg, #d4af37 0%, #f5d470 50%, #c9a227 100%);
  color: #050505 !important;
  border: none;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-fastr-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, #f5d470 0%, #d4af37 50%, #f5d470 100%);
}

.btn-fastr-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.btn-fastr-primary.full-width {
  width: 100%;
  display: flex;
}

#fastrMapAvailabilityText {
  color: #4ade80;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 500;
}

/* Custom Marker Styling for Leaflet */
.custom-map-marker {
  background: #d4af37;
  border-radius: 50%;
  border: 2px solid #000;
  box-shadow: 0 0 10px rgba(212,175,55,0.8);
  animation: fastrPulse 2s infinite;
}

@keyframes fastrPulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* Sub-Options Panel (Rapido Style) */
.fastr-sub-options-panel {
  display: none;
  animation: fastrSlideUp 0.3s ease;
}

.fastr-sub-options-panel.active {
  display: block;
}

.fastr-sub-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.fastr-sub-option {
  position: relative;
  overflow: hidden;
  background-color: rgba(17, 17, 24, 0.85);
  background-size: cover;
  background-position: center;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px 12px 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 125px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.fastr-sub-option::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.88) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.fastr-sub-option > * {
  position: relative;
  z-index: 2;
}

.fastr-sub-option:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.15);
}

.fastr-sub-option.selected {
  border-color: #d4af37;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.fastr-sub-option.selected::before {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(212, 175, 55, 0.22) 100%);
}

.fastr-sub-icon {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.fastr-sub-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.fastr-sub-option.selected .fastr-sub-text {
  color: #d4af37;
}

/* Specific Sub-option Backgrounds */
.fastr-sub-option[data-sub-val="photographer"] {
  background-image: url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="videographer"] {
  background-image: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="drone"] {
  background-image: url('https://images.unsplash.com/photo-1508614589041-895b88991e3e?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="gimbal"] {
  background-image: url('https://images.unsplash.com/photo-1522069169874-c58ec4b76be5?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="editor"] {
  background-image: url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=500&auto=format&fit=crop&q=80');
}

.fastr-sub-option[data-sub-val="camera"] {
  background-image: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="lens"] {
  background-image: url('https://images.unsplash.com/photo-1617005082133-548c4dd27f35?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="light"] {
  background-image: url('https://images.unsplash.com/photo-1563206767-5b18f218e8de?w=500&auto=format&fit=crop&q=80');
}
.fastr-sub-option[data-sub-val="droneGear"] {
  background-image: url('https://images.unsplash.com/photo-1527977966376-1c8408f9f108?w=500&auto=format&fit=crop&q=80');
}

/* Coupon & Payment */
.fastr-map-extras {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.fastr-coupon-input-group {
  display: flex;
  gap: 8px;
}

.fastr-coupon-input-group input {
  flex-grow: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
}

.fastr-coupon-input-group button {
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.fastr-payment-pref {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.03);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}

.fastr-payment-pref-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
}

.fastr-payment-pref select {
  background: transparent;
  color: #d4af37;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  outline: none;
}

.fastr-payment-pref select option {
  background: #111118;
  color: #fff;
}

@keyframes fastrSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Numbered Badges for Map Options */
.fmo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.fastr-map-option.selected .fmo-badge {
  background: rgba(212, 175, 55, 0.25);
  border-color: #d4af37;
}

/* Text Badges for Sub-options */
.fso-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  padding: 3px 6px;
}

.fastr-sub-option.selected .fso-badge {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
}

.fastr-sub-price {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.fastr-sub-option.selected .fastr-sub-price {
  color: rgba(212, 175, 55, 0.7);
}

/* Sub Options Back Header */
.fastr-map-sub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.fastr-map-sub-header h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  flex-grow: 1;
}

.fastr-map-sub-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.fastr-map-sub-back:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* Selection Summary Bar */
.fastr-map-selection-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.fastr-map-sum-label {
  font-size: 0.8rem;
  color: #d4af37;
  font-weight: 600;
  white-space: nowrap;
}

.fastr-map-sum-items {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.user-map-marker {
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 15px rgba(59,130,246,0.8);
  position: relative;
}
.user-map-marker::after {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  animation: userPulse 2s infinite ease-out;
  pointer-events: none;
}
@keyframes userPulse {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Custom SVG Marker Styling for Leaflet */
.fastr-custom-marker {
  position: relative;
  width: 32px;
  height: 32px;
  background: #111118;
  border-radius: 50%;
  border: 2.5px solid #d4af37;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 500;
}
.fastr-custom-marker svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.5;
  display: block;
}

.fastr-custom-marker.marker-photographer { border-color: #ffd700; color: #ffd700; }
.fastr-custom-marker.marker-videographer { border-color: #ff4d4d; color: #ff4d4d; }
.fastr-custom-marker.marker-drone { border-color: #bf55ec; color: #bf55ec; }
.fastr-custom-marker.marker-lightman { border-color: #2ecc71; color: #2ecc71; }
.fastr-custom-marker.marker-editor { border-color: #19b5fe; color: #19b5fe; }
.fastr-custom-marker.marker-audio { border-color: #f39c12; color: #f39c12; }
.fastr-custom-marker.marker-assistant { border-color: #95a5a6; color: #95a5a6; }
.fastr-custom-marker.marker-director { border-color: #ff69b4; color: #ff69b4; }

.fastr-custom-marker::after {
  content: '';
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.8;
  animation: fastrPulseGlow 2s infinite ease-out;
  pointer-events: none;
}
@keyframes fastrPulseGlow {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Radar Scanner Overlay */
.fastr-radar-scanner {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 450; /* above Leaflet, below back button */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.fastr-radar-scanner.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.radar-circle {
  position: relative;
  width: 140px;
  height: 140px;
  border: 1.5px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}
.radar-circle::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: conic-gradient(from 0deg, rgba(212, 175, 55, 0.4) 0deg, transparent 180deg);
  transform-origin: center center;
  animation: radarSweep 2.2s linear infinite;
  border-radius: 50%;
}
.radar-pulse-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  background: #d4af37;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #d4af37;
}
.radar-status {
  font-family: 'DM Sans', sans-serif;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 6px;
}
.radar-sub-status {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  text-align: center;
}
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Premium Quality Selector styling */
.fastr-quality-selector-wrap {
  margin-bottom: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px;
}
.fastr-quality-selector-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-align: left;
}
.fastr-quality-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 10px;
}
.fastr-quality-btn {
  background: transparent;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.fastr-quality-btn:hover {
  color: #fff;
}
.fastr-quality-btn.active {
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  color: #000;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}
.fastr-quality-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 10px;
  text-align: left;
  line-height: 1.4;
}

/* Live Recent Dispatch Feed styling */
.fastr-live-dispatches {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.fastr-live-dispatches-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fastr-live-dispatches-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fastr-live-dispatches-pulse {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: fastrBlink 1.5s infinite;
}
.fastr-live-dispatches-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}
.fastr-dispatch-ticker-container {
  height: 32px;
  overflow: hidden;
  position: relative;
}
.fastr-dispatch-item {
  height: 32px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.fastr-dispatch-item strong {
  color: #d4af37;
}
.fastr-dispatch-item span {
  color: rgba(255,255,255,0.45);
  font-size: 0.72rem;
  margin-left: auto;
}
@keyframes fastrBlink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── ADVANCED FLOATING SEARCH BAR ── */
.fastr-map-search-bar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 480px;
  z-index: 450; /* Above Leaflet & back btn */
}

.fastr-map-search-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(17, 17, 24, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.fastr-map-search-input-wrap:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.15);
}

.fastr-map-search-bar svg.search-icon {
  color: #d4af37;
  margin-right: 12px;
  flex-shrink: 0;
}

.fastr-map-search-bar svg.dropdown-chevron {
  color: rgba(255, 255, 255, 0.4);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.fastr-map-search-bar input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  width: 80%;
  cursor: pointer;
  outline: none;
}

.fastr-map-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  animation: fastrSlideUp 0.2s ease-out;
  padding: 6px;
}

.search-dropdown-item {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.search-dropdown-item:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
}

/* ── FLOATING LIVE AREA STATS ── */
.fastr-map-stats-panel {
  position: absolute;
  top: 90px;
  right: 20px;
  background: rgba(17, 17, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  z-index: 400;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  animation: fastrFadeIn 0.3s ease;
}

.stats-pulse-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: fastrPulse 1.8s infinite;
  flex-shrink: 0;
}

.stats-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stats-row {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.stats-label {
  color: rgba(255,255,255,0.45);
  margin-right: 4px;
}

/* ── INTERACTIVE CREATOR PROFILE PREVIEW CARD ── */
.fastr-creator-preview-card {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 440px;
  background: rgba(17, 17, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 24px;
  z-index: 500; /* Above bottom sheet */
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  animation: fastrSlideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.creator-preview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.creator-preview-close:hover {
  color: #fff;
}

.cpc-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.cpc-avatar-wrap {
  position: relative;
}

.cpc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1.5px solid #d4af37;
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cpc-verified-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #d4af37;
  border: 2px solid #111118;
  border-radius: 50%;
  color: #000;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.cpc-meta {
  flex-grow: 1;
}

.cpc-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.cpc-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.cpc-rating {
  font-size: 0.82rem;
  font-weight: 700;
  color: #d4af37;
}

.cpc-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.cpc-distance {
  font-size: 0.76rem;
  color: #4ade80;
  font-weight: 500;
}

.cpc-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.cpc-stat {
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.cpc-stat-lbl {
  color: rgba(255,255,255,0.45);
}

/* ── GLOWING ROUTE & DISPATCH MARKER ── */
.fastr-glowing-route {
  stroke-dasharray: 8;
  animation: routeFlow 25s linear infinite;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -1000;
  }
}

.fastr-dispatch-moving-marker {
  z-index: 390 !important;
}

.moving-dispatch-pulse {
  background: #d4af37;
  color: #000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px #d4af37;
  animation: dispatchPulse 1s infinite alternate;
}

@keyframes dispatchPulse {
  from { box-shadow: 0 0 8px rgba(212, 175, 55, 0.6); }
  to { box-shadow: 0 0 20px rgba(212, 175, 55, 1); }
}

/* Custom Marker colors for new R&D types */
.fastr-custom-marker.marker-rd_director svg { color: #38bdf8 !important; }
.fastr-custom-marker.marker-rd_supervisor svg { color: #a855f7 !important; }
.fastr-custom-marker.marker-rd_operator svg { color: #f43f5e !important; }

/* ── CPC TABS & INTERACTIVES (Task 1) ── */
.cpc-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.cpc-tab-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}
.cpc-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.cpc-tab-btn.active {
  color: #d4af37;
}
.cpc-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d4af37;
  box-shadow: 0 0 8px #d4af37;
}
.cpc-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.cpc-port-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cpc-port-img:hover {
  transform: scale(1.05);
  border-color: #d4af37;
}
.cpc-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 4px;
}
.cpc-reviews-list::-webkit-scrollbar {
  width: 4px;
}
.cpc-reviews-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
.cpc-review-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
  border-radius: 8px;
}
.cpc-review-user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.cpc-review-user {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}
.cpc-review-stars {
  font-size: 0.72rem;
  color: #d4af37;
}
.cpc-review-text {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  line-height: 1.3;
}

/* ── 1-TAP FLASH BOOKING MODAL (Task 2) ── */
.fastr-flash-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fastr-flash-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.flash-modal-content {
  background: #111118;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.fastr-flash-modal.active .flash-modal-content {
  transform: translateY(0);
}
.flash-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}
.flash-modal-close:hover {
  color: #fff;
}
.flash-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.flash-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.flash-modal-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  margin-bottom: 20px;
}
.pulse-lightning {
  animation: lightningPulse 1.5s infinite ease-in-out;
}
@keyframes lightningPulse {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(212,175,55,0.4)) brightness(1); }
  50% { filter: drop-shadow(0 0 8px rgba(212,175,55,1)) brightness(1.2); }
}

/* ── SURGE VISUALIZER (Task 3) ── */
@keyframes fsvDotPulse {
  from { r: 3.5; fill-opacity: 0.8; filter: drop-shadow(0 0 2px #4ade80); }
  to { r: 5.5; fill-opacity: 1; filter: drop-shadow(0 0 6px #4ade80); }
}
.fsv-curve {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawCurve 2s ease forwards;
}
@keyframes drawCurve {
  to { stroke-dashoffset: 0; }
}

/* ── LIVE DISPATCH TRACKER PANEL (Task 5) ── */
.fastr-live-tracker-panel {
  position: absolute;
  top: 70px;
  left: 20px;
  width: 320px;
  background: rgba(17, 17, 24, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 16px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideInLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideInLeft {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tracker-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  padding: 2px 8px;
  border-radius: 12px;
}
.tracker-eta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.eta-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.eta-time {
  font-size: 1.15rem;
  font-weight: 800;
  color: #4ade80;
  text-shadow: 0 0 6px rgba(74,222,128,0.3);
}
.tracker-progress-bar-wrap {
  background: rgba(255, 255, 255, 0.08);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.tracker-progress-bar {
  background: #d4af37;
  height: 100%;
  width: 15%;
  border-radius: 2px;
  box-shadow: 0 0 6px #d4af37;
  transition: width 0.8s ease;
}
.tracker-milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-top: 4px;
}
.tracker-milestones::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 9px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.08);
}
.milestone-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  opacity: 0.4;
  transition: opacity 0.3s;
}
.milestone-item.active {
  opacity: 1;
}
.milestone-item.completed {
  opacity: 0.95;
}
.milestone-item .ms-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1e1e24;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
  transition: all 0.3s;
}
.milestone-item.active .ms-dot {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  color: #d4af37;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
  animation: dotPulse 1.2s infinite alternate;
}
.milestone-item.completed .ms-dot {
  background: #4ade80;
  border-color: #4ade80;
  color: #111118;
}
@keyframes dotPulse {
  from { box-shadow: 0 0 4px rgba(212,175,55,0.3); }
  to { box-shadow: 0 0 10px rgba(212,175,55,0.8); }
}
.milestone-item .ms-text {
  display: flex;
  flex-direction: column;
}
.ms-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.milestone-item.completed .ms-title {
  color: rgba(255, 255, 255, 0.8);
}
.ms-desc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}
.tracker-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
  margin-top: 4px;
}
.tracker-booking-id {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}


