body {
    font-family: Arial, sans-serif;
    margin: 5px;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.sidebar {
    width: 40%;
    background-color: #f4f4f4;
    transition: width 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar.hidden {
    width: 0;
}

.sidebar.hidden + .toggle-btn {
    left: 0;
}

.tab-container {
    display: flex;
    width: 100%;
}

.tab-container button {
    flex: 1;
    padding: 5px;
    color: white;
    font-weight: bold;
    border: none;   
}

.tab1 { background-color: green; }
.tab2 { background-color: blue; }
.tab3 { background-color: orange; }
.tab5 { background-color: purple; }

.tab-container button:hover {
    opacity: 0.8;
}

.tab-content {
    padding: 1px;
    flex: 1;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    padding: 0;
    position: relative;
}

#main {
    display: flex;
    height: calc(100vh - 40px); /* Full height minus menubar */
}

#map {
    flex-grow: 1;
    height: 100%;
    width: 100%;
}

.toggle-btn {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: white;
    border: none;
    padding: 5px 5px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    transition: left 0.3s ease;
}

.toggle-btn:hover {
    background-color: #555;
}

