/* Vertical Menu Widget Styles */
.vertical-menu-wrapper {
    position: relative;
    width: auto;
    height: 100vh;
    min-width: 250px;
}

.vertical-menu-nav {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: auto;
    position: relative;
}

.vertical-menu-list {
    display: flex;
    flex-direction: row;
    height: 100%;
    min-width: 520px;
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}

.vertical-menu-item {
    flex: 0 0 60px;
    width: 60px;
    height: 100%;
    position: absolute;
    transition: width 0.3s ease, left 0.3s ease;
    margin: 0;
    padding: 0;
    overflow: visible;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.vertical-menu-item.is-hovered,
.vertical-menu-item:hover {
    width: 280px;
    z-index: 100 !important;
}

.vertical-menu-item.current-menu-item {
    width: 280px;
    z-index: 100 !important;
}

.vertical-menu-item > a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    text-decoration: none;
    letter-spacing: 0.5px;
    color: inherit;
}

/* Left position menu - text rotated 180deg */
.vertical-menu-wrapper.menu-left .vertical-menu-item > a {
    transform: rotate(180deg);
}

/* Right position menu - text normal rotation */
.vertical-menu-wrapper.menu-right .vertical-menu-item > a {
    transform: rotate(0deg);
}

.vertical-menu-error {
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
}