body {
        margin: 0;
        padding: 0;
        font-size: 1rem;
      }
body, html{
        
        height: 100%;
      }
.pagina{
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: row;
  flex: 1;

}
#map {
        position: relative;
        height: auto; 
        width: 100%;
        flex: 1;  
        margin-left: 0;
      }


.leaflet-popup-content {
  max-width: 150px !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1;
  color: #222;
  margin: 7px ;
  margin-top: 18px;
  
}

.leaflet-popup-content h3 {
  font-size: 110%;
  
  color: #3c2203;
  margin-bottom: -10px;
}

.leaflet-popup-content img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
  margin: 3px 0;
}
@media (min-width: 920px) {
 .leaflet-popup-content img {
  display: none;
}
}
.leaflet-popup-content a {
  color: #ffffff;
  text-decoration: none;
 
}

.leaflet-popup-content .popup-buttons{
  display: flex;
  
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  
}

.leaflet-popup-content button {
  
  width: 100%;
 
  
  margin-bottom: 3px;
  display: flex;
  align-items: center;

  justify-content: center;
  background-color: #8b5e3c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.474);


}

.leaflet-popup-content button:hover {
  
  background-color: #44250f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.leaflet-popup-content .gmaps{
 background: rgba(255, 255, 255, 0.884);
 padding: 1px;
 border-radius: 2px;
  width: 0.7em;
  height: 1em;
  margin-top: 0;
  margin-right: 6px;
  display: block;
}
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
  background-color: #fff;
  color: #333;
  font-size: 18px;
  border: 1px solid #aaa;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
  background-color: #eee;
}


.leaflet-control-zoom.leaflet-bar {
  border-radius: 10px;
  margin: 30px;
  margin-top: 15vh;
  overflow: hidden;                 
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
   transform: scale(1.2);
}


.leaflet-control-zoom.leaflet-bar a {
  background: #222 !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  line-height: 40px;                
  font-size: 22px;
  border: none;
}


.leaflet-control-zoom.leaflet-bar a:hover,
.leaflet-control-zoom.leaflet-bar a:focus {
  background: #444 !important;
}


.leaflet-control-zoom.leaflet-bar a + a {
  border-top: 1px solid rgba(255,255,255,.15);
}


.leaflet-touch .leaflet-control-zoom.leaflet-bar a {
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 24px;
}
.leaflet-pane.leaflet-tooltip-pane {
  z-index: 500;
}
.leaflet-tooltip.route-label {
  background: none;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
  
 
  font-weight: 450;
  font-size: 15px;
  box-shadow: none;
 border:none;
  white-space: nowrap;
  pointer-events: none;
}
.leaflet-tooltip.route-label::before,
.leaflet-tooltip.route-label::after {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}

/*POPUP STYLE*/

.popup-right .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 8px;
  padding: 4px 3px;
  color: #3c2f1d;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.popup-right .leaflet-popup-tip {
  display: none;
}


.popup-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent #fff transparent transparent; 
  filter: drop-shadow(-1px 2px 2px rgba(0, 0, 0, 0.2));
}

#side-panel {
    position: relative;
  width: 25vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(206, 206, 192);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  box-sizing: border-box;
  padding: 1.5vh 1vw; /* responsive spacing */
  overflow: hidden; 
}

.container-btn {
  

  flex: 0 0 20vh;
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
  border-radius: 1vh;
  padding: 1vh;
  font-size: 1.8vh;
  background: #6346078d;
  border-radius: 10px;
  padding: 1rem;
  margin-top: 8vh;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.1);
   flex: 0 0 auto;
}



.btn-general {
  
   display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 8vh;
}


.btn-general:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}


.maps-img {
   width: 30px;
  height: 100%;
  padding: 0.6em;
  background: #f8f8f848;
  border-left: 1px solid rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  filter: brightness(0.9);
  object-fit: contain;
  vertical-align: middle;
}

.maps-img:hover {
  transform: scale(1.15);
  filter: brightness(1.2);
}





.btn {



   flex: 1;
  text-align: center;
  padding: 12px 16px;
  background: transparent;
  border: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.5vw;
  cursor: pointer;
  color: #3b2a18;
  transition: color 0.2s ease;
 
  height: 100%;

 
}

.btn, .btn-general {
  transition: all 0.3s ease-in-out;
}
.btn:hover
{

  color: #b23b00;
}

.btn:active {
background: #000000;
font-size: 1rem;
  color: white;
  border-color: #fff;
  box-shadow: 0 0 10px #ff4040;
}

