.container { display: flex; flex-direction: column; height: 100%; max-width: 800px; margin: 0 auto; padding: 24px; } .messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; } .bubble { max-width: 70%; padding: 12px 18px; border-radius: var(--radius-md); font-size: 15px; line-height: 1.4; } .user { align-self: flex-end; background-color: var(--primary); color: var(--text-inverse); box-shadow: 0 4px 12px 0 var(--primary-glow); } .assistant { align-self: flex-start; background-color: var(--bg-card); color: var(--text-main); border: 1px solid var(--border-subtle); } .footer { padding: 16px; background-color: var(--bg-dark); border-top: 1px solid var(--border-subtle); display: flex; gap: 12px; align-items: flex-end; } .input { flex: 1; } .sendBtn { margin-bottom: 2px; } /* Loading animation */ .loading { display: flex; gap: 4px; padding: 16px 20px; } .dot { width: 6px; height: 6px; background-color: var(--text-muted); border-radius: 50%; animation: bounce 0.6s infinite alternate; } .dot:nth-child(2) { animation-delay: 0.2s; } .dot:nth-child(3) { animation-delay: 0.4s; } @keyframes bounce { to { transform: translateY(-4px); opacity: 0.5; } }