.summarizer-chat-widget {
    max-width: 350px;
    margin-bottom: 20px;
}

.summarizer-chat-widget .chat-loader {
    opacity: 0;
    animation: opacity ease-in-out 0.5s;
    padding-top: 10px;
}

.summarizer-chat-widget.loading .chat-loader {
    opacity: 1;
}

.summarizer-chat-widget.loading #chat-form button[type="submit"] {
    pointer-events: none;
    opacity: 0.75;
}

.chat-bubble button {
    flex-shrink: 0;
    width: 14px;
}

.chat-history {
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    min-height: 340px;
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}



.chat-message {
    display: flex;
    margin-top: 10px;
}

.chat-message .chat-bubble {
    max-width: 90%;
    padding: 6px 10px;
    line-height: 1.5;
}

.chat-message.user {
    justify-content: flex-end;
    align-items: flex-end;
}

.chat-message.user .chat-bubble {
    background-color: #6da852;
    border-radius: 5px 0 5px 5px;
    color: white;
}

.chat-message.bot {
    justify-content: flex-start;
    align-items: flex-start;
}

.chat-message.bot .chat-bubble {
    background-color: white;
    border-radius: 0 5px 5px 5px;
}

.chat-fast-actions {
    position: relative;
    overflow-y: hidden;
    display: block;
    overflow-x: auto;
    margin-top: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.chat-fast-actions::-webkit-scrollbar {
    display: none;
}

.chat-fast-actions .chat-question {
    border: 1px solid #2a353d;
    cursor: pointer;
    padding: 10px;
    border-radius: 20px;
    min-width: 200px;
}

.chat-fast-actions .chat-question:hover {
    background-color: white;
}

#chat-form {
    display: flex;
}

#chat-form input[type="text"] {
    flex: 1;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#chat-form button[type="submit"] {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    background-color: #333;
    color: #fff;
    cursor: pointer;
}
