
import React from 'react';

interface InsightBubbleProps {
  user: string;
  time: string;
  content: string;
}

export const InsightBubble: React.FC<InsightBubbleProps> = ({ user, time, content }) => (
  <div className="p-5 bg-slate-50/70 rounded-[1.5rem] border border-slate-100 space-y-2 hover:bg-white hover:shadow-md transition-all">
    <div className="flex items-center justify-between">
      <div className="flex items-center gap-2">
        <div className="w-6 h-6 rounded-full bg-blue-100" />
        <span className="text-[11px] font-black text-slate-700">{user}</span>
      </div>
      <span className="text-[10px] font-bold text-slate-400">{time}</span>
    </div>
    <p className="text-[13px] font-medium text-slate-600 leading-relaxed">{content}</p>
  </div>
);
