/*html {
    height: 100%;
    margin: 0;
    overflow-y: auto ;
    overflow-x: hidden;
}

body {
    display: flex;
    width:100vw;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #eee;
    overflow-y: auto;
}*/

.off-canvas-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 0 auto;
}

.off-canvas-wrapper-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 0 auto;
}

.off-canvas-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 0 auto;
}

.top-bar {
    flex-wrap: nowrap;


}

.top-bar .title-bar-title {
    white-space: nowrap; /* avoid breaking the title */
}

.top-bar-left {
    margin-right: auto; /* push it to the right */
    max-width: 90%;
}

.top-bar-right {
    margin-left: auto; /* push it to the right */
    padding-right:8px;
}

.main-content {
    flex: 1 0 auto;
    padding: 8px;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
}

.map-container {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Mobile layout enhancements */
@media (max-width: 640px) {
    .main-content {
        padding: 0;
    }
    
    .off-canvas-wrapper,
    .off-canvas-wrapper-inner,
    .off-canvas-content {
        min-height: 100vh;
        height: 100vh;
    }
    
    .top-bar {
        flex-shrink: 0;
    }
    
    footer {
        flex-shrink: 0;
    }
}

footer {
    flex-shrink: 0;
    background-color: #414073;
    color: white;
    margin-top: auto;
}


.nicecard {
    margin: 4px;
    padding: 4px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.nicebutton {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
