#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}
#chat-widget-header {
    background: #854fff;
    color: white;
    padding: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}
#chat-widget-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
#chat-widget-body p {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    word-wrap: break-word;
}
#chat-widget-footer {
    padding: 12px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}
#chat-widget-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}
#chat-widget-send {
    background: #854fff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
}
#chat-widget-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #854fff;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px;
    margin-bottom: 15px;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #854fff;
    border-radius: 50%;
    margin: 0 4px;
    animation: bounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) {
    animation-delay: -0.4s;
}
.typing-indicator span:nth-child(3) {
    animation-delay: -0.2s;
}
@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
}