/* user-profile.css - 用户资料组件样式 */

/* 用户头像框样式 */
.user-profile {
    position: absolute;
    display: flex;
    align-items: center;
    background: #e0f7fa;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-right: 20px;
    border: 1px solid rgba(200, 200, 200, 0.3);
}

.user-profile:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    border: 2px solid #4ca3e0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.user-status {
    font-size: 12px;
    color: #666;
    margin-left: -5px; /* 向左移动一点 */
}