html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'DM Sans', sans-serif;
   
  }

  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4caf50;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  

  #map {
    
    position: relative; 
    width: 100%;
    height: 100vh;
    z-index: 10001; /* or auto */
    margin:0;
    padding:0;
     
  }

  .leaflet-control-layers {
    z-index: 10001;
    position: relative;
  }

  #search-bar-container{
    position: absolute;
    top: 80px; 
    left:45px;
    z-index: 9999; 
    background: white;
    border: 1px solid #ccc;
    padding: 5px; 
    border-radius: 5px;

  } 




  .leaflet-container {
    z-index: 0 !important;
  }

#selectContainer {
    position:fixed;
    top: 0;
    left: 0;
    width: 90vw;
    display:flex;
    align-items: center;
    justify-content: center;
     z-index: 100; 
     padding: 11px 0;
    
   }
  
#countrySelect {
    width: 200px;
    margin: 0 auto;
    /* padding: 4px 0; */
    
}

#infoModal {
  position: fixed; /* Ensure modal is fixed */
    display: none; /* Keep it hidden by default */
    top: 50%; /* Vertically center modal */
    left: 50%; /* Horizontally center modal */
    transform: translate(-50%, -50%); /* Center modal precisely */
    
    z-index: 9999 !important; /* Make sure it's above other content */
    width: 100%; /* Full width */
    height: 70%; /* Full height */
    overflow: auto; /* Ensures modal content scrolls if it's too big */
    
}

.modal-dialog {
  max-width: 500px;
  margin: auto;
}

.modal-content {
  
  overflow: hidden;
  border: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  background-color: white;
}

.modal-header {
  display:flex;
  justify-content: space-between;
  align-items:center;
  background-color: #198754; /* Bootstrap green */
   font-size:22px; 
  color: white;
  padding: 0 10px;
  
}

.modal-backdrop {
  display: none !important;
}



.modal-body {
  text-align: center;
  background-color: #fff;
  max-height: 400px; /* Set maximum height for the modal */
  overflow-y: auto;  /* Enable vertical scrolling when content overflows */
}

.modal-body ul {
  list-style-type: none; /* Removes default bullet points */
  padding-left: 0; /* Removes padding left from lists */
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-around;
  font-size: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

.modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: none;
  padding: 1rem 1.25rem;
}

/* Optional: make table prettier */
.table td {
  vertical-align: middle;
  font-size: 0.95rem;
}

.table td.fw-semibold {
  text-align: left;
}

.table td:first-child {
  width: 40px;
  opacity: 0.5; /* optional for placeholder icons */
}

#closeButton {
  border: gray;
  background-color: grey;
  border-radius: 2px;
  padding: 8px 12px;
  color: white;
  cursor:pointer;
}

#exchangeModal{
  position: fixed; /* Ensure modal is fixed */
    display: none; /* Keep it hidden by default */
    top: 50%; /* Vertically center modal */
    left: 50%; /* Horizontally center modal */
    transform: translate(-50%, -50%); /* Center modal precisely */
    
    z-index: 9999 !important; /* Make sure it's above other content */
    width: 100%; /* Full width */
    height: 70%; /* Full height */
    overflow: auto; /* Ensures modal content scrolls if it's too big */
}

.currency-modal-footer{
 
    display: flex;
    
    align-items: center;
    border-top: none;
    padding: 1rem 1.25rem;
  }


#weatherModal {
    position: fixed; /* Ensure modal is fixed */
    display: none; /* Keep it hidden by default */
    top: 50%; /* Vertically center modal */
    left: 50%; /* Horizontally center modal */
    transform: translate(-50%, -50%); /* Center modal precisely */
    
    z-index: 9999 !important; /* Make sure it's above other content */
    width: 100%; /* Full width */
    height: 70%; /* Full height */
    overflow: auto; /* Ensures modal content scrolls if it's too big */
}

#nearbyModal {
  position: fixed; /* Ensure modal is fixed */
  /* display: none;  *//* Keep it hidden by default */
  top: 50%; /* Vertically center modal */
  left: 50%; /* Horizontally center modal */
  transform: translate(-50%, -50%); /* Center modal precisely */
  
  z-index: 9999 !important; /* Make sure it's above other content */
  width: 100%; /* Full width */
  height: 70%; /* Full height */
  overflow: auto; /* Ensures modal content scrolls if it's too big */
}

.place-entry {
  padding: 1.25rem 1rem; /* top & bottom padding */
  margin-bottom: 1.5rem; /* space between entries */
  border-bottom: 1px solid #dee2e6; /* subtle bottom border */
  /* Optional: add a light background for better visual grouping */
  /* background-color: #f8f9fa; */
  /* Optional: add a slight shadow */
  /* box-shadow: 0 1px 3px rgba(0,0,0,0.05); */
}

#wikiModal {
  position: fixed; /* Ensure modal is fixed */
  display: none; /* Keep it hidden by default */
  top: 50%; /* Vertically center modal */
  left: 50%; /* Horizontally center modal */
  transform: translate(-50%, -50%); /* Center modal precisely */
  
  z-index: 9999 !important; /* Make sure it's above other content */
  width: 100%; /* Full width */
  height: 70%; /* Full height */
  overflow: auto; /* Ensures modal content scrolls if it's too big */
}
#newsModal {
  position: fixed; /* Ensure modal is fixed */
  display: none; /* Keep it hidden by default */
  top: 50%; /* Vertically center modal */
  left: 50%; /* Horizontally center modal */
  transform: translate(-50%, -50%); /* Center modal precisely */
  
  z-index: 9999 !important; /* Make sure it's above other content */
  width: 100%; /* Full width */
  height: 70%; /* Full height */
  overflow: auto; /* Ensures modal content scrolls if it's too big */
}

#newsModal .modal-body {
  text-align: left;
}





  

 




  
  