* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
}

a {
    color: #048cd0;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

.drone-view {
    width: 54px; 
    height: 54px; 
    padding: 8px; 
    border-radius: 50%; 
    position: fixed; 
    top: 24px; 
    right: 140px; 
    z-index: 9; 
    background-color: #ffffff; 
    overflow: hidden;
}

.viewer-inner-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    overflow: auto;
}

.viewer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: grab;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.viewer-container.dragging {
    cursor: grabbing;
    transition: none;
}

.layout {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viewer-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #048cd0;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

.villa-info-model {
    position: relative;
    width: 200px;
    font-family: Roboto;
    height: auto;
}

.filters {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 99;
    background-color: rgba(0,0,0,0.7);
    padding: 14px;
    display: none;
    flex-direction: column;
    row-gap: 24px;
}

.villa-info-model {
    position: fixed;
    bottom: 18px;
    left: 60px;
    z-index: 99;
    background-color: rgba(0,0,0,0.7);
    padding: 14px;
    display: none;
    flex-direction: column;
    row-gap: 18px;
    border-radius: 10px;
}

.villa-info-model div {
    display: flex;
    column-gap: 8px;
    color: #ffffff;
}

.villa-info-model div a {
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    color: #ffffff;
    outline: none;
    border: none;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 300;
}

#callback {
    background-color: #25d366;
}

        
#Callback{
    display: flex;
    align-items: center;
    justify-content: center;
}

#explore {
    background-color: #048cd0;
}

.status {
    color: aqua;
}

.left-controls,
.right-controls {
    display: flex;
    position: fixed;
    bottom: 12px;
    z-index: 99;
}

.left-controls {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    left: 96px;
    display: none;
}

.right-controls {
    right: 24px;
    column-gap: 14px;
}

.left-controls div,
.right-controls div {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 2px;
    row-gap: 4px;
    font-family: Roboto;
}

.left-controls div {
    display: flex;
    flex-direction: column;
}

.right-controls div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.left-controls div div,
.right-controls div div {
    height: 36px;
    width: 36px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: #144b71;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.left-controls div div i {
    transform: rotate(-45deg);
}

.filters {
    height: 250px;
    width: 280px;
    color: #ffffff;
    border-radius: 6px;
    user-select: none;
    overflow-y: auto;
}

.filters div {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.filters div ul {
    border-left: 1px dashed #ffffff;
    padding-left: 8px;
}

.filters-active {
    display: flex;
}

.orientations,
.sizes,
.statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.orientations li,
.sizes li,
.statuses li {
    border: 1px solid #ffffff;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 2px;
    font-family: Roboto;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 2px;
}

.reset-btn {
    cursor: pointer;
    outline: none;
    border: none;
    padding: 6px 12px;
    border-radius: 2px;
    font-family: Roboto;
    border: 1px solid #048cd0;
    color: #ffffff;
    background-color: transparent;
}

.active-btn {
    background-color: #ffffff;
    color: #000000 !important;
}
  
.full-screen-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    background-color: #000000;
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.full-screen-container button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.hide {
    display: none;
}

.count {
    position: absolute;
    right: -10px;
    top: -12px;
    background-color: #7cbc04;
    z-index: 9;
    height: 24px;
    width: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    letter-spacing: 0;
}

.copyright-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 4px;
    left: center;
    padding: 0;
}

.copyright {
    background-color: #000000;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 50px;
    margin-top: -24px;
    user-select: none;
}

.controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    column-gap: 18px;
}

