.pageBg {
  z-index: 1;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%),
    none !important;
}

#beforeAfterSwitcher {
  display: none !important;
}

.leftSide ul {
  list-style: none;
}

.leftSide .logo {
  margin-bottom: 0.5rem;
  width: 13vh;
}

.leftSide {
  overflow: visible !important;
}

.leftSide hr {
  width: 100% !important;
  margin: 12px 0;
}

#btn-container {
  width: fit-content;
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 1rem;
  margin-top: max(1rem, 12px);
  padding: 0.25rem;
  /* flex-direction: column; */
}

.hideAtMobile {
  display: none;
  padding-right: 0.25rem;
}

#left-container {
  overflow: hidden !important;
  padding: 0.5rem !important;
}

.note {
  font-size: 8px;
  max-width: 55%;
  position: absolute;
  left: 3%;
  top: -2.7rem;
  color: #919191;
}

.note span {
  display: inline-block;
  margin-bottom: 0.35rem !important;
  color: darkgray !important;
}

.renderLabel {
  display: none;
}

.rightSide {
  width: 100% !important;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100 !important;
  padding: 17% 2% 15% 2%;
  display: flex !important;
  align-items: start;
  flex-direction: column;
  background-image: linear-gradient(
    to right,
    rgb(0, 0, 0, 0.9) 0%,
    rgb(16 16 16 / 95%) 100%
  );
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    visibility 0s,
    transform 0.5s ease;
}

.rightSideShow {
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* -------------HOTSPOTS------------------- */

#hotspots img {
  border-radius: 50%;
  border: none !important;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;
}

#hotspots img:not([src*="poi-"]):hover {
  outline: 2px solid rgba(255, 255, 255, 1);
  scale: 1.2;
}

#hotspots img[src*="-"]:not([src*="info"]):not([src*="eye"]) {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
  pointer-events: none;
}

#hotspots img[src*="-"]:not([src*="info"]):not([src*="eye"]).show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block;
}

#hotspots img:is([src*="info"]) {
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#hotspots img:is([src*="info"]).visible {
  opacity: 1;
  visibility: visible;
}

#hotspots img:is([src*="red"], [src*="blue"], [src*="poi-"]) {
  pointer-events: none !important;
}

#hotspots img:is([src*="eye"], [src*="eye-1"]) {
  outline-color: rgba(255, 255, 255, 0);
  animation: pulseOutline 2s infinite ease-out;
}

#hotspots div.ggdefaulthotspot {
  width: 100px !important;
  height: fit-content !important;
  background-color: var(--colorBrandSecondary90) !important;
  color: white !important;
  font-family: var(--fontHeader) !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  border: 1px solid white !important;
  padding: 4px 10px !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3) !important;
  text-align: center !important;
  transition:
    opacity 0.3s ease-in-out,
    transform 0.2s ease-in-out !important;
  transform: translateY(10px) !important;
  left: -50px !important;
  white-space: nowrap !important;
}

/* ------------SWITCHER--------------------- */

.switcherContainer {
  padding: 4px;
}

.switcherContainer button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  background-color: rgba(255, 255, 255, 0) !important;
  color: white;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  font-family: var(--fontRegular);
  font-size: max(0.9rem, 12px);
  font-weight: 400;
  user-select: none;
  transition: all 0.3s ease !important;
  white-space: nowrap;
}

.unit-button.active {
  background: var(--colorBrandGreen) !important;
  color: var(--colorBrandSecondary);
  box-shadow: var(--buttonOverOutline);
  pointer-events: none !important;
  font-family: var(--fontBig);
}

.switcherContainer button:hover {
  background: var(--colorBrandPrimary70) !important;
  color: white;
}

/* -----------------FILTERS-------------------- */

.filterToggleContainer {
  display: flex;
  justify-content: start;
  align-items: end;
  gap: 2rem;
}

.bedroomFilterStatus {
  display: flex;
  flex-direction: column;
}

.statusFilter {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 0.75rem 1rem;
  width: 100%;
  flex-wrap: wrap;
  width: fit-content;
  pointer-events: all !important;
  padding: 0rem;
  /* padding: 0.5rem 1rem; */
  /* padding-left: 0.25rem; */
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  /* border: 1px solid #ffffff26;
  border-radius: 4rem; */
}

#bedroomFilterTitle {
  display: none;
  margin: 0;
  margin-bottom: 1rem;
  font-size: 16px;
  font-weight: bolder !important;
}

.statusFilter label {
  display: none;
  justify-content: center;
  align-items: center;
  margin-right: 4px;
  font-size: max(1.5vh, 13px);
  white-space: nowrap;
  pointer-events: inherit;
  height: 25px;
  text-shadow: 0 0 15px black;
  font-family: var(--fontRegular);
  font-weight: 400;
}

.statusFilter input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  outline: 2px solid #cccccc73;
  border-radius: 50%;
  border: none !important;
  cursor: pointer;
  vertical-align: bottom;
  margin: 0;
  margin-right: 0;
  transition: all 0.2s;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

