/* 用户头像样式优化 */
.user-info-wrapper {
    position: relative;
}

.user-info-dropdown {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.user-info-dropdown:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    border: 1px solid #eaeaea;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#headerUsername {
    font-size: 14px;
    color: #333;
    margin-right: 4px;
}

.dropdown-icon {
    font-size: 10px;
    color: #666;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 160px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.user-info-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.menu-icon {
    margin-right: 8px;
    font-style: normal;
}
