body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

#map {
    width: 100%;
    height: 95%; /* Map takes 80% of the screen height */
}

#search-bar-container {
    width: 100%;
    padding: 10px;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-box {
    align-items: center;
    padding: 10px;
    width: 70%;
    max-width: 600px; 
    font-size: 16px;
}

button {
    padding: 10px 20px;
    margin-left: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* Force Google Maps UI Controls to be Visible */
.gm-control-active,
.gm-fullscreen-control,
.gm-svpc,
.gm-style-mtc {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (min-width: 1024px) { /* Desktop-specific fixes */
    .gm-control-active {
        display: block !important;
    }
}