:root { --guardpro-brand-color: #2563eb; }
#guardpro-chatbot-container { position: fixed; bottom: 20px; right: 20px; z-index: 999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
#guardpro-chat-button { width: 60px; height: 60px; border-radius: 50%; background: var(--guardpro-brand-color); color: white; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform 0.3s; }
#guardpro-chat-button:hover { transform: scale(1.1); }
#guardpro-chat-window { display: none; position: fixed; bottom: 90px; right: 20px; width: 380px; height: 600px; background: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); flex-direction: column; overflow: hidden; }
#guardpro-chat-window.open { display: flex; animation: slideUp 0.3s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.guardpro-chat-header { background: var(--guardpro-brand-color); color: white; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.guardpro-chat-close { background: none; border: none; color: white; cursor: pointer; font-size: 24px; }
.guardpro-chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: #f9fafb; display: flex; flex-direction: column; gap: 16px; }
.guardpro-message { display: flex; gap: 10px; animation: fadeIn 0.3s; }
.guardpro-message.user { flex-direction: row-reverse; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.guardpro-message-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--guardpro-brand-color); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.guardpro-message.user .guardpro-message-avatar { background: #64748b; }
.guardpro-message-content { max-width: 75%; }
.guardpro-message-bubble { background: white; padding: 12px 16px; border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.guardpro-message.user .guardpro-message-bubble { background: var(--guardpro-brand-color); color: white; }
.guardpro-message-time { font-size: 11px; color: #94a3b8; margin-top: 4px; padding: 0 4px; }
.guardpro-related-questions { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.guardpro-related-question { background: #f1f5f9; border: 1px solid #e2e8f0; padding: 8px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.guardpro-related-question:hover { background: #e2e8f0; }
.guardpro-typing-indicator { display: none; align-items: center; gap: 4px; padding: 12px 16px; background: white; border-radius: 12px; }
.guardpro-typing-indicator.active { display: flex; }
.guardpro-typing-dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50%; animation: typing 1.4s infinite; }
.guardpro-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.guardpro-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
.guardpro-lead-form { display: none; padding: 20px; background: white; border-radius: 12px; margin: 10px 20px; }
.guardpro-lead-form.active { display: block; }
.guardpro-form-group { margin-bottom: 12px; }
.guardpro-form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: #475569; font-weight: 500; }
.guardpro-form-group input, .guardpro-form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 14px; font-family: inherit; }
.guardpro-form-group textarea { resize: vertical; min-height: 80px; }
.guardpro-submit-lead { width: 100%; padding: 12px; background: var(--guardpro-brand-color); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.guardpro-chat-input-container { padding: 16px 20px; background: white; border-top: 1px solid #e2e8f0; }
.guardpro-chat-input-wrapper { display: flex; gap: 10px; }
#guardpro-chat-input { flex: 1; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 24px; font-size: 14px; }
#guardpro-send-button { width: 40px; height: 40px; border-radius: 50%; background: var(--guardpro-brand-color); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.guardpro-system-message { text-align: center; padding: 8px; margin: 10px 0; font-size: 12px; color: #94a3b8; font-style: italic; }
@media (max-width: 768px) { #guardpro-chat-window { width: calc(100vw - 40px); height: calc(100vh - 120px); } }
