diff --git a/public/chat-widget.css b/public/chat-widget.css index 0399d44..c74540e 100644 --- a/public/chat-widget.css +++ b/public/chat-widget.css @@ -23,12 +23,12 @@ } #ai-chatbot-widget.light .ai-chatbot-header { - background-color: #007bff; + background-color: #0056b3; color: #ffffff; } #ai-chatbot-widget.light .ai-chatbot-message.ai-chatbot-user .ai-message-bubble { - background-color: #007bff; + background-color: #0056b3; color: #ffffff; } @@ -215,12 +215,12 @@ form input { form input:focus { outline: none; - border-color: #007bff; - box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1); + border-color: #0056b3; + box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1); } form button { - background-color: #007bff; + background-color: #0056b3; color: white; border: none; border-radius: 6px; @@ -232,7 +232,7 @@ form button { } form button:hover:not(:disabled) { - background-color: #0056b3; + background-color: #003d82; } form button:disabled { diff --git a/test-mobile-widget.html b/test-mobile-widget.html new file mode 100644 index 0000000..dc99738 --- /dev/null +++ b/test-mobile-widget.html @@ -0,0 +1,119 @@ + + + + + + AI Chatbot - Mobile Test + + + +

🤖 AI Chatbot - Mobile Widget Test

+ +
+ Testing Mobile Responsive Chatbot +

This page tests the new mobile-friendly chatbot widget with:

+ +
+ +
+ 📱 How to Test: +
    +
  1. Desktop View (>768px): Widget appears in bottom-right corner
  2. +
  3. Mobile View (≤768px): +
      +
    • Widget hidden by default
    • +
    • Blue chat icon (💬) appears in bottom-right
    • +
    • Click icon to open widget
    • +
    • Widget constrained to 90% width, 70% height
    • +
    • Click ✕ to close and minimize back to icon
    • +
    +
  4. +
  5. To Test Mobile: +
      +
    • Press F12 → Toggle device toolbar
    • +
    • Or resize browser window to < 768px
    • +
    • Or open on actual mobile device
    • +
    +
  6. +
+
+ +

Sample Content

+

+ This is sample content to demonstrate the page layout. The chatbot widget + should float over this content without blocking it completely on mobile. +

+ +

+ On mobile devices (screens ≤768px wide), the chatbot will: +

+ + +

Current Configuration:

+ + + + + + + +