@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

body {
  background-color: #f8f9fa;
  color: #212529;
  font-family: "Outfit", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Base Card Styling */
.card {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 0.75rem;
}

.results-bg {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Typography Helpers */
.display-3 {
  letter-spacing: -0.02em;
}

/* Custom Search Input */
.search-input {
  font-size: 1.15rem;
  padding: 1rem 1.25rem;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: 0;
}

/* Suggestions Dropdown (High Contrast Light Theme) */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  display: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  margin-top: 0.25rem;
}

.suggestions-list.active {
  display: block;
}

.suggestion-item {
  cursor: pointer;
  font-size: 1.05rem;
  color: #212529;
  padding: 0.75rem 1.25rem;
  transition: background-color 0.15s;
  border-bottom: 1px solid #dee2e6;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #e9ecef;
  color: #000;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #adb5bd;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #6c757d;
}

/* Results Map */
.result-map {
  width: 100%;
  min-height: 500px;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.tips-box {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  border-radius: 0.5rem;
}

.tips-box a {
  color: #997404;
  text-decoration: underline;
}

.tips-box a:hover {
  color: #664d03;
}

@media (max-width: 768px) {
  .result-map {
    min-height: 350px;
  }
}