/* ══════════════════════════════════════════════════════════════
   LOCATION AUTO-SUGGEST DROPDOWN STYLES
   Chaudhary Taxi Service Agra — Location Autocomplete UI
   ══════════════════════════════════════════════════════════════ */

.location-input-wrapper {
  position: relative;
  width: 100%;
}

.location-suggest-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.08);
  max-height: 280px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  padding: 6px;
  list-style: none;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.section--navy .location-suggest-menu,
.booking-card .location-suggest-menu {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  color: #f8fafc;
}

.location-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
  transition: background 0.15s ease, color 0.15s ease;
}

.section--navy .location-suggest-item,
.booking-card .location-suggest-item {
  color: #e2e8f0;
}

.location-suggest-item:hover,
.location-suggest-item.active {
  background: #f1f5f9;
  color: #0f172a;
}

.section--navy .location-suggest-item:hover,
.section--navy .location-suggest-item.active,
.booking-card .location-suggest-item:hover,
.booking-card .location-suggest-item.active {
  background: rgba(234, 179, 8, 0.18);
  color: #fbbf24;
}

.location-suggest-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.section--navy .location-suggest-icon,
.booking-card .location-suggest-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
}

.location-suggest-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-suggest-text strong {
  color: #0284c7;
}

.section--navy .location-suggest-text strong,
.booking-card .location-suggest-text strong {
  color: #fbbf24;
}

.location-suggest-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.section--navy .location-suggest-badge,
.booking-card .location-suggest-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
