.verticalSelectorContainer {
    position: relative;
    height: 80%;
}

#verticalSelector {
    writing-mode: vertical-rl;
    height: 100%; /* Adjust this to make the dropdown open from the middle */
    margin-right: 10px;
    border: 1px solid var(--c5);
    padding: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#verticalSelector:hover {
    background-color: var(--c4);
    color: var(--c1);
}

.verticalDropdown {
    position: absolute;
    top: 50%; /* Starts from the middle of the selector */
    left: 100%; /* Appears to the right of the selector */
    transform: translateY(-50%); /* Center dropdown vertically */
    width: 150px; /* Set a width for testing */
    height: auto; /* Adjust height as needed */
    border: 1px solid var(--c4);
    background-color: var(--c1);
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 1000; /* Ensure it appears above other content */
}

.verticalDropdown li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--c5);
}

.verticalDropdown li:hover {
    background-color: var(--c4);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}