/* Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Main viewer background */
.pnlm-container,
.pnlm-render-container,
.pnlm-panorama,
.pnlm-load-box,
.pnlm-loading,
canvas {
  background: rgba(0,0,0,1) !important;
}

/* Loader */
.pnlm-load-box,.pnlm-loading,.pnlm-load-button{display:none!important;}
.loader {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  transition: opacity .4s ease;
}

.loader.hide {
  opacity: 0;
}

.line-loader {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
}

.line-loader::before {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 40%;
  height: 100%;
  background: #fff;
  animation: lineMove 1s ease-in-out infinite;
}

.loader img{
  width: 70px;
  height: auto;
  opacity: .3;
  transition: opacity .4s ease;
}

@keyframes lineMove {
  0% {
    left: -40%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Slider */
.pano-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: auto;
}
.pano { width: 100%; height: 100%; }

/* Navigation */
.nav.sld {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  font-size: 2.6rem;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff;
  cursor: pointer;
  transition: all ease .4s;
}
.nav.sld:hover{
  opacity: .8;
  transition: all ease .4s;
}
.prev { left: 10px; }
.next { right: 10px; }
.counter {
  font-size: 1.9rem;
  font-weight: 700;
  position: absolute;
  bottom: 40px;
  right: 90px;
  padding: 5px 10px;
  background: linear-gradient(135deg,rgba(55,121,255,0.06),rgba(55,121,255,0.01)),rgba(11,15,14,0.7) !important;
  backdrop-filter: blur(5px) saturate(150%);
  -webkit-backdrop-filter: blur(5px) saturate(150%);
  padding: 25px;
  backdrop-filter: blur(6px);
  z-index: 10;
}
#counter {
  transition: all ease 0.4s;
  opacity: 1;
}
#counter.fade-out {
  opacity: 0;
  transform: translateX(10px);
}
#counter.fade-in {
  opacity: 1;
  transform: translateX(0px);
}
.counter .count-total{ color: rgba(200,200,200,1); }
.counter .bigft{ font-size: 3.1rem; color: #fff !important; }
/* PROPERTY INFO OVERLAY */
#pano-title {
  position: absolute;
  bottom: 10vh;
  left: 8vw;
  z-index: 20;
  background: rgba(0,0,0,.25);
  padding: 25px 30px 45px;
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}
#pano-title.hide {
  opacity: 0;
  transform: translateY(30px);
}
#pano-title .descp{
  display: flex;
}
#pano-title .maintitle {
  font-size: 2.6rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 30px;
}
.listing-card .badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.8px;
  display: inline-block;
  background: rgba(55,121,255,.85);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.listing-card .price {
  font-size: 3.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.listing-card .address {
  font-size: 14px;
  opacity: .85;
}
.listing-card .meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  padding: 0 15px;
  gap: 6px;
  font-size: 13px;
  opacity: .9;
  margin-left: 15px;
}

/* Hotspot */
.custom-hotspot{
  position: absolute;
  width:10px;
  height:10px;
  background: rgba(55,121,255,.85);
  backdrop-filter: blur(5px) saturate(150%);
  -webkit-backdrop-filter: blur(5px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.01);
  box-shadow:inset 0 .05px 0 rgba(255,255,255,0.10),0 3px 10px rgba(0,0,0,0.25);
  border-radius:50%;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 25;
  isolation: isolate;
}

div.pnlm-tooltip span{
  display: block !important; 
  opacity: 1 !important; 
  visibility: visible !important;
  margin-left: 30px;
  left: 0px;
  top: -13px;
  width: max-content !important;
  max-width: unset;
  z-index: 1;
}

div.pnlm-tooltip:hover span::after{ content: unset; }

/* pulse circle */
.custom-hotspot::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(55,121,255, 0.65);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hotspotPulse 1.8s ease-out infinite;
  pointer-events: none;
  z-index: 2;
}

.custom-hotspot:hover::before {
  width: 0px;
  height: 0px;
}

/* pulse animation */
@keyframes hotspotPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.8;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

/* Tooltip */
.pnlm-tooltip span {
  background: rgba(0,0,0,.8) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 5px 8px;
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;                 
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}
.popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup-box {
  background: #111;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  overflow: hidden;
  transform: translateY(0px) scale(.95);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.popup.active .popup-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.popup-box img { width: 100%; display: block; }
.popup-content { padding: 25px 20px; }
.popup-content h3{
  margin: 0 0 10px;
  color: #fff;
}
.popup-content p{
  margin: 0 0 15px;
  color: #fff;
}
.popup-info{
  margin-top: 15px;
  color: #fff;
}
.popup-info div{
  font-weight: 300;
  font-size: 13px;
  margin-bottom: 5px;
  color: #fff;
}
.popup-info div span, .popup-info div a{
  opacity: .86;
  letter-spacing: .6px;
  color: #fff;
}
.popup-info div a{
  text-decoration: none;
  color: #fff;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}
#popup-text{
  font-weight: 300;
  opacity: .86;
  color: #fff;
}
#popup-link{
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.8px;
  display: inline-block;
  background: rgba(55,121,255,1);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 15px;
  margin-top: 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-decoration: none;
}

/* Fullscreen */
.fs-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg,rgba(55,121,255,0.06),rgba(55,121,255,0.01)),rgba(11,15,14,0.7) !important;
  backdrop-filter: blur(5px) saturate(150%);
  -webkit-backdrop-filter: blur(5px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.01);
  box-shadow: inset 0 .05px 0 rgba(255,255,255,0.10),0 3px 10px rgba(0,0,0,0.25);
}

/* Scrolldown */
.scroll-indicator {
  text-decoration: none;
  position: absolute;
  right: 15px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.scroll-indicator span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  opacity: 0.8;
}

.scroll-indicator i {
  font-size: 18px;
  color: rgba(255,255,255,.4);
  animation: arrowMove 1.4s ease-in-out infinite;
}

@keyframes arrowMove {
  0%   { transform: translateY(0); opacity: 0.4; }
  50%  { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.4; }
}

.pnlm-about-msg,
.pnlm-about-box,
.pnlm-info {
display: none !important;
}

/* Fullscreen */
.pnlm-about-box{ opacity: .3; }
.pano-slider:fullscreen,
.pano-slider:-webkit-full-screen,
.pano-slider:-moz-full-screen,
.pano-slider:-ms-fullscreen {
  max-width: 100%;
  height: 100vh;
  margin: 0;
  border-radius: 0;
}

.pano-slider:fullscreen .nav,
.pano-slider:-webkit-full-screen .nav,
.pano-slider:fullscreen .counter,
.pano-slider:-webkit-full-screen .counter,
.pano-slider:fullscreen #pano-title,
.pano-slider:-webkit-full-screen #pano-title,
.pano-slider:fullscreen .fs-btn,
.pano-slider:-webkit-full-screen .fs-btn {
  z-index: 9999;
}

#pano-slider.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: #000;
}

@media (max-width: 830px) {
  #slider{
    padding-bottom: 30px;
  }
  #counter{ display: none !important; }
  #pano-slider {
    height: 75vh;
    margin: 0;
  }
 #pano-title {
    width: 90vw;
    margin-right: 10vw;
    padding: 25px 30px 25px;
    bottom: 0px;
    left: 0px;
    margin: 0 0 5px 5px;
  }
  #pano-title .descp, #pano-title .maintitle{
    display: block;
    margin: 0;
  }
  .listing-card .price{
    font-size: 2.2rem;
  }
  .listing-card .meta{
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  .scroll-indicator{
    right: 5px;
  }
  .sld.prev{left: 0px;}
  .sld.next{right: 0px; }
}