html, body, main, #panel {
height: 100%;
margin: 0;
padding: 0;
}

#map {
width: 100%;
height: 100%;
position: relative;
}

#locateMe {
position: fixed;
bottom: 40px;
z-index: 1001;
cursor: pointer;
background: #333333;
color: white;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
padding: 5px;
transition: transform 0.3s ease;
left: 15px;
font-family: 'Segoe UI', sans-serif;
}

.locateMeImage {
display: flex;
align-items: center; 
cursor:pointer;
}

.toggle-button {
all: unset;
position: fixed;
transition: transform 0.3s ease;
z-index: 1001;
font-size: 24px;
cursor: pointer;
color: white;
background: #333333;
padding: 8px 12px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

body.menu-open .toggle-button,
body.menu-open #locateMe {
    transform: translateX(250px); /* same width as menu */
}

/* Side Menu */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: #f9f9f9;
  border-right: 1px solid #ddd;
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
  overflow-y: auto;
  padding: 30px 20px;
  box-sizing: border-box;
  z-index: 1000;
  transform: translateX(-270px); /* Adjusted to match new width */
  transition: transform 0.3s ease;
  font-family: 'Segoe UI', sans-serif;
}

/* When menu is open */
#menu.menu-open {
  transform: translateX(0);
}

/* Top-level nav list */
#menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Top-level menu item */
#menu ul > li {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
}

/* Submenu */
#menu ul li ul {
  margin-top: 6px;
  margin-left: 16px;
  padding-left: 10px;
  border-left: 2px solid #ccc;
}

#menu ul li ul li {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
}

/* Link styling */
#menu a {
  color: #222;
  text-decoration: none;
  display: inline-block;
  padding: 3px 0;
  transition: color 0.2s ease;
}

#menu a:hover {
  color: #007BFF;
  text-decoration: underline;
}

/* Active link style */
#menu a.active {
  color: #007BFF;
  font-weight: bold;
}

/* Toggle Button */
.toggle-button {
  top: 15px;
  left: 15px;
}

/* Optional: Scrollbar style for better appearance */
#menu::-webkit-scrollbar {
  width: 6px;
}

#menu::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

#menu::-webkit-scrollbar-track {
  background-color: #f2f2f2;
}

.gm-style .gm-style-iw {
  background: rgba(0, 0, 0, 0.7) !important; /* full black popup */
  color: white !important;
  padding: 5px 20px !important;
  border-radius: 8px !important;
}

.gm-style .gm-style-iw-t::after {
  background: rgba(0, 0, 0, 0.7) !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
}

.gm-ui-hover-effect span {
    background-color: white !important;
    margin-bottom: 0 !important;
}


.map-info-window {
  font-family: "Arial", sans-serif;
  font-size: 13px;
  max-width: 250px;
  position: relative;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

.map-info-thumb {
  width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.map-info-title {
  margin-bottom: 4px;
  color: white;
}

.map-info-details {
  margin-top: 8px;
  color: white;
  font-size: medium;
}

.map-info-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.map-info-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 30px;
  background-color: #79766B;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  transition: background-color 0.2s ease;
}

.map-info-link:hover {
  background-color: #004899;
}

@keyframes dropIn {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.drop-animation {
  animation: dropIn 0.5s ease;
}