diff --git a/app/components/ChatWidget.tsx b/app/components/ChatWidget.tsx index 818e0f1..466f736 100644 --- a/app/components/ChatWidget.tsx +++ b/app/components/ChatWidget.tsx @@ -221,14 +221,14 @@ export default function ChatWidget() { setIsOpen(true); } }} - className="fixed bottom-20 left-4 md:bottom-6 md:left-6 z-30 bg-[#5A4E42]/90 backdrop-blur-md text-white p-3 rounded-full shadow-2xl hover:bg-[#4A3F35]/90 hover:scale-110 transition-all duration-300 group cursor-pointer border border-white/10" + className="fixed bottom-20 left-4 md:bottom-6 md:left-6 z-30 bg-stone-800/90 backdrop-blur-md text-stone-50 p-3 rounded-full shadow-xl hover:bg-stone-700/90 hover:scale-110 transition-all duration-300 group cursor-pointer border border-white/10" aria-label="Open chat" > - + {/* Tooltip */} - + Chat with AI assistant @@ -244,22 +244,22 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0, scale: 1 }} exit={{ opacity: 0, y: 20, scale: 0.95 }} transition={{ type: "spring", damping: 25, stiffness: 300 }} - className="fixed bottom-20 left-4 md:bottom-6 md:left-6 z-30 w-[300px] sm:w-[340px] md:w-[380px] max-w-[calc(100vw-2rem)] h-[450px] sm:h-[500px] md:h-[550px] max-h-[calc(100vh-10rem)] bg-[#f5f1e8]/85 backdrop-blur-xl rounded-2xl shadow-2xl flex flex-col overflow-hidden border border-[#8B7D6F]/30 [&_a]:text-inherit [&_a]:no-underline [&_a]:text-[#2A241F] [&_a:hover]:text-[#2A241F] [&_a:visited]:text-[#2A241F] [&_a:active]:text-[#2A241F] [&_*]:outline-none [&_*:focus]:outline-none [&_*:focus-visible]:outline-none" + className="fixed bottom-20 left-4 md:bottom-6 md:left-6 z-30 w-[300px] sm:w-[340px] md:w-[380px] max-w-[calc(100vw-2rem)] h-[450px] sm:h-[500px] md:h-[550px] max-h-[calc(100vh-10rem)] bg-[#fdfcf8]/90 backdrop-blur-xl rounded-2xl shadow-2xl flex flex-col overflow-hidden border border-stone-200/50 [&_a]:text-inherit [&_a]:no-underline [&_a]:text-stone-800 [&_a:hover]:text-stone-900 [&_a:visited]:text-stone-800 [&_a:active]:text-stone-900 [&_*]:outline-none [&_*:focus]:outline-none [&_*:focus-visible]:outline-none" > {/* Header */} - + - - + + - + - + Dennis{"'"}s AI Assistant - + Always online @@ -268,14 +268,14 @@ export default function ChatWidget() { setIsOpen(false)} - className="p-2 hover:bg-white/10 rounded-lg transition-colors" + className="p-2 hover:bg-stone-200/50 rounded-lg transition-colors text-stone-500 hover:text-stone-800" aria-label="Close chat" > @@ -295,20 +295,20 @@ export default function ChatWidget() { {message.text} {message.timestamp.toLocaleTimeString([], { @@ -327,10 +327,10 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0 }} className="flex justify-start" > - + {/* Input */} - + {isLoading ? ( @@ -405,7 +405,7 @@ export default function ChatWidget() { inputRef.current?.focus(); }} disabled={isLoading} - className="px-3 py-1.5 text-[10px] md:text-xs bg-white/80 backdrop-blur-sm text-[#2A241F] rounded-full hover:bg-white/95 border border-[#8B7D6F]/30 transition-all whitespace-nowrap disabled:opacity-50 flex-shrink-0 shadow-sm" + className="px-3 py-1.5 text-[10px] md:text-xs bg-white/60 backdrop-blur-sm text-stone-600 rounded-full hover:bg-white hover:text-stone-900 border border-stone-200 transition-all whitespace-nowrap disabled:opacity-50 flex-shrink-0 shadow-sm" > {suggestion}
+
Always online
{message.text}
{message.timestamp.toLocaleTimeString([], { @@ -327,10 +327,10 @@ export default function ChatWidget() { animate={{ opacity: 1, y: 0 }} className="flex justify-start" > -