/* .nav-bg {
  height: 10vh;
  width: 100%;
} */

.prop-filter-bg {
  width: 90%;
  height: 60px;
  z-index: 20;
}

.nav-container {
  height: 10vh;
}

.filter-item {
  height: 80%;
  position: relative;
}

.search-filter {
  margin-left: 8px;
  padding-left: 10px;
  padding-right: 10px;
  height: 100%;
  width: 100%;
}

.range-filter {
  margin-right: 8px;
}

.hidden {
  display: none;
}

.prop-modal {
  position: absolute; /* This will allow it to appear under a specific button */
  display: none;
  background-color: rgb(255, 255, 255);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 200px; /* Fixed width for now; you can adjust this */
  margin-top: 10px;
}

.price-filter-modal {
  display: none;
  width: 350px;
  height: 70px;
}

.search-filter-modal {
  display: none;
  width: 100%;
  /* height: 200px; */
}

.prop-type-filter-modal {
  display: none;
  width: 300px;
  height: 400px;
}

.range-filter-modal {
  display: none;
  width: 100%;
  /* height: 70px; */
}

.filter-modal {
  position: absolute;
  top: 60px;
  left: 0px;
  border-radius: 0.5rem;
  background-color: rgb(255, 255, 255);
  z-index: 4550;
}

.search-button {
  height: 80%;
}

.search-button-container {
  height: 80%;
  margin-right: 8px;
  padding-right: 10px;
  padding-left: 10px;
}

.property-type-value {
  height: 80%;
  color: rgb(156 163 175);
}

.selected-property-filter-value {
  background-color: rgb(29 78 216);
  color: white !important;
  border: 2px solid rgb(29 78 216);
}

/* Here on test */
/* Map Section */
.map-section {
  height: 100vh;
  position: sticky;
  top: 0;
}

/* Ensure the Google Map takes up the full available space */
#map {
  width: 100%;
}

/* Product Section - Scrollable */
.product-section {
  overflow-y: auto;
  padding: 20px;
}

.carousel-item {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: none;
}

.carousel-item.active {
  display: block;
}

/* Styling the buttons as circles and making them bigger */
#prev,
#next {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#prev:hover,
#next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

#prev {
  left: 16px;
}

#next {
  right: 16px;
}

.logo img {
  height: 40px;
  /* Set the height of the logo */
  width: auto;
  /* Maintain aspect ratio */
}

/* Snack bar Styling */

#snackbar {
  visibility: hidden; /* Snackbar starts hidden */
  min-width: 250px;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  border-radius: 5px;
  padding: 16px;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 17px;
  opacity: 0; /* Start as invisible */
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

#snackbar.show {
  visibility: visible; /* Visible when shown */
  opacity: 1; /* Fade in */
  bottom: 30px;
}

#snackbar.hide {
  opacity: 0; /* Fade out */
  bottom: 20px; /* Optional: slightly move down during fade-out */
}

.backdrop {
  display: none; /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1; /* Behind the modal */
}

.search-icon-button {
  z-index: 50;
}

/* google maps stylings */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

.property {
  align-items: center;
  background-color: #101217;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  gap: 15px;
  height: 30px;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease-out;
  width: 30px;
  padding: 0px !important;
}

.property::after {
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #101217;
  content: "";
  height: 0;
  left: 50%;
  position: absolute;
  top: 95%;
  transform: translate(-50%, 0);
  transition: all 0.3s ease-out;
  width: 0;
  z-index: 1;
}

.property .icon {
  align-items: center;
  display: flex;
  justify-content: center;
  color: #ffffff;
}

.property .icon svg {
  height: 20px;
  width: auto;
}

.property .details {
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  flex: 1;
  font-size: 21px;
  font-family: "DM Sans", sans-serif !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px;
  border-radius: 8px;
  height: 30vh;
}

/* Pseudo-element for the gradient overlay */
.property .details::before {
  content: "";
  position: absolute;
  border-radius: 8px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 32, 0.559) 0%,
    rgba(34, 34, 71, 0.7441351540616247) 39%,
    rgba(12, 12, 31, 1) 78%
  );
  z-index: 1;
  pointer-events: none;
}

.property .address {
  font-weight: 600;
  text-transform: uppercase;
  color: #dadada;
  font-size: 12px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.property .price {
  font-weight: 300;
  text-transform: uppercase;
  color: #dadada;
  font-size: 17px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.property .features {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.property .features > div {
  align-items: center;
  background: #202532;
  border: 1px solid #3a4153;
  border-radius: 8px;
  color: #f1f1f1;
  display: flex;
  font-size: 13px;
  gap: 5px;
  padding: 10px;
  min-width: 0;
}

.property.highlight {
  background-color: #101217;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.586);
  padding: 12px 20px;
  min-width: 400px;
  height: max-content;
}

.property.highlight::after {
  border-top: 15px solid #101217;
}

.property.highlight .details {
  display: flex;
  justify-content: flex-end;
}

.property.highlight .icon svg {
  width: 70px;
  height: 70px;
}

.property.highlight .icon {
  display: none;
}

.property:not(.highlight) {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    background-color 0.3s ease;
  transform-origin: bottom;
}

.property:not(.highlight):hover {
  background-color: purple;
  transform: scale(0.9);
  animation: bubble 0.4s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.property:not(.highlight):hover::after {
  border-top: 9px solid purple;
}

@keyframes bubble {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1.1);
  }
}

.icon-hover {
  background-color: purple;
  transform: scale(0.9);
  animation: bubble 0.4s forwards cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.icon-hover::after {
  content: "";
  position: absolute; /* Adjust position as needed */
  border-top: 9px solid purple;
  /* Other styling for the ::after element */
}

/* Switch Styling Start */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#toggleSwitch:checked + .slider {
  background-color: #1e293b;
}

#toggleSwitch:focus + .slider {
  box-shadow: 0 0 1px #1e293b;
}

#toggleSwitch:checked + .slider:before {
  transform: translateX(26px);
}
/* Switch Styling End */

/* Pagination Start */
.pagination {
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}
.pagination ul li {
  color: #1e293b;
  list-style: none;
  line-height: 45px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}
.pagination ul li.numb {
  list-style: none;
  height: 45px;
  width: 45px;
  margin: 0 3px;
  line-height: 45px;
  border-radius: 50%;
}
.pagination ul li.numb.first {
  margin: 0px 3px 0 -5px;
}
.pagination ul li.numb.last {
  margin: 0px -5px 0 3px;
}
.pagination ul li.dots {
  font-size: 22px;
  cursor: default;
}
.pagination ul li.btn {
  padding: 0 20px;
  border-radius: 50px;
}
.pagination li.active,
.pagination ul li.numb:hover,
.pagination ul li:first-child:hover,
.pagination ul li:last-child:hover {
  color: #fff;
  background: #1e293b;
}
/* Pagination End */
