/*
Source - https://stackoverflow.com/a
Posted by Arun Aravind, modified by community. See post 'Timeline' for change history
Retrieved 2025-12-01, License - CC BY-SA 4.0
*/
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
}

.demo-page {
  background-color: #0f1d2f;
  color: white;
}

iframe {
  flex: 1; /* fills remaining vertical space */
  width: 100%;
  border: none;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: white;
  z-index: 100;
}

/* Ensure page content doesn't get covered by fixed header */
#results-container {
  padding: 160px 0 45px 0;
}

/* --- Search bar row --- */
.search-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

#searchbar {
  width: 440px;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  font-family: 'Open Sans', sans-serif;
}

#search-button{
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

#search-button:hover{
  background-color: #79BDE8;
  color: #0f1d2f;
}

.search-row button {
  background: #0f1d2f;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* --- Filters row --- */
.filters-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
}

/* Distance box */
#distance {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 120px;
  height: 36px;
  box-sizing: border-box;
}


.feedback-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 14px 28px;
  background:#0f1d2f;
  color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-family: 'open sans';
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 60, 113, 0.25), 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
  border: 2px solid white;
  letter-spacing: 0.03em;
}
.feedback-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 60, 113, 0.35), 0 4px 12px rgba(0,0,0,0.18);
  background: linear-gradient(90deg, #005fa3 0%, #003C71 100%);
}