 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }

 body {
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
   line-height: 1.6;
   color: #333;
 }

 /* Left Sidebar */
 .sidebar {
   color: #333;
   padding: 1rem;
   overflow-y: auto;
   box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
   position: relative;
   height: 800px;
 }


 .sidebar.sidebar-content {
   /* box-shadow: 2px 0 10px rgb(191 191 191 / 91%); */
   box-shadow: none;
   padding:55px 0;
 }

 .filter-section {
   background: #f8f9fa;
   border-radius: 10px;
   padding: 1rem;
   margin-bottom: 1.5rem;
 }


 .select-all-row {
   display: flex;
   align-items: center;
   margin-bottom: 0.8rem;
   padding-bottom: 0.5rem;
   border-bottom: 1px dashed #ccc;
 }

 .select-all-row input[type="checkbox"] {
   margin-right: 8px;
   width: 18px;
   height: 18px;
   cursor: pointer;
   accent-color: #d0a76c;
 }

 .select-all-row label {
   cursor: pointer;
   font-size: 0.95rem;
   color: #000080;
   font-weight: 600;
   flex: 1;
 }

 .filter-checkbox {
   display: flex;
   align-items: center;
   margin-bottom: 0.5rem;
   /* margin-left: 1.5rem; */
 }

 .filter-checkbox input[type="checkbox"] {
   margin-right: 8px;
   width: 18px;
   height: 18px;
   cursor: pointer;
   accent-color: #d0a76c;
 }

 .filter-checkbox label {
   cursor: pointer;
   font-size: 0.95rem;
   color: #333;
   flex: 1;
 }

 .filter-checkbox label:hover {
   color: #d0a76c;
 }

 .clear-all-link {
   color: #2196f3;
   text-decoration: none;
   font-size: 16px;
   cursor: pointer;
   margin-bottom: 1rem;
   display: inline-block;
 }

 .clear-all-link:hover {
   text-decoration: underline;
 }

 .sidebar h2 {
   font-size: 2rem;
   margin-bottom: 0.5rem;
   color: #000080;
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
 }

 .subtitle {
   margin-bottom: 2rem;
   font-style: italic;
   color: #000080;
   border-bottom: 2px solid rgba(255, 153, 51, 0.3);
   padding-bottom: 0.5rem;
   text-align: center;
 }

 /* Location detail panel */

.location-detail h3 {
  font-size: 30px;
  margin-bottom:0;
  color: #000000;
  border-left: 3px solid #69C200;
  padding-left: 1rem;
  font-weight: 400;
  padding: 11px 16px;
}


/* 
 .coordinates {
   font-family: monospace;
   background: #f0f0f0;
   padding: 0.8rem;
   border-radius: 8px;
   margin: 1rem 0;
   font-size: 1rem;
   border-left: 4px solid #FF9933;
 } */

 .map-content{padding:20px 25px;}

 .map-content h4{font-size:26px;margin-bottom:10px;}

 .description {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    /* text-align: justify; */
 }

 .highlights {
   background: #e8f5e9;
   padding: 1.5rem;
   border-radius: 10px;
   margin: 1.5rem 0;
 }

 .highlights h4 {
   color: #138808;
   margin-bottom: 0.8rem;
   font-size: 1.2rem;
 }

 .highlights ul {
   margin-left: 1.5rem;
   list-style: none;
   padding-left: 0;
 }

 .highlights li {
   margin-bottom: 0.5rem;
 }

 .fun-fact {
   background: #FF9933;
   color: white;
   padding: 1.5rem;
   border-radius: 10px;
   margin-top: 1.5rem;
   font-style: italic;
   font-size: 1.1rem;
   box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
 }

 .info-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   margin: 1.5rem 0;
 }

 .info-card {
   background: white;
   padding: 1rem;
   border-radius: 10px;
   text-align: center;
   box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
 }

 .info-card .label {
   font-size: 0.8rem;
   color: #666;
   text-transform: uppercase;
   letter-spacing: 1px;
 }

 .info-card .value {
   font-size: 1.2rem;
   font-weight: bold;
   color: #000080;
   margin-top: 0.3rem;
 }

 .placeholder-content {
   text-align: center;
   padding: 3rem 1rem;
   color: #666;
 }

 .placeholder-content .big-icon {
   font-size: 4rem;
   margin-bottom: 1rem;
   display: block;
   color: #FF9933;
 }

 .placeholder-content h3 {
   font-size: 1.8rem;
   margin-bottom: 1rem;
   color: #000080;
   border: none;
 }

 /* Right side map */
 .map-container {
   width: 100%;
   height: 800px;
   position: relative;
 }

 #map {
   height: 100%;
   width: 100%;
 }

 .map-controls {
   position: absolute;
   bottom: 20px;
   left: 20px;
   background: white;
   padding: 0.5rem;
   border-radius: 10px;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
   z-index: 0;
   display: flex;
   flex-direction: row;
   gap: 0.3rem;
 }

 .map-controls button {
   padding: 5px 10px;
   border: none;
   border-radius: 5px;
   cursor: pointer;
   background: #f0f0f0;
   transition: all 0.3s ease;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 5px;
 }

 .map-controls button i {
   font-size: 1rem;
 }

 .map-controls button:hover {
   background: #FF9933;
   color: white;
 }

 .map-controls button.active {
   background: #138808;
   color: white;
 }

 .loading-overlay {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(255, 255, 255, 0.8);
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
   display: none;
 }

 .loading-spinner {
   width: 50px;
   height: 50px;
   border: 5px solid #f3f3f3;
   border-top: 5px solid #FF9933;
   border-radius: 50%;
   animation: spin 1s linear infinite;
 }

 @keyframes spin {
   0% {
     transform: rotate(0deg);
   }

   100% {
     transform: rotate(360deg);
   }
 }

 
  .close-icon {
    font-size: 45px;
    position: absolute;
    right: 10px;
    top: -10px;
    cursor: pointer;
  }

  /*********/

 .filter-col{position:relative;}

  #map-filter {
    display: none;
    background: #69C200;
    padding: 5px 13px;
    border: none;
    border-radius: 7px;
    color: #fff;
  }

  #close-filter {
    position: absolute;
    right: 15px;
    font-size: 35px;
    top: 0;
    display:none;
  }

  .sidebar.filter{transform:translateX(0%);overflow-y:unset;}

  .sidebar.filter .filter-main{height:665px;overflow-y:auto;}
 
  @media only screen and (max-width :1199px){

    .sidebar.filter {
      padding: 15px;
      position: absolute;
      z-index: 5;
      width: 265px;
      background: white;
      transform: translateX(-120%);
      top:51px;
      transition: 0.3s;
    }

    #map-filter{display: block;}

    .filter-col {
      width: 100%;
      margin-bottom: 15px;
    }

    #close-filter{display:block;}

    #map-filter i{color: #fff !important;}
  }

  @media only screen and (max-width :991px){

    .sidebar.sidebar-content {
      z-index:10;
      background: #ffff;
      box-shadow: 2px 0 10px rgb(0 0 0 / 27%);
      width: 95%;
      margin:30px auto;
    }

  }

 @media (max-width: 768px) {
   .container {
     flex-direction: column;
   }

   .sidebar {
     width: 100%;
     height: auto;
   }

   .map-container {
     width: 100%;
     height: 55vh;
   }

   .sidebar.filter .filter-main {height: 300px;}
 }

 /* Custom marker styles */
 .custom-marker {
   cursor: pointer;
   transition: transform 0.2s;
 }

 .custom-marker:hover {
   transform: scale(1.1);
 }


