/* Basic Page Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Map Container */
#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

/* Custom Location Button (Floating Action Button style) */
.location-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s;
}

.location-btn:active {
    background-color: #f0f0f0;
}

.location-btn img {
    width: 25px;
    height: 25px;
}
/* Updated Bottom Drawer */
#drawer {
    position: fixed;
    bottom: -100%; 
    left: 0;
    width: 100%;
    
    /* Default "Peek" Height */
    height: 180px; 
    background-color: white;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    padding: 15px 20px;
    box-sizing: border-box;
    overflow: hidden; /* Hide extra details until expanded */
    border-radius: 20px 20px 0 0;
}

/* Open/Peek State (Shows just the title) */
#drawer.active {
    bottom: 0;
}

/* Expanded State (When user clicks/taps the drawer) */
#drawer.expanded {
    height: 55%; 
    overflow-y: auto;
}

/* Visual Handle to show it can be pulled up */
#drawer::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    margin: 0 auto 10px auto;
}

.drawer-header {
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 3px;
}
.map-credit {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 6px 12px;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 11px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}