.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;
}

.rightSide {
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100 !important;
}

.fancybox__backdrop {
  background-color: var(--colorBrandPrimary20) !important;
}

.popupCloseButton i {
  color: var(--white) !important;
}

/* .leftSide hr {
  background-color: rgb(255 255 255 / 30%) !important;
  width: 190px;
} */

/* .leftSide h1 {
  font-family: var(--fontBig);
  font-size: max(4.5vh, 24px);
  text-shadow: 0 0 5px var(--colorGrayDark);
} */

.leftSide ul {
  list-style: none;
}

.leftSide .logo {
  margin-bottom: 0.5rem;
  width: 13vh;
}
.leftSide {
  overflow: visible !important;
}

/* .buttonPrimaryWithText {
  text-transform: capitalize;
  border: none;
  font-size: 1rem;
  padding: 1.2vh 1.5vh;
  background-color: #ebe9dbe6;
  color: #131b13;
  transition: all 0.3s;
} */

/* .buttonPrimaryWithText:hover {
  background-color: var(--colorBrandSecondary90);
  color: white;
  box-shadow: var(--buttonOverOutline);
} */

#btn-container {
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

#left-container {
  overflow: hidden !important;
  padding: 0.5rem 0.2rem !important;
}

#property-list {
  max-height: 0;
  /* overflow: hidden; */
  margin: 0 0 0 1.5rem !important;
  opacity: 0;
  display: block;
  transition: max-height 0.7s ease, opacity 0.7s ease;
  padding: 0.5 rem 0 !important;
}

#property-list.actived {
  max-height: 500px;
  opacity: 1;
}

.leftSideIcons {
  display: none;
  flex-direction: column;
  justify-content: start;
  /* gap: 0.25rem; */
  align-items: start;
  flex-wrap: nowrap;
  background: #20262c4a;
  border-radius: 8px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(6px);
  margin: 0.75rem 0;
  width: fit-content;
}

.leftSideIcons > div {
  display: flex;
  gap: 1rem;
  justify-content: start;
  align-items: center;
  text-align: center;
  color: var(--colorGrayLight);
  flex: 1;
}

.animatedChildrens > div {
  transform: scale(0.5);
  /* transition: transform 0.5s ease; */
  opacity: 0;
  transition: all 0.5s ease;
}

.leftSideIcons > div > img {
  width: 48px;
  height: auto;
  margin: 0 auto 1vh auto;
}

.leftSideIcons > div b {
  color: #ffffff;
  font-family: var(--fontHeader);
  /* white-space: nowrap; */
  margin-bottom: 0.5rem;
  text-align: left;
}

.floorViewCloseButton {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3) !important;
  /* border: solid 1px rgba(255, 255, 255, 0.2); */
  z-index: 21;
}

.floorViewCloseButton::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: var(--floorCloseButtonIcon);
  background-position: center;
  background-repeat: no-repeat;
}

.floorViewCloseButton::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--buttonOverGradient);
  z-index: 0;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: top;
}

#hotspots div.ggdefaulthotspot {
  /* width: fit-content !important; */
  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;
}

/* -------------------------------------------- */

.aerial-legend {
  display: flex;
  flex-direction: column;
  gap: 18px 5px;
}

.statusGuide div {
  align-items: flex-end;
}

.aerial-circle {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 12px;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  float: left;
  margin: 4px 10px 0 0;
}

.aerial-legend {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.statusGuide {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px 12px;
}

.aerial-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}
.note {
  font-size: 10px;
  max-width: 220px;
  position: absolute;
  left: 3%;
  top: -3.5rem;
}

.toggleSwitchContainer {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
  pointer-events: auto !important;
}

.toggle-switch {
  position: relative;
  /* width: 60px;
  height: 30px; */
  width: 50px;
  height: 25px;
  /* margin-top: 10px; */
  pointer-events: auto !important;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.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);
}

.toggle-label:before {
  position: absolute;
  content: "";
  /* height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px; */
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-input:checked + .toggle-label {
  background-image: var(
    --colorBrandGradiantHorizontal
  ); /* Change to your desired color when checked */
}

.toggle-input:checked + .toggle-label:before {
  transform: translateX(24px); /* Move the circle to the right */
}

/* ----------------------------------------------------- */

#hotspots img {
  border-radius: 50%;
  border: none !important;
  outline: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;
}

#hotspots img:hover {
  outline: 2px solid rgba(255, 255, 255, 1);
  scale: 1.2;
}

