#help-amo-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align icon and greeting to the right */
}

#help-amo-container.left {
    left: 20px;
    right: auto;
    align-items: flex-start; /* Align icon and greeting to the left */
}

#help-amo-greeting-box {
    background-color: #f0f0f0; /* Example background color */
    border: 1px solid #ddd; /* Example border */
    border-radius: 10px; /* More message-like rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 10px;
    text-align: left; /* Align text like a message */
    display: none; /* Initially hidden */
    position: relative;
    max-width: 250px; /* Limit width */
    word-break: break-word;
}

#help-amo-greeting-box.show {
    display: block;
}

.greeting-message {
    margin-bottom: 15px; /* More space above the button */
    font-style: italic; /* Optional: make it feel like a prompt */
    color: #333; /* Darker text */
}

#help-amo-reply-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    align-self: flex-end; /* Align button to the right of the greeting */
}

#help-amo-reply-button:hover {
    background-color: #0056b3;
}

#help-amo-icon {
    background-color: #007bff52; /* Example color */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out; /* For the fade-out effect */
}

#help-amo-icon.hidden {
    opacity: 0;
    visibility: hidden;
}

#help-amo-icon img {
    max-width: 40px;
    max-height: 40px;
}

#help-amo-chatbox {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    width: 300px;
    height: 300px;
    display: none; /* Initially hidden */
    flex-direction: column;
    overflow: hidden;
}

#help-amo-chatbox.open {
    display: flex;
}

#help-amo-messages {
    padding: 10px;
    overflow-y: auto;
    flex-grow: 1;
}

.bot-message, .user-message {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 5px;
    max-width: 80%;
    word-break: break-word;
}

.user-message {
    background-color: #e6f7ff;
    align-self: flex-end;
}

#help-amo-input-area {
    padding: 10px;
    border-top: 1px solid #ccc;
    display: flex;
}

#help-amo-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
}

#help-amo-send {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}

#help-amo-send:hover {
    background-color: #0056b3;
}

.help-amo-image-upload {
    display: flex;
    align-items: center;
}

.help-amo-image-upload input[type="text"] {
    margin-right: 10px;
    width: 300px; /* Adjust width as needed */
}