﻿.app-shell {
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.sidebar {
    width: 18%;
    background: #f8f9fa;
    padding: 1rem;
    height: 100vh; /* or 100% if you're already inside a full-height flex */
    display: flex;
    flex-direction: column;
}
    .sidebar form {
        flex: 1 1 auto;
        overflow-y: auto; /* scroll only when needed */
        min-height: 0; /* important for flex children */
        scrollbar-gutter: stable; /* optional: prevents layout shift when scrollbar appears */
    }


.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-container {
    flex: 1;
    position: relative;
}

#map1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