input[type="radio"] {
  transition: all 0.2s ease-in-out;
}

.statusFilter input[type="radio"]:hover,
.statusFilter input[type="checkbox"]:hover {
  outline: 2.5px solid white;
}

.statusFilter input[value="all"] {
  background-color: rgba(109, 109, 109, 0.15) !important;
  outline: 2px solid rgba(109, 109, 109, 0.7);
}

.statusFilter input[value="all"]:checked {
  background-color: #6d6d6d !important;
  outline: 2.8px solid white !important;
}

.statusFilter input[value="available"] {
  background-color: rgba(0, 128, 0, 0.15) !important;
  outline: 2px solid rgba(0, 128, 0, 0.7);
}

.statusFilter input[value="available"]:checked {
  background-color: green !important;
  outline: 2.8px solid white !important;
}

.statusFilter input[value="reserved"],
.statusFilter input[value="withheld"],
.statusFilter input[value="deposit-taken"] {
  background-color: rgba(0, 0, 255, 0.15) !important;
  outline: 2px solid rgb(6, 125, 255, 0.7);
}

.statusFilter input[value="reserved"]:checked,
.statusFilter input[value="withheld"]:checked,
.statusFilter input[value="deposit-taken"]:checked {
  background-color: rgb(6 125 255) !important;
  outline: 2.8px solid white !important;
}

.statusFilter input[value="sold"] {
  background-color: rgba(255, 0, 0, 0.15) !important;
  outline: 2px solid rgba(255, 0, 0, 0.7);
}

.statusFilter input[value="sold"]:checked {
  background-color: red !important;
  outline: 2.8px solid white !important;
}

.statusFilter input[value="stage-2-release"],
.statusFilter input[value="stage-3-release"],
.statusFilter input[value="future-release-2026"] {
  background-color: rgba(255, 166, 0, 0.15) !important;
  outline: 2px solid rgba(255, 166, 0, 0.7);
}

.statusFilter input[value="stage-2-release"]:checked,
.statusFilter input[value="stage-3-release"]:checked,
.statusFilter input[value="future-release-2026"]:checked {
  background-color: orange !important;
  outline: 2.8px solid white !important;
}

.toggleSwitchContainer {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 0.5rem;
  pointer-events: auto !important;
  width: fit-content;
  margin-top: 0.5rem;
  flex-direction: column;
}

.toggle-switch {
  position: relative;
  width: max(3.5rem, 40px);
  height: max(1.77rem, 20px);
  /* margin-top: 10px; */
  pointer-events: auto !important;
  /* box-shadow: 0 0 20px rgb(60, 60, 60); */
}

.toggle-title {
  font-size: max(0.9rem, 12px);
  margin: 0;
  margin-bottom: 4px;
  white-space: nowrap;
}

.toggle-label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: background-color 0.3s;
  outline: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgb(60, 60, 60);
}

.toggle-label:before {
  position: absolute;
  content: "";
  height: max(1.4rem, 15px);
  width: max(1.4rem, 15px);
  left: max(0.1rem, 3px);
  bottom: max(0.1rem, 3px);
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-input:checked + .toggle-label:before {
  transform: translateX(max(1.7rem, 20px));
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-input:checked + .toggle-label {
  background-color: var(--colorBrandSecondary);
}

input[type="checkbox"]:checked {
  background: var(--colorBrandSecondary);
}

.statusFilter label {
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--fontRegular) !important;
  color: white;
}

/* ------------Responsive------------------------ */

@media only screen and (min-width: 412px) and (max-height: 767px) and (orientation: landscape) {
  .pageBg {
    z-index: 1;
    background-image:
      linear-gradient(to right, rgba(0, 0, 0, 0.847) 0%, rgba(0, 0, 0, 0) 50%),
      none !important;
  }

  .statusFilter {
    /* flex-direction: column; */
    flex-direction: row;
  }

  .note {
    max-width: 70%;
  }

  .rightSide {
    padding: 9% 1% 8% 1% !important;
  }
}

@media only screen and (min-width: 768px) {
  .statusFilter {
    flex-wrap: nowrap;
  }
  #btn-container {
    flex-direction: row;
  }

  .hideAtMobile {
    display: inline !important;
  }
}

/* Tablet Landscape (1024px to 1279px) */
@media only screen and (min-width: 1024px) {
  .leftSideIcons {
    display: flex;
  }
  #btn-container {
    margin-top: 0.2rem;
  }
  .statusGuide {
    display: flex;
    flex-direction: column;
  }
  .note {
    font-size: 10px;
    color: lightgray;
    max-width: 300px;
    position: unset;
    /* margin-top: 2rem; */
    margin-top: 1rem;
  }

  #bedroomFilterTitle {
    display: block;
    margin: 1rem 0 0.25rem 0;
  }

  .statusFilter {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .note span,
  .note br {
    display: none;
  }

  .renderLabel {
    display: block;
  }

  .rightSide {
    padding: 120px 10%;
  }

  .filterToggleContainer {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }

  .toggleSwitchContainer {
    order: 1;
  }
}
