:root {
  --mar: #29758F; 
  --marlight: #4791aa; 
  --oro: #B09069; 
  --orolight: #d5ccc0bd;
}


/* -----------Loading---------------*/
/* This will center the spinner-container */
.spinner-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  position: relative;
  border: 16px solid #f3f3f3; /* Light gray */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-text {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: #3498db; /* Blue color for the text */
  text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* -----------Sidebar Styling ---------------*/


 # planMenu {
  position: fixed;
  top: 0;
  left: -350px;
  width: 250px;
  height: 100%;
  background-color: var(--orolight);
  padding: 15px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: left 0.5s ease-out;
}

/* Plan Logo Styling */
.planLogo {
  width: 12vh;
  height: auto;
  object-fit: contain;
}

/* Plan Image Styling */
#planImageContainer {
  margin-top: 2vh;
  position: relative;
  width: 100%;
  height: 100%;
}

.planImage {
  width: 100%;
}

.planImage img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  mix-blend-mode: screen;
}

/* Dot Styling */
.planDot {
  position: absolute;
  width: 1.5vh;
  height: 1.5vh;
  min-width: 15px;
  min-height: 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
  mix-blend-mode: normal;
}

.planDot:hover {
  background-color: var(--oro);
}

#radarDotContainer {
  transform: translate(-2.25vh, 0.75vh);
}

#radarDot {
  width: 3vh;
  height: 3vh;
  background-color: #4791aa79;
  border-bottom-left-radius: 3vh;
  transform-origin: 100% 0%;
}

/* Mobile-Responsive Styling */

@media (max-width: 900px) {
  .planLogo {
    position: fixed;
    top: 4vh;  /* Adjust the position from top */
    right: 4vh; /* Align it to the right */
    width: 18vh;  /* Adjust the size of the logo on small screens */
    object-fit: contain;
  }

  /* Adjust the plan image for mobile */
  #planImageContainer {
    height: 100%; /* Ensure the plan image takes up available space */
  }

  .planImage img {
    
    object-fit: contain;
  }

  /* Mobile styling for floor buttons */
  .button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .piso-button {
    font-size: 2vh;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 20px;
    flex: 1;
    margin: 0 5px;
  }

  .piso-button:hover {
    background-color: var(--mar);
  }

  .deactivated {
    border: 2px solid #ccc;
  }

  .deactivated:hover {
    background-color: gray;
  }

  #disclaimer {
    position: fixed;
    bottom: 0;
    left: 25vw;
    width: 75vw; /* Full width of the viewport */
    text-align: center;
    font-size: 2vh;
    color: white;
    line-height: 1.4;
    padding: 5px 0;
    z-index: 9999; /* Ensure it stays on top */
  } 
}

@media (max-width: 500px) {
  .planLogo {
    position: fixed;
    top: 4vh;  /* Adjust the position from top */
    right: 4vh; /* Align it to the right */
    width: 12vh;  /* Adjust the size of the logo on small screens */
    object-fit: contain;
  }
  #planMenu {
  display: none;
  }
  #disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw; /* Full width of the viewport */
    text-align: center;
    font-size: 1vh;
    color: white;
    line-height: 1;
    padding: 5px 0;
    z-index: 9999; /* Ensure it stays on top */
  } 
}

.disclaimer {
  position: absolute;
  width: 80%;
  font-size: 12px;
  color: white;
  bottom: 0px;
  left: 10%;
  text-align: center;
  line-height: 1.4;
}  

/* Desktop Styling */
.piso-button {
  height: 6vh;
  max-height: 30px;
  padding: 10px 20px;
  border-radius: 4vh;
  border: 2px solid white;
  background-color: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.piso-button:hover {
  background-color: var(--mar);
  color: white;
}

.deactivated {
  border: 2px solid #ccc;
}

.deactivated:hover {
  background-color: gray;
}

/* -------------------Font Faces ----------------------*/
@font-face {
  font-family: 'Riccione';
  src: url('/ui/riccione.ttf') format('truetype');
}

@font-face {
  font-family: 'centrallight';
  src: url('/ui/centrallight.ttf') format('truetype');
}

@font-face {
  font-family: Arial, Helvetica, sans-serif;
}

/* Color Classes */
.mar {
  background-color: #29758F;
}

.marlight {
  background-color: #4791aa; 
}

.oro {
  background-color: #B09069;
}

.orolight {
  background-color: #D5CCC0;
}

.white{
  background-color: #fff;
}

/* Overlay Styling */
#tutorial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  padding: 20px;
  cursor: pointer;
  font-family: 'Helvetica', sans-serif;
}

#info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  padding: 20px;
  cursor: pointer;
}

.infotable {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  color: #000; /* Dark text for contrast */
  background-color: rgba(255, 255, 255, 0.9); /* Lighter background */
  border-radius: 8px;
  padding: 20px;
  font-weight: 300; /* Lighter font */
}

#infoText1 {
  font-family: 'Inter', sans-serif; /* Modern, highly readable font */
  font-size: 28px; /* Bigger title */
  font-weight: bold;
  text-align: left; /* Align title to the left */
  color: #222; /* Darker shade for emphasis */
  margin-bottom: 10px;
  background: none; /* Remove background */
  padding: 0; /* Remove extra spacing */
}

#infoText2 {
  font-family: 'Inter', sans-serif; /* Modern, highly readable font */
  font-size: 16px;
  letter-spacing: 0.8px; /* Subtle spacing */
  word-spacing: 2px;
  text-align: justify; /* Clean paragraph alignment */
  color: #555; /* Softer and easier on the eyes */
  opacity: 0.85; /* Slight transparency for a smooth feel */
  line-height: 1.4; /* More breathing room for text */
}

.centerContent {
  display: flex;
  justify-content: center;
  align-items: center;
}

.whitefont {
  color: #fff;
}

.tutorialtable {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 20px;
}

#tutorial th {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
}

.overlayLogo, .overlayIcon {
  width: 20vh;
  margin-bottom: 10px;
  object-fit: contain;
}

.overlayIcon {
  width: 10vh;
}

.overlayLine {
  padding-bottom: 3vh;
  padding-top: 3vh;
  border-bottom: 1px solid #ddd;
}

.overlayAction {
  margin: 10px 0;
  font-family: 'Helvetica', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}


.overlayBtn {
  background-color: var(--oro);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.overlayBtn:hover {
  background-color: #1e5d74;
}

/* Floating Elements */
.float {
  float: left;
}

/* Font Sizes and Weights */
.medium {
  font-weight: 500;
}

.large {
  font-size: 20px;
}

.rounded {
  border-radius: 8px;
}

/* Button Styling */

.centertext {
  text-align: center;
}

.nonselectable {
  user-select: none;
}

.hidden {
  visibility: hidden;
}


.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  
}

/* Flexbox for actions */
.overlayActionsTable {
  width: 100%;
  display: flex; 
  justify-content: space-evenly; 
  gap: 20px; 
  padding-top: 20px;
}

.overlayActionBox {
text-align: center;

}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {

}

input.check-toggle-round-flat:checked ~ .on {
  color: #fff;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #fff;
  
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #fff;
  
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
  background-color: var(--mar);
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: transparent; /* No background color */
  border: 2px solid white; /* White border */
  
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px; /* Rounded corners */
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
}

label:before {
  background-color: var(--mar);
}

input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #fff;
  background-color: var(--oro);
  -webkit-border-radius: 52px;
  -moz-border-radius: 52px;
  -ms-border-radius: 52px;
  -o-border-radius: 52px;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -moz-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label {
  
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}






