
.chat-container {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 300px;
    height: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    display: none; /* Initially hidden */
    flex-direction: column;
}

.chat-header {
    background: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.chat-body {
    display:flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
}

.chat-message {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    display: inline-block;
    word-wrap: break-word;
    line-height: 1.4;
}

    .chat-message.user {
        background-color: #e0f7fa; /* Light cyan background */
        color: #00796b; /* Dark cyan text */
        text-align: right;
        align-self: flex-end;
    }

    .chat-message.bot {
        background-color: #f1f8e9; /* Light green background */
        color: #33691e; /* Dark green text */
        text-align: left;
        align-self: flex-start;
    }

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

    .chat-input input {
        flex-grow: 1;
        padding: 10px;
        border: none;
        outline: none;
    }

    .chat-input button {
        background-color: #333;
        color: white;
        padding: 10px;
        border: none;
        cursor: pointer;
    }

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.typing-indicator {
/*    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
*/    /*background: #f1f8e9;*/ /* Light green background for contrast */
    /*color: #33691e;*/ /* Dark green text */
    font-size: smaller;
    padding: 5px 10px;
    font-style: italic;
    border-radius: 5px;
    text-align: left;
    display: none; /* Initially hidden */
}