#hotspots img:is([src*="info"]) {
  border-radius: 0 !important;
  border: none !important;
  outline: none !important;
  pointer-events: none !important;
}

#hotspots img:is([src*="red"], [src*="orange"], [src*="blue"]) {
  pointer-events: none !important;
}

#hotspots img:is([src*="eye"], ) {
  /* outline-width: 0px; */
  outline-color: rgba(255, 255, 255, 0);
  /* border: 5px solid white !important; */
  /* border-radius: 1rem !important; */
  animation: pulseOutline 2s infinite ease-out;
}

/* ----------------------------------------------------- */
.popup {
  display: none;

  flex-direction: column;
  justify-content: start;
  align-items: start;
  position: absolute;
  background-color: var(--colorBrandPrimary);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  /* background-image: var(--colorBrandGradiantVertical); */
  /* background-color: var(--colorBrandNeutral); */
}

.popup-logo {
  width: 150px;
  height: auto;
  display: inline-block;
  margin: 0.8rem 0.5rem;
}
#request-documents-2 {
  /* box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.4); */
  /* padding: 0.75rem 2rem !important; */
  margin: 0.5rem auto !important;
  width: 16vh;
  /* pointer-events: all; */
  /* position: fixed; */
  /* text-align: center !important; */
  /* right: 0.5rem; */
  /* top: 0.5rem; */
  /* z-index: 100;
  transition: all 0.3s ease; */
  background-color: var(--colorBrandYellow);
}

.popup p {
  font-family: var(--fontRegular);
  font-size: 16px;
  color: var(--colorBrandSand);
  margin: 8px 0;
}

.popup-title {
  font-weight: bold;
}

.green-status {
  color: green !important;
  font-weight: bold !important;
}

/* ----------------------------------------------------- */

.renderLabel {
  position: absolute;
  bottom: calc(var(--footerHeight) + 10px) !important;
  opacity: 1 !important;
  font-size: 16px !important;
  left: 2rem !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
}

/* #request-documents {
  width: 100%;
  } */

@media screen and (min-width: 586px) and (orientation: landscape) {
  .renderLabel {
    position: absolute;
    bottom: calc(var(--footerHeight) + 10px);
    top: auto !important;
    right: auto !important;
    left: 2rem;
    opacity: 1 !important;
    font-size: 12px !important;
  }
}

/* ------------------------------------------------------ */

/* Mobile Portrait (up to 480px) */
/* Styles for mobile portrait screens */
@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;
  }

  .buttonPrimaryWithText {
    font-size: 1.5rem;
  }

  .toggleSwitchContainer {
    flex-direction: column;
    align-items: start;
  }
}

/* Mobile Landscape (481px to 767px) */
@media only screen and (min-width: 481px) and (max-width: 767px) {
  /* .statusGuide {
    display: flex;
  } */
}

/* Tablet Portrait (768px to 1023px) */
@media only screen and (min-width: 768px) {
  .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;
  }
  .toggleSwitchContainer {
    flex-direction: column;
    align-items: start;
  }
  .statusGuide {
    display: flex;
    flex-direction: column;
  }
  .note {
    max-width: 300px;
    position: unset;
  }
}

/* Tablet Landscape (1024px to 1279px) */
@media only screen and (min-width: 1024px) {
  .leftSideIcons {
    display: flex;
  }
  #btn-container {
    margin-top: 1rem;
  }
}

/* Small Desktop (1280px to 1440px) */
@media only screen and (min-width: 1280px) and (max-width: 1440px) {
  /* Styles for small desktop screens */
}

/* Desktop (1441px to 1920px) */
@media only screen and (min-width: 1441px) and (max-width: 1920px) {
  /* Styles for desktop screens */
}

/* Large Desktop (1921px and above) */
@media only screen and (min-width: 1921px) {
  /* Styles for large desktop screens */
}

/* Portrait Orientation */
@media only screen and (orientation: portrait) {
  /* Styles for portrait orientation */
}

/* Landscape Orientation */
@media only screen and (orientation: landscape) {
  /* Styles for landscape orientation */
  .statusGuide {
    display: flex;
    flex-direction: column;
  }
  .note {
    max-width: 300px;
    position: unset;
  }
}

/* Large Devices and Tablets in Landscape Mode */
@media (min-width: 1024px) and (orientation: landscape) {
  .switcherContainer {
    border: solid 3px rgb(255 255 255);
    padding: 6px 3px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.705);
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-radius: 20px;
  }
}
