.jum-widget-wrapper {
    position: relative;
    display: inline-block;
}

.jum-user-menu-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.jum-user-menu-toggle:hover {
    background-color: #f5f5f5;
}

.jum-widget-wrapper .avatar {
    border-radius: 50%;
    margin-right: 8px;
}

.jum-display-name {
    font-weight: 500;
    margin-right: 8px;
}

.jum-dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.jum-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px;
    padding: 8px 0;
    overflow: hidden;
}

.jum-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.jum-dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Active state for dropdown */
.jum-widget-wrapper.menu-active .jum-dropdown-menu {
    display: block;
}

.jum-widget-wrapper.menu-active .jum-dropdown-icon i {
    transform: rotate(180deg);
}

/* Fix for vertical alignment of the icon */
.jum-dropdown-icon {
    display: inline-flex;
    align-items: center;
}