/* ELEVN Geo — Places API (New) */

.elevn-geo-wrapper {
  position: relative;
}

.elevn-geo-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1090;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.elevn-geo-results.is-open {
  display: block;
}

.elevn-geo-result {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 11px 13px;
  color: inherit;
  text-align: left;
  white-space: normal;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.elevn-geo-result:last-child {
  border-bottom: 0;
}

.elevn-geo-result:hover,
.elevn-geo-result:focus {
  background: rgba(0, 0, 0, 0.05);
  outline: 0;
}

.elevn-geo-main {
  width: 100%;
  font-weight: 600;
}

.elevn-geo-secondary {
  width: 100%;
  font-size: 0.8rem;
  opacity: 0.7;
}

body.night-mode .elevn-geo-results {
  color: #fff;
  background: var(--card-dark-color, #111);
  border-color: rgba(255, 255, 255, 0.12);
}

body.night-mode .elevn-geo-result {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.night-mode .elevn-geo-result:hover,
body.night-mode .elevn-geo-result:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
