/* Reset and Base Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; /* Prevent scrolling */
}

/* Map Container */
#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

/* Branding Overlay */
.knoost-header {
    position: absolute;
    top: 10px;
    left: 60px; /* Offset for search bar space */
    z-index: 1000;
    background: white;
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.knoost-header h1 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

/* Locate Me Button */
#locate-btn {
    position: absolute;
    bottom: 30px;
    right: 20px;
    z-index: 1000;
    background-color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#locate-btn:hover {
    background-color: #f0f0f0;
}

#locate-btn:active {
    background-color: #e0e0e0;
}

/* Responsive adjustments for Mobile */
@media (max-width: 600px) {
    .knoost-header {
        top: auto;
        bottom: 30px;
        left: 20px;
        right: auto;
    }
    
    /* Move Leaflet controls down a bit if needed */
    .leaflet-top.leaflet-left {
        margin-top: 10px;
    }
}
/* Style the Layer Switcher (View Button) */
.leaflet-control-layers {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
    padding: 5px !important;
}

.leaflet-control-layers-toggle {
    width: 44px !important;
    height: 44px !important;
    background-size: 30px 30px !important; /* Make icon larger */
}

/* Expand the menu nicely */
.leaflet-control-layers-expanded {
    padding: 10px !important;
    background: white;
    font-size: 14px;
    color: #333;
    line-height: 24px;
}