.controls a {
    background-color: #048cd0;
    font-weight: 400;
    letter-spacing: 2px;
    width: max-content;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 14px;
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.about-inner-wrapper {
    height: 70%;
    width: 65%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    overflow-y: auto;
}

.toggle-container {
    position: fixed;
    top: 30px;
    right: 72px;
    z-index: 9;
    display: block;
}

.right-controls div span {
    user-select: none;
}

@media screen and (max-width: 1399px) and (orientation: landscape) {

    .toggle-container {
        top: 10px;
        right: 50px;
    }

    .logo {
        width: 70px;
        max-height: 70px;
        top: 8px;
        left: 8px;
    }

    .full-screen-container {
        height: 30px;
        width: 30px;
        font-size: 36px;
        top: 8px;
        right: 8px;
    }

    .left-controls {
        left: 8px;
    }

    .right-controls {
        flex-direction: column;
        right: 8px;
        row-gap: 8px;
    }

    .right-controls div span {
        display: none;
    }

    .copyright-wrapper {
        display: none;
    }

    .copyright {
        font-size: 12px;
    }

    .filters,
    .villa-info-model {
        bottom: 8px;
        right: 48px;
    } 

    body,
    .viewer-container {
        overflow: auto;
        width: auto;
        height: auto;
        object-fit: contain;
    }   

    .left-controls div div,
    .right-controls div div {
        background-color: #048cd0;
    }
}

.rotate-device-orientation-wrapper {
    background-color: #ffffff;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rotate-device-orientation-text {
    font-size: 24px;
    font-weight: 500;
}


@media screen and (max-width: 1399px) and (orientation: portrait) {
    .rotate-device-orientation-wrapper {
        display: flex;
        overflow: hidden;
    }
}

.minimize {
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-color: #ff0000;
    border: none;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 8px;
    right: 8px;
}

.close-btn {
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-color: #ff0000;
    border: none;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -16px;
    right: -16px;
}

.surroundings {
    width: 100%;
    height: 100%;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}
  
.checkbox:checked + .checkbox-label .ball {
    transform: translateX(24px);
}

.loader-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: #000000;
}

.loader {
    max-width: 350px;
    max-height: 350px;
}

.hidden-loader {
    display: none;
}

  .popover-1 {
    position: fixed;
    top: 0;
    /*left: 0;*/
    left:auto;
    z-index: 999;
    background-color: rgba(0,0,0,0.6);
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;    
  }

  .popover-1 video {
    object-fit: cover;
  }

  .popover-1-video-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .popover-1-video-wrapper button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -18px;
    right: -18px;
    align-self: flex-end;
    outline: none;
    border: none;
    color: #ff0000;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #ffffff;
  }

  @media screen and (max-width: 1023px) {
    .popover-1 video {
        height: 240px;
        width: 426px;
    }
  }

  @media screen and (min-width: 1024px) {
    .popover-1 video {
        width: 854px;
        height: 480px;
    }
  }

.triangle-down {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 16px solid rgba(0,0,0,0.7);
    position: absolute;
    bottom: -16px;
    left: 46%;
}

.triangle-up {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 16px solid rgba(0,0,0,0.7);
    position: absolute;
    top: -16px;
    left: 46%;
}

.triangle-left {
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-right: 16px solid rgba(0,0,0,0.7);
	border-bottom: 8px solid transparent;
    position: absolute;
    left: -16px;
    top: 46%;
}

.triangle-right {
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-left: 16px solid rgba(0,0,0,0.7);
	border-bottom: 8px solid transparent;
}

.spim-logo-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 72px;
  padding: 8px;
  background-color: #ffffff;
}

.spim-logo {
  width: 100%;
  height: 100%;
}

.header {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 9;
    width: max-content;
    display: flex;
    align-items: center;
    column-gap: 12px;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 4px;
    font-family: Inter;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

.logo {
    max-width: 100px;
    max-height: 55px;
    display: flex;
    align-items: center;
}

.back-btn {
    border: none;
    outline: none;
    background-color: #048cd0;
    color: #ffffff;
    cursor: pointer;
    z-index: 9;
    padding: 4px 4px;
    border-radius: 4px;
    font-family: Inter;
    letter-spacing: 1px;
    font-size: 16px;
}

.loader-container svg {
    background: transparent;
    width: 100%;
    height: 100%;
}

.loader-container path, .loader-container rect, .loader-container polygon {
    fill: transparent;
    stroke: #ffffff;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-opacity: 1;
    stroke-dasharray: 10000; 
    stroke-dashoffset: 0;
    filter: 
        drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.75))
        drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.75));
    transform-origin: center;
    transition: 
        stroke 0.3s ease-in-out,
        stroke-width 0.3s ease-in-out,
        stroke-dashoffset 0.4s ease-in-out,
        stroke-opacity 0.3s ease-in-out;
}

.loader-container .cls {
  fill: none;
  stroke: #ffffff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loader-container .path-reveal {
  stroke-dasharray: 10000; /* Large enough to match the full length */
  stroke-dashoffset: 10000;
  animation: draw 10s ease-in-out infinite;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}