PangandaranAI_FE / src /components /chat /ChatBubbleBot /ChatBubbleBot.module.css
rsam-66's picture
feat: backend API integration, hero redesign, SEO optimization, and save-to-route on cards
7d2ae3c
Raw History Blame Contribute Delete
1.57 kB
.wrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 6px;
max-width: 85%;
animation: slideInLeft 0.3s ease-out;
}
.avatarRow {
display: flex;
align-items: center;
gap: 6px;
}
.avatar {
width: 28px;
height: 28px;
border-radius: 50%;
background: var(--primary);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.name {
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
}
.bubble {
background: var(--bg-card);
border-radius: var(--radius-md);
border-top-left-radius: 4px;
padding: 12px 14px;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-light);
overflow-wrap: break-word;
word-break: break-word;
}
.content {
font-size: 14px;
line-height: 1.6;
color: var(--text-primary);
}
.paragraph {
margin: 0;
}
.paragraph+.paragraph {
margin-top: 4px;
}
.listItem {
list-style: none;
padding-left: 4px;
margin-top: 2px;
}
.listItem::before {
content: '•';
color: var(--primary);
font-weight: 700;
margin-right: 6px;
}
/* Clickable URLs in bot messages */
.link {
color: var(--primary);
text-decoration: none;
word-break: break-all;
transition: color 0.15s;
}
.link:hover {
color: var(--primary-dark);
text-decoration: underline;
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-12px);
}
to {
opacity: 1;
transform: translateX(0);
}
}