#chatbotapp .chat-icon-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: #a32318;
    color: #fff;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
#chatbotapp .chat-icon-button:hover {
    background: #a32318;
}

#chatbotapp .chat-modal {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    z-index: 9999;
}

#chatbotapp .chat-modal-content {
    background: #fff;
    border-radius: 0.5rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#chatbotapp .chat-modal-header {
    background: #a32318;
    color: #fff;
    padding: 0.5rem 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

#chatbotapp .chat-modal-title {
    font-weight: bold;
    display: flex;
    align-items: center;
}

#chatbotapp .chat-close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

#chatbotapp .chat-messages {
    padding: 0.75rem;
    background: #f9fafb;
    max-height: 20rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#chatbotapp .chat-message-bot, 
#chatbotapp .chat-message-user {
    background: #e0f2fe;
    color: #1e293b;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    max-width: 80%;
}

#chatbotapp .chat-message-user {
    background: #a32318;
    color: #fff;
    align-self: flex-end;
}

#chatbotapp .chat-timestamp {
    font-size: 0.7rem;
    display: block;
    text-align: right;
    margin-top: 0.25rem;
    color: #64748b;
}

#chatbotapp .chat-input-wrapper {
    display: flex;
    padding: 0.5rem;
    gap: 0.5rem;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

#chatbotapp .chat-input {
    flex-grow: 1;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.85rem;
}

#chatbotapp .chat-send-button {
    background: #a32318;
    color: #fff;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
#chatbotapp .chat-send-button:hover {
    background: #a32318;
}

#chatbotapp .hidden {
    display: none;
}


#chatbotapp img.wp-smiley, 
#chatbotapp img.emoji  {
    filter: brightness(16.5);
}
