/* Reset and body */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

/* Map full screen */
#map {
  height: 100vh;
  width: 100%;
  z-index: 1;
}

/* Topbar styling */
.topbar {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: flex-end;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Search inputs with labels above */
.search-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.search-group .label {
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
}

.search-group input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 220px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-group input:focus {
  border-color: #007bff;
  box-shadow: 0 4px 10px rgba(0,123,255,0.3);
}

/* Buttons */
.btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn.primary {
  background-color: #007bff;
  color: white;
}

.btn.primary:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn.ghost {
  background-color: white;
  color: #333;
  border: 1px solid #ccc;
}

.btn.ghost:hover {
  background-color: #f8f8f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Suggestions dropdowns */
/* Suggestions dropdowns */
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* full width under input */
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1001;
  display: none;
  font-size: 15px;
  margin-top: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 6px 0; /* add spacing at top/bottom */
}

/* Each suggestion item */
.suggestions div {
  padding: 10px 14px; /* add space inside each item */
  cursor: pointer;
  transition: background 0.2s;
}

.suggestions div:hover {
  background-color: #f0f8ff; /* subtle highlight on hover */
}


/* Credit styling */
#credit {
  position: absolute;
  bottom: 35px;
  right: 15px;
  z-index: 1000;
  color: white;
  font-weight: bold;
  font-size: 20px;
  text-shadow: 1px 1px 3px black;
  pointer-events: none;
}