.btn.active {
  background: linear-gradient(90deg, #b23b00, #e05b00);
  color: white;
  font-weight: 700;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
.btn.active + a .maps-img {

  background: #789590d9;
  filter: brightness(1.3);
}

.btn-general:nth-child(1) .btn.active {
  height: 100%;
  background: linear-gradient(90deg, #f8c400, #ffcc00);
  color: #3c2203;
}
.btn-general:nth-child(2) .btn.active {
  height: 100%;
  background: linear-gradient(90deg, #1e90ff, #2b5cf7);
}
.btn-general:nth-child(3) .btn.active {
  height: 100%;
  background: linear-gradient(90deg, #2e8b57, #1f5f3c);
}

#objective-content {
  background: #f8f8f8;
  border-radius: 6px;
  padding: 0.5rem;
  min-height: 10px;
  font-size: 0.9rem;
  color: #333;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
  position: relative;
 
 flex: 1 1 auto;
  overflow-y: auto; 
   flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background: #f8f8f8;
  border-radius: 0.8vh;
  padding: 1vh;
  font-size: clamp(1.2vh, 1vw, 0.9rem);
}

#objective-title {
  font-weight: bold;
  margin-bottom: 0rem;
  font-size: 1rem;
  color: #a10000;
}
#obj-nume{
  font-weight: bold;
  
  font-size: 1.1rem;
  color: #333;}
#objective-body {
 
  flex-direction: column;
  align-items: center;
  justify-self: center;
  margin-top: 0rem;
  font-size: 2.5vh;
  line-height: 0.9;
    
  min-height: 0;
  width: 100%;
 
}
#objective-body img {
 

  width: 90%;
  height: 24vh;
  max-height: 25vh; 
  object-fit: cover;
  border-radius: 0.5vh;
}
#objective-body .gmaps{
 
  display: none;
}
#objective-body a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2vw;
}
#objective-body button {
  
  
  margin-right: 1%;
  margin-top: 0.5rem;
    background-color: #8b5e3c;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);

  width: 45%;
  height: 5vh;
  font-size: clamp(1.2vh, 1vw, 0.9rem);
}
#objective-body button:hover {
  
  background-color: #44250f;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);}
#objective-nav {
  margin-top: 0.5rem;
   display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6vh;
  margin-bottom: 0.5rem;
 
}
#objective-nav h3 {
  font-size: clamp(1.8vh, 1.5vw, 1rem);
  margin: 5px;
  text-align: center;
}

#objective-nav button {
  background: #ddd;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

#objective-nav button:hover {
  background: #bbb;
}
.panel-section {
flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: clamp(1.2vh, 1vw, 1rem);
  
}

/*INDICATIE*/
#top-prompt {
  position: fixed;
  top: 10vh;
  left:35%;
  background: #000;
  color: #fff;
  z-index: 3000;
  padding: 8px 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  border-radius: 12px;
  opacity: 0.85;
}

#top-prompt .prompt-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#top-prompt .prompt-inner span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prompt-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.prompt-hidden {
  display: none !important;
}





@media (max-width: 920px) {
 
  .pagina {
    flex-direction: column;
  }
  #side-panel {
     width: 100%;
  height: auto;
  max-height: 40vh;
  box-shadow: none;
  padding: 0;
  flex-shrink: 0; 
  position: relative;
  order: 2;
    filter: drop-shadow(0 1px 20px rgba(0, 0, 0, 0.742));
   
  }
   #map {
     flex: 1;           
  width: 100%;
  margin: 0;
  position: relative;
  order: 1;
       
  }

  .leaflet-control-zoom.leaflet-bar {
  
  margin: 30px;
  margin-top: 13vh!important;

   
}
  #top-prompt {
    display: none;
  }

  #objective-content{
    display: none;
  }

  #obj-nume{
    
    display: block;
    
    
  }


 

   .container-btn {
    flex-direction: row;
    justify-content: space-around;
    gap: 8px;
    padding: 8px;
    margin-top: 0;
     flex: 0 1 5vh;
     border-radius: 0;
  }
  .btn-general {
    flex: 1;
    
    
  }
  .maps-img {
  height: 4vh;
  border-radius: 10px;
  margin: 2px;
}
  .leaflet-popup-content {
  max-width: 100px !important;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  line-height: 1;
  color: #222;
  
}
.leaflet-popup-content button {
  
  margin-top: 2px;
  
  padding: 5px 10px;
  
  font-size: 13px;
  

}
.leaflet-control-zoom.leaflet-bar {
  border-radius: 10px;
  margin: 2px;
  overflow: hidden;                 
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
   transform: scale(0.9);
}
.panel-section{
  display: flex;
  flex-direction: column;
}

#objective-nav {
 display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: auto;
  height: 5vh;
}
#objective-nav h3 {
  font-size: 4vw;
  margin: 5px;
  text-align: center;
}
#select{
 display: none;
 
}
.btn {
font-size: 1.7vh;
  text-align: center;
  justify-self: center;
  
}}

@media (max-width:400px){
.maps-img {
  
  width: 2vw;
  height: auto;
  padding: 10;
  background: #ece4e4;
}
.btn.active + a .maps-img {

  background: #110d7499;
  filter: brightness(1.3);
  
}

.btn {



 
  padding: 3px 4px;
 
 
}
}
@media (max-width:380px){
.maps-img {
  display: none;
  
}
.btn.active + a .maps-img {

  background: #110d7499;
  filter: brightness(1.3);
  display: block;
}

.btn {



 
  padding: 1px 1px;
 
 
}
}
@media(max-width:400px){
    .leaflet-popup-content {
  max-width: 80px !important;
  font-family: "Poppins", sans-serif;
  font-size: 8px;
  line-height: 1;
  color: #222;
  
}
}