#map {
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}
#toggle-sidebar {
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 110;
}
#sidebar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: white;
    z-index: 10;
    transition: transform 0.3s ease;
    padding-top: 15px; /* Add padding to push content down */
    padding-left: 15px;
}

/* Optional: Adjust the label font size */
.form-check-label {
    font-size: 12px;
}


#sidebar.hidden {
    transform: translateX(-100%);
}

#timeline-container {
    position: absolute;
    bottom: 20px;
    left: 55%;
    transform: translateX(-50%);
    width: 60%;
    height: 60px;
    z-index: 100;
    background-color: rgba(97, 152, 255, 0.8);
    padding: 1px;
    border-radius: 10px;
    
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; /* Prevent items from wrapping */
    align-items: center; /* Align items vertically in the center */
    gap: 10px;
}

/* Override Bootstrap styles causing full width */
.select-speed {
    flex: 0 0 5%;
    width: auto !important;
    display: flex;
    align-items: center; /* Center the select element vertically */
}

#autoplayButton {
    flex: 0 0 5%;
    display: flex;
    align-items: center; /* Center the button vertically */
    background-color: white;
    margin-left: 10px;
    margin-bottom: 20px;
}

#autoplayButton:hover i {
    color: #242962;
}

#liveButton {
    flex: 0 0 10%;
    display: flex;
    align-items: center; /* Center the button vertically */
    margin-bottom: 20px;
}

input[type="range"] {
    flex: 0 0 55%;
    width: auto !important;
    display: flex;
    align-items: center; /* Center the range input vertically */
}

.timeline-current-time {
    flex: 0 0 20%;
    display: flex;
    align-items: center; /* Center the text vertically */
}

#form-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    gap: 10px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#top-right-cell {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #3498db; /* Example background color */
    color: white; /* Text color */
    padding: 10px 20px;
    border-radius: 15px; /* Rounded corners */
    border: 2px solid #2980b9; /* Contoured border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    font-size: 18px; /* Fixed font size */
    width: 150px; /* Fixed width */
    text-align: center; /* Center the text */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#top-right-cell span {
    font-weight: bold; /* Make the text stand out */
}

#bottom-right-cell {
    position: fixed;
    bottom: 20px;
    right: 10px;
    background-color: #898989; /* Example background color */
    color: rgba(134, 134, 134, 0.478); /* Text color */
    padding: 10px 10px;
    border-radius: 15px; /* Rounded corners */
    border: 2px solid #898989; /* Contoured border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    font-size: 18px; /* Fixed font size */
    width: 75px; /* Fixed width */
    text-align: center; /* Center the text */
    display: flex;
    justify-content: center; /* Center the button horizontally */
    align-items: center; /* Center the button vertically */
    z-index: 1000;
    height: 60px;
}

#back-button {
    margin-bottom: 20px; /* Add bottom margin to the back button */
}
