.chat-container {
    height: 95dvh;
    display: flex;
    flex-direction: column;
}
.chat-header {
    background: #212121;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
}
.chat-message {
    /*margin-bottom: 15px;*/
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
    clear: both;
}
.chat-message.bot {
    background-color: #2C2C2C;
    color: #E0E0E0;
    float: left;
}
.chat-message.user {
    background-color: #1E88E5;
    color: #FFFFFF;
    float: right;
}
.chat-input {
    padding: 10px;
    border-top: 1px solid #ddd;
    background: #f1f1f1;
}

/* Typing indicator */
.typing-indicator {
    display: inline-block;
    background: #eee;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    float: left;
    margin-bottom: 15px;
}
.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background: #666;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}
.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes blink {
    0% { opacity: 0.2; }
    20% { opacity: 1; }
    100% { opacity: 0.2; }
}
.chat-container a {
    color: #1E88E5; /* normal link color */
    text-decoration: underline;
}
.chat-container a:hover,
.chat-container a:focus {
    color: #9b9dff; /* brighter color on hover */
    text-decoration: underline;
}