body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

#app-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    padding-top: 56px;
    /* Height of navbar */
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Control Panel */
.control-panel {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 350px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Locate Me Button */
#locateBtn {
    position: absolute;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
#toggle-controls {
    position: absolute;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
    .control-panel {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        border-radius: 15px 15px 0 0 !important;
        transform: translateY(100%);
        max-height: 70vh;
    }

    .control-panel.show {
        transform: translateY(0);
    }

    #locateBtn {
        bottom: 90px;
        /* Move up above toggle */
    }

    #toggle-controls {
        bottom: 20px;
    }
}

/* Auth Pages Background */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Map Switcher in Navbar */
#switchMapBtn {
    min-width: 160px;
}