#chatbot-widget { position: fixed; bottom: 20px; right: 20px; z-index: 9999; font-family: inherit; }
.chatbot-panel { display: none; width: 320px; max-height: 420px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.15); overflow: hidden; flex-direction: column; }
#chatbot-widget.open .chatbot-panel { display: flex; }
.chatbot-header { background: #00b29c; color: #fff !important; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chatbot-header-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chatbot-title { font-weight: 600; font-size: 15px; color: #fff !important; }
.chatbot-close { background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 0; line-height: 1; opacity: .9; }
.chatbot-close:hover { opacity: 1; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 12px; max-height: 260px; min-height: 180px; }
.chatbot-msg-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 8px; }
.chatbot-msg-row.user { justify-content: flex-end; }
.chatbot-msg { max-width: 85%; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.chatbot-msg-row .chatbot-msg { max-width: 100%; margin-bottom: 0; }
.chatbot-msg.bot { background: #f0f4f5; color: #333; }
.chatbot-msg.user { background: #00b29c; color: #fff; margin-left: auto; }
.chatbot-input-wrap { display: flex; padding: 10px; border-top: 1px solid #eee; gap: 8px; }
.chatbot-input-wrap input { flex: 1; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.chatbot-input-wrap button { padding: 10px 14px; background: #00b29c; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }
.chatbot-avatar { display: block; object-fit: cover; border-radius: 50%; background: #e8f7f4; }
.chatbot-avatar-header { width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.85); flex-shrink: 0; }
.chatbot-avatar-msg { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #dce8e5; }
.chatbot-toggle { width: 64px; height: 64px; border-radius: 50%; background: transparent; color: #fff; border: 3px solid #00b29c; cursor: pointer; padding: 0; overflow: hidden; box-shadow: 0 4px 16px rgba(0,179,156,.35); }
.chatbot-toggle:hover { border-color: #009683; transform: translateY(-1px); }
.chatbot-avatar-toggle { width: 100%; height: 100%; }
