:root { --primary: #9b59ff; /* 1TA Purple */ --dark: #0a0a0a; --light: #ffffff; --accent: #1a0a2e; } .chatbot-container { position: fixed; bottom: 30px; right: 30px; z-index: 1000; font-family: 'Orbitron', sans-serif; } .chatbot-toggle { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary) 0%, #7a4df7 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 20px var(--primary); border: none; } .chatbot-toggle svg { color: var(--light); width: 28px; height: 28px; } .chatbot-window { position: absolute; bottom: 84px; right: 0; width: 380px; height: 520px; background: linear-gradient(145deg, var(--dark), var(--accent)); border: 1px solid rgba(155, 89, 255, 0.3); border-radius: 20px; box-shadow: 0 0 30px rgba(155, 89, 255, 0.5); display: none; flex-direction: column; overflow: hidden; backdrop-filter: blur(20px); } .chatbot-header { background: linear-gradient(135deg, var(--primary), #7a4df7); color: var(--light); padding: 20px; text-align: center; font-size: 18px; font-weight: bold; letter-spacing: 1px; box-shadow: 0 4px 12px rgba(155, 89, 255, 0.4); } .chatbot-close { position: absolute; top: 15px; right: 15px; background: transparent; color: var(--light); font-size: 20px; border: none; cursor: pointer; } .chatbot-messages { flex: 1; padding: 20px; overflow-y: auto; color: var(--light); } .bot-message .message-content { background: rgba(155, 89, 255, 0.1); border: 1px solid rgba(155, 89, 255, 0.3); padding: 12px 16px; border-radius: 15px; margin-bottom: 10px; backdrop-filter: blur(8px); } .user-message .message-content { background: linear-gradient(135deg, var(--primary), #7a4df7); padding: 12px 16px; border-radius: 15px; margin-bottom: 10px; color: var(--light); box-shadow: 0 0 10px rgba(155, 89, 255, 0.5); align-self: flex-end; } .chatbot-input-area { padding: 16px; background: rgba(10, 10, 10, 0.6); border-top: 1px solid rgba(155, 89, 255, 0.2); display: flex; gap: 8px; } .chatbot-input-area input { flex: 1; padding: 12px; border-radius: 20px; border: 1px solid rgba(155, 89, 255, 0.3); background: rgba(20, 20, 20, 0.8); color: var(--light); } .chatbot-input-area input::placeholder { color: rgba(255, 255, 255, 0.5); } .chatbot-input-area button { padding: 12px 20px; border-radius: 20px; background: linear-gradient(135deg, var(--primary), #7a4df7); border: none; color: var(--light); cursor: pointer; box-shadow: 0 0 12px rgba(155, 89, 255, 0.6); transition: transform 0.2s; } .chatbot-input-area button:hover { transform: scale(1.05); } .typing-indicator { display: flex; gap: 6px; padding: 10px; } .typing-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: typing 1.4s infinite ease-in-out; } @keyframes typing { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } }