/* Google Places Autocomplete — Dark Theme Override */

.pac-container {
  background: var(--bg-secondary, #1e293b);
  border: 1px solid var(--border, #334155);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
  z-index: 100000;
  overflow: hidden;
}

.pac-item {
  padding: 8px 12px;
  cursor: pointer;
  border-top: 1px solid var(--border, #334155);
  color: var(--text-primary, #e2e8f0);
  font-size: 0.875rem;
  line-height: 1.4;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item-selected {
  background: var(--bg-tertiary, #334155);
}

.pac-item-query {
  color: var(--text-primary, #f1f5f9);
  font-weight: 500;
  font-size: 0.875rem;
}

.pac-matched {
  font-weight: 700;
  color: #f59e0b;
}

.pac-icon {
  display: none;
}

.pac-icon-marker {
  display: none;
}

/* Remove the Google logo at the bottom */
.pac-container::after {
  display: none !important;
}

/* Mobile-friendly sizing */
@media (max-width: 768px) {
  .pac-item {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .pac-item-query {
    font-size: 1rem;
  }
}
