/* Address Search Route Styles */

/* Full-height flexbox to center the content like Google Search */
.search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

/* Position wrapper for the search input to anchor the suggestions list */
.search-box-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
}

/* Remove bottom margin from search input to prevent a gap above suggestions */
.search-box-wrapper input:not([type='checkbox'], [type='radio']) {
  margin-bottom: 0;
}



/* List box suggestions dropdown positioned absolutely under the search box */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  margin-top: 4px;
}

/* Suggestions dropdown container */
.search-suggestions-list {
  background-color: var(--card-background-color, #ffffff);
  border: 1px solid var(--card-border-color, var(--border-color, #e2e8f0));
  border-radius: var(--border-radius, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Suggestion link items */
.search-suggestions-list a {
  border-bottom: 1px solid var(--card-border-color, var(--border-color, #edf2f7));
  color: var(--color, #1a202c);
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.search-suggestions-list a:last-child {
  border-bottom: none;
}

.search-suggestions-list a:hover,
.search-suggestions-list a:focus {
  background-color: var(--primary-hover-background, rgba(0, 0, 0, 0.04));
  color: var(--primary, #3182ce);
  outline: none;
}

/* Empty suggestion state */
.search-suggestions-empty {
  background-color: var(--card-background-color, #ffffff);
  border: 1px solid var(--card-border-color, var(--border-color, #e2e8f0));
  border-radius: var(--border-radius, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--muted-color, #718096);
  padding: 12px 16px;
}

