/* assets/css/chatbot.css */
#chatbot-button { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: var(--gold, #C0A062); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-size: 24px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.5); z-index: 10000; transition: transform 0.3s; }
#chatbot-button:hover { transform: scale(1.1); }

#chatbot-window { position: fixed; bottom: 100px; right: 25px; width: 350px; height: 500px; background: #0a0a0a; border: 1px solid var(--gold, #C0A062); border-radius: 10px; display: flex; flex-direction: column; z-index: 10000; box-shadow: 0 10px 30px rgba(0,0,0,0.8); transition: opacity 0.3s, transform 0.3s; font-family: 'Inter', sans-serif; }
#chatbot-window.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

#chatbot-header { background: linear-gradient(135deg, #111, #222); border-bottom: 1px solid var(--gold, #C0A062); color: var(--gold, #C0A062); padding: 15px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; border-top-left-radius: 10px; border-top-right-radius: 10px; }
#chatbot-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #fff; transition: color 0.2s; }
#chatbot-close:hover { color: #ff4444; }

#chatbot-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat-msg { max-width: 85%; padding: 12px 16px; border-radius: 15px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.chat-msg.bot { background: #1a1a1a; color: #ddd; align-self: flex-start; border-bottom-left-radius: 2px; border: 1px solid #333; }
.chat-msg.user { background: var(--gold, #C0A062); color: #000; align-self: flex-end; border-bottom-right-radius: 2px; font-weight: 600; }

#chatbot-input-area { display: flex; padding: 15px; background: #111; border-top: 1px solid #333; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
#chatbot-input { flex: 1; padding: 10px 15px; background: #000; border: 1px solid #444; color: #fff; border-radius: 25px; outline: none; transition: border 0.3s; font-size: 14px; }
#chatbot-input:focus { border-color: var(--gold, #C0A062); }
#chatbot-send { background: var(--gold, #C0A062); border: none; width: 40px; height: 40px; border-radius: 50%; margin-left: 10px; cursor: pointer; color: #000; font-size: 16px; transition: transform 0.2s; }
#chatbot-send:hover { transform: scale(1.1); }

/* --- A MÁGICA DO "DIGITANDO" --- */
#chatbot-typing { padding: 10px 15px; font-size: 12px; color: var(--gold, #C0A062); display: flex; align-items: center; gap: 3px; background: #1a1a1a; width: fit-content; margin: 0 15px 10px; border-radius: 15px; border-bottom-left-radius: 2px; border: 1px solid #333;}
#chatbot-typing.hidden { display: none; }
.typing-dots span { font-size: 16px; font-weight: bold; animation: blink 1.4s infinite both; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }

/* Mobile */
@media(max-width: 600px) { #chatbot-window { width: calc(100% - 40px); bottom: 90px; height: 450px; } }