#location-poll {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

#location-poll .wrap {
  width: var(--width);
  padding: var(--padding-vertical);

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}
#location-poll .close-subsection {
  width: 100%;
  border-radius: none;
  border: none;
  background: none;
  height: 44px;
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  margin-bottom: 2rem;
}

#location-poll p {
  width: 100%;
  margin: 0;
  padding: 0;
}

#location-poll .search-wrap {
  height: 15%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
#location-poll .search-wrap input {
  border: var(--border);
  border-radius: 0;
  flex: 1;
  height: 44px;
  color: var(--secondary-color);
}

#location-poll .search-wrap input::placeholder {
  text-indent: 4px;
}

#location-poll .search-wrap button {
  height: 44px;
  width: 44px; /* stessa misura dell’altezza */
  aspect-ratio: 1 / 1; /* forza il quadrato */
  /* border: var(--border) !important; */
  color: var(--secondary-color);
  background: none !important;

  display: flex;
  align-items: center;
  justify-content: left;
}

#location-poll .search-wrap button .svg-holder {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
}
#location-poll .search-wrap button svg {
  height: 60%;
}

#location-poll .line-wrap {
  height: fit-content;
  padding: 8px;
  width: calc(100% - 16px);
  border-bottom: var(--border);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
#location-poll .line-wrap input {
  border: var(--border);
  border-radius: 0;
  flex: 1;
  height: 44px;
  color: var(--secondary-color);
}

#location-poll .line-wrap input::placeholder {
  text-indent: 4px;
}

#location-poll .line-wrap button {
  height: 44px;
  width: 44px; /* stessa misura dell’altezza */
  aspect-ratio: 1 / 1; /* forza il quadrato */
  border: none;
  background: none;
  color: var(--secondary-color);

  display: flex;
  align-items: center;
  justify-content: center;
}

#location-poll .line-wrap button .svg-holder {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#location-poll .line-wrap button svg {
  height: 60%;
}

#location-poll .line-wrap button a {
  text-decoration: none;
}

#location-poll .results-wrap {
  width: 100%;
  height: 60vh;

  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  gap: 1.4rem;

  overflow: scroll;
}

#location-poll .results-wrap .result-line {
  border: var(--border);
  width: 100%;
  border-bottom: var(--border);
}

.location-info {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 1rem;
}

.indirizzo {
  font-size: 0.7rem;
}

.location-suggestion {
  background: none !important;
  cursor: pointer;
  text-decoration: none;
  justify-content: left;
}

.location-suggestion:hover {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* Loading spinner */
.loading-indicator {
  padding: 2rem 0;
}

.loader-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--secondary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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