.address-street-search {
  border: none;
  border-top: 1px solid var(--secondary-color);
  border-bottom: 1px solid var(--secondary-color);
  padding: 20px 0;
}
.address-street-search .form p {
  margin: 5px 0;
}

.address-search-map .address-search-map__wrap.inactive .toggle-switch-wrap {
  display: none;
}
.address-search-map .address-search-map__wrap.inactive .google-map-container {
  display: none;
}
.address-search-map .address-search-map__map {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
}
.address-search-map .address-search-map__map {
  margin-bottom: 20px;
  border-radius: 20px;
}
.address-search-map .address-search-map__opt-in .address-search-map__map-background {
  max-width: 1280px;
  border-radius: 20px;
  aspect-ratio: 16/7;
  background-image: url("../Images/MapConsent.png");
  margin: 20px auto;
  position: relative;
}
@media only screen and (max-width: 992px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background {
    aspect-ratio: 16/9;
  }
}
@media only screen and (max-width: 768px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background {
    aspect-ratio: 4/3;
  }
}
@media only screen and (max-width: 576px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background {
    aspect-ratio: 1;
  }
}
@media only screen and (max-width: 380px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background {
    aspect-ratio: 3/4;
  }
}
.address-search-map .address-search-map__opt-in .address-search-map__map-background:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  z-index: 1;
}
.address-search-map .address-search-map__opt-in .address-search-map__map-background .address-search-map__text {
  position: absolute;
  z-index: 2;
  max-width: 768px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 20px 40px;
  border-radius: 20px;
}
@media only screen and (max-width: 992px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background .address-search-map__text {
    max-width: initial;
    width: 75%;
  }
}
@media only screen and (max-width: 576px) {
  .address-search-map .address-search-map__opt-in .address-search-map__map-background .address-search-map__text {
    width: 90%;
    padding: 20px 10px;
  }
}
.address-search-map .toggle-switch-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}
.address-search-map .toggle-switch-wrap span {
  padding: 0 20px;
}
.address-search-map .toggle-switch-wrap.toggle-switch-wrap--mobile {
  display: none;
}
@media only screen and (max-width: 768px) {
  .address-search-map .toggle-switch-wrap.toggle-switch-wrap--mobile {
    display: flex;
  }
  .address-search-map .toggle-switch-wrap.toggle-switch-wrap--desktop {
    display: none;
  }
}
.address-search-map .toggle-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 40px;
  cursor: pointer;
}
.address-search-map .toggle-switch input[type=checkbox] {
  display: none;
}
.address-search-map .toggle-switch-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 20px;
  transition: background-color 0.3s ease-in-out;
}
.address-search-map .toggle-switch-handle {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}
.address-search-map .toggle-switch::before {
  content: "";
  position: absolute;
  top: -25px;
  right: -35px;
  font-size: 12px;
  font-weight: bold;
  color: #aaa;
  text-shadow: 1px 1px #fff;
  transition: color 0.3s ease-in-out;
}
.address-search-map .toggle-switch input[type=checkbox]:checked + .toggle-switch-handle {
  transform: translateX(45px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--secondary-color);
}
.address-search-map .toggle-switch input[type=checkbox]:checked + .toggle-switch-background {
  background-color: var(--secondary-color);
}
.address-search-map .toggle-switch input[type=checkbox]:checked + .toggle-switch:before {
  content: "On";
  color: #05c46b;
  right: -15px;
}
.address-search-map .toggle-switch input[type=checkbox]:checked + .toggle-switch-background .toggle-switch-handle {
  transform: translateX(40px);
}

.search-list .search-list__results {
  margin-top: 50px;
}