

/* ..:: Tool Box ::.. */

.tools-box-container {
    z-index: 1006;
    position: absolute;
    right: 3%;
    bottom: 3.5%;
    background: #9bdaff4b;
    width: 100px;
    height: 160px;
    border-radius: 1rem;
    display: flex;    
    flex-direction: column;
}

/* Transparency of Heatmap  */

.transparent-tool-btn {
    width: 15px;
    height: 150px;
    text-align: center;
    background: #ffffffac;
    position: absolute;
    left: 5px;
    bottom: 5px;
    border-radius: 12px;
    align-content: center;
    text-align: center;    
    font-family: 'SEBANG_Gothic_regular';
    color: #000000;

}
.transparent-tool-btn:hover {
    cursor: pointer;
}

/* .transparent-tool-box {
    height: 150px;
    width: 70px;
    background: #ffffffac;
    position: absolute;
    left: 25px;
    bottom: 5px;
    border-radius: 12px;
    display: none;
}

.transparent-tool-box-hidden {
    display: block;
}

#heatmapOpacity-control {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: 1001;
}
#heatmapOpacity-control label {
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: #000;
    font-family: 'SEBANG_Gothic_regular';
}

input[type=range][orient=vertical] {
    height: 110px;
    z-index: 1005;
    

} */
/* ---------------------------- */
.transparent-tool-box {
    height: 150px;
    width: 70px;
    background: #ffffffac;
    position: absolute;
    left: 25px;
    bottom: 5px;
    border-radius: 12px;
    display: none;
}

.transparent-tool-box-hidden {
    display: block;
}

#heatmapOpacity-control {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: 1001;
}

#heatmapOpacity-control label {
    font-size: 0.6rem;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
    color: #000;
    font-family: 'SEBANG_Gothic_regular';
}

/* Custom slider track and handle styles */
.slider-track {
    width: 8px;
    height: 110px;
    background-color: #2196f3;
    box-shadow: inset 0.1px 0.1px 2px #111111a6;
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
}

.slider-handle {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: #f53b3bf8;
    box-shadow: inset 0.1px 0.1px 5px #000d477c;
    position: absolute;
    left: -4px;
    cursor: pointer;
    z-index: 1005;
    transition: transform 0.3s ease; /* Smooth transition for the transform property */
}

.slider-handle:hover {    
    transform: scale(1.2); /* Shrinks the handle */
}


/* Gradient Bar */

.gradient-tool-box {    
    height: 150px;
    width: 70px;
    background: #ffffffac;
    position: absolute;
    right: 5px;
    bottom: 5px;
    border-radius: 12px;
    color: #000;
}

.gradient-bar-container {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: flex-start; 
    z-index: 1000;
    padding: 10%;
    border-radius: 12px;
}

.gradient-bar {
    width: 10px;
    height: 125px;
    background: linear-gradient(to top,
        rgb(128, 0, 128) 1%,        
        rgb(0, 0, 255) 20%,
        rgb(0, 255, 255) 40%,
        rgb(0, 255, 0) 60%,
        rgb(255, 255, 0) 80%,
        rgb(255, 0, 0) 100%
    );
    box-shadow: -1px 1px 5px #0000003d;
    border-radius: 10px; /* Rounded corners */
    position: relative;
}

.gradient-labels {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    font-family: Arial, sans-serif;
}

/* General label styling */
.gradient-label {
    padding-top: 9px;
    /* line-height: 1.4rem; */
    margin-right: 10px;
    font-size: 12px; /* Font size of the labels */
    font-family: 'SEBANG_Gothic_regular';
    color: #000;
}

/* Optional: Styling for the "tons" label */
.gradient-labels > div:first-child {
    padding-top: 0; 
}


/* The slider */
.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 20px;
  margin: 0 5px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f53b3bea;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: rgb(255, 255, 255);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  /* box-shadow: 0 0 1px #2196f3; */
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*  Tool Box Buttons  */

.load-btn-style{
    width: 100px;
    height: 40px;
    background: #ffffffaa;
    /* box-shadow: inset 0.5px 0.5px 5px #ffffff60; */
    font-family: 'SEBANG_Gothic_regular';
    color: #000;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    align-content: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.modeSelection-box{
    z-index: 1005;
    position: absolute;
    /* bottom: calc(3.5% + 210px); */
    bottom: calc(3.5% + 165px);
    right: 3%;    
}

.load-monthly-data-btn {
    z-index: 1005;
    position: absolute;
    bottom: calc(3.5% + 210px);
    right: 3%;    
}

.load-monthly-data-btn .icon {
    height: 30px;
    width: 30px;
    background: #fff;
}

.load-monthly-data-btn:hover {
    cursor: pointer;
}


/* ..:: Custom Monthly Data Load */

.month-selection-box {
    z-index: 1005;
    position: absolute;
    bottom: 30%;
    left: 40%;
    width: 250px;
    /* height: 300px; */
    font-family: 'SEBANG_Gothic_regular';
    color: #fff;
    background: #000000ac;
    border-radius: 20px;
    display: none;
}

.month-title-container {
    margin: 10px 20px 0 20px;
    display: flex;
    justify-content: space-between;
}

.month-x:hover {    
    cursor: pointer;
}

.month-data-container {
    width: 90%;
    /* height:70%; */
    margin:5%;   
    padding: 2% 2%; 
    background: #0000004b;
    border-radius: 20px;
    /* display: flex; */
    /* justify-content: space-between; */
    /* box-shadow: inset 0.5px 0.5px 2px #00000083; */
}

.year-label {
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
}
.year-label div {
    margin: 0 8px;
}

.month-row {
    display: flex;
    justify-content: space-between; /* Space between the columns */
}

.month-column label {
    display: flex; /* Make labels block elements */
    margin: 15px; /* Spacing above labels */
    font-size: 12px;
    font-family: 'SEBANG_Gothic_regular';
    color: #fff;
}

.month-column input[type="checkbox"] {
    margin-right: 10px; /* Spacing between checkbox and label */
}

.month-data-load-btn {
    margin: 0 auto 10px auto;
    width: 70%;
    height: 36px;
    font-size: 16px;
    text-align: center;
    align-content: center;
    border-radius: 10px;
    background: #00146eaf;
    /* box-shadow: inset 1px 1px 5px #0a6daf83; */
}
.month-data-load-btn:hover {
    cursor: pointer;
}



/* ..:: Loader Styles ::.. */

@keyframes breath {
    0% {
      transform: scale(0.85);
      opacity: 1;
    }
    50% {
      transform: scale(1);
      opacity: 0.8;
    }
    100% {
      transform: scale(0.85);
      opacity: 1;
    }
  }
  
  .svg-animate-loading {
    position: absolute;
    z-index: 1500;
    right: 30%;
    top: 45%;
    width: fit-content;
  }

  .svg-animate {    
    animation: breath 1.5s ease-in-out infinite;
    transform-origin: center;
  }

  
/* Consecutive animations using delay */
.part-1 {
    animation-delay: 0s;
  }
  .part-2 {
    animation-delay: 0.25s;
  }
  .part-3 {
    animation-delay: 0.5s;
  }
  .part-4 {
    animation-delay: 0.75s;
  }
  .part-5 {
    animation-delay: 1s;
  }

.polyline-opacity {
    opacity: 0.12   ;
}
