/* style.css - Common Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
  }
  
  h1 {
    font-size: 1.75rem;  /* Adjust value as needed */
}

h2 {
    font-size: 1.5rem;  /* Adjust value as needed */
}

h3 {
    font-size: 1.25rem;  /* Adjust value as needed */
}
  .site-header, .site-footer {
    background: #004080;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    a:hover {
      text-decoration: underline;
    }
  }
  
  .site-header nav ul, .site-footer ul {
    list-style: none;
    padding: 0;
  }
  
  .site-header nav ul li, .site-footer ul li {
    display: inline;
    margin: 0 10px;
  }
  
  .site-header nav ul li a, .site-footer ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  main {
    padding: 10px;
    max-width: 900px;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .search-container {
    text-align: center;
    margin: 10px 0;
  }
  
  #locationSearch {
    width: 80%;
    padding: 10px;
    font-size: 1.2rem;
    border: 2px solid #007BFF; /* blue border to draw attention */
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .search-container button {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #002348; /* matching blue background */
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }
  
  .search-container button:hover {
    background-color: #012144;
  }

  /* Container for the autocomplete results */
#autocompleteResults {
  background-color: #ffffff;
  border: 2px solid #007BFF; /* A blue border to match your search box/button */
  border-radius: 4px;
  margin-top: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding: 0;
}

/* Styling for each autocomplete result item */
#autocompleteResults li {
  list-style: none;
  padding: 5px;
  font-family:'Trebuchet MS';
  font-size: 0.9rem; /* Slightly larger than the standard text */
  color: #333;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

/* Remove the bottom border for the last item */
#autocompleteResults li:last-child {
  border-bottom: none;
}

/* Highlight effect on hover */
#autocompleteResults li:hover {
  background-color: #f0f8ff; /* A light blue background on hover */
  font-weight: bold;
}

#spinner {
  display: none;
  width: 24px;
  height: 24px;
  border: 4px solid rgba(0,0,0,0.1);
  border-top: 4px solid #09f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
