.website-chatbot { position: fixed; right: 20px; bottom: 124px; z-index: 1065; font-family: Inter, "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
.chatbot-launcher { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 17px; border: 0; border-radius: 7px; background: #087fa8; color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(3, 35, 57, .28); }
.chatbot-launcher i { font-size: 20px; }
.chatbot-panel { position: absolute; right: 0; bottom: 60px; width: min(370px, calc(100vw - 28px)); height: min(590px, calc(100vh - 150px)); overflow: hidden; border: 1px solid #d8e4eb; border-radius: 8px; background: #fff; color: #183247; box-shadow: 0 24px 65px rgba(2, 28, 48, .28); }
.chatbot-panel[hidden], .chatbot-lead-view[hidden] { display: none; }
.chatbot-header { display: grid; grid-template-columns: 42px 1fr 36px; align-items: center; gap: 10px; min-height: 72px; padding: 12px 14px; background: #082d45; color: #fff; }
.chatbot-brandmark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; background: #0ba6c9; color: #fff; font-size: 22px; font-weight: 900; }
.chatbot-header strong { display: block; font-size: 15px; }
.chatbot-header small { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: #bfd5df; font-size: 12px; }
.chatbot-header small span { width: 7px; height: 7px; border-radius: 50%; background: #41d890; }
.chatbot-close { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; background: transparent; color: #fff; font-size: 18px; }
.chatbot-messages { height: calc(100% - 214px); padding: 16px; overflow-y: auto; background: #f4f8fa; scrollbar-color: #9bb4c0 transparent; scrollbar-width: thin; }
.chatbot-message { display: flex; margin-bottom: 12px; }
.chatbot-message.user { justify-content: flex-end; }
.chatbot-bubble { max-width: 84%; padding: 10px 12px; border-radius: 7px; background: #fff; color: #294354; font-size: 14px; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 2px 7px rgba(11, 48, 67, .08); }
.chatbot-message.user .chatbot-bubble { background: #087fa8; color: #fff; }
.chatbot-message.typing .chatbot-bubble { color: #69808d; }
.chatbot-suggestions { display: flex; gap: 7px; padding: 10px 12px 6px; overflow-x: auto; background: #fff; }
.chatbot-suggestions button { flex: 0 0 auto; padding: 6px 10px; border: 1px solid #b8d2dd; border-radius: 16px; background: #fff; color: #17617d; font-size: 12px; }
.chatbot-suggestions .chatbot-lead-action { display: inline-flex; align-items: center; gap: 5px; border-color: #087fa8; background: #087fa8; color: #fff; }
.chatbot-form { display: grid; grid-template-columns: 1fr 42px; align-items: end; gap: 8px; padding: 10px 12px 7px; background: #fff; }
.chatbot-form textarea { min-height: 42px; max-height: 92px; padding: 10px 12px; resize: none; border: 1px solid #cbdbe2; border-radius: 6px; outline: none; color: #183247; font: 14px/1.4 inherit; }
.chatbot-form textarea:focus { border-color: #0b92b7; box-shadow: 0 0 0 3px rgba(11, 146, 183, .12); }
.chatbot-form button { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 6px; background: #087fa8; color: #fff; font-size: 17px; }
.chatbot-form button:disabled { opacity: .55; cursor: not-allowed; }
.chatbot-note { margin: 0; padding: 0 12px 9px; background: #fff; color: #7c8e98; font-size: 10px; text-align: center; }
.chatbot-lead-view { position: absolute; inset: 72px 0 0; z-index: 3; overflow-y: auto; padding: 16px; background: #fff; }
.chatbot-lead-heading { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 9px; margin-bottom: 15px; }
.chatbot-lead-heading button { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #cbdbe2; border-radius: 6px; background: #fff; color: #183247; }
.chatbot-lead-heading strong, .chatbot-lead-heading small { display: block; }
.chatbot-lead-heading strong { font-size: 16px; }
.chatbot-lead-heading small { margin-top: 2px; color: #69808d; font-size: 12px; }
.chatbot-lead-view form { display: grid; gap: 7px; }
.chatbot-lead-view label { margin-top: 3px; color: #294354; font-size: 12px; font-weight: 700; }
.chatbot-lead-view label span { color: #7c8e98; font-weight: 400; }
.chatbot-lead-view input, .chatbot-lead-view select, .chatbot-lead-view textarea { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #cbdbe2; border-radius: 6px; background: #fff; color: #183247; font: 14px/1.35 inherit; }
.chatbot-lead-view textarea { resize: vertical; }
.chatbot-lead-view input:focus, .chatbot-lead-view select:focus, .chatbot-lead-view textarea:focus { outline: 0; border-color: #0b92b7; box-shadow: 0 0 0 3px rgba(11, 146, 183, .12); }
.chatbot-lead-submit { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; margin-top: 5px; border: 0; border-radius: 6px; background: #087fa8; color: #fff; font-weight: 700; }
.chatbot-lead-submit:disabled { opacity: .55; }
.chatbot-lead-error { min-height: 18px; margin: 0; color: #b42318; font-size: 12px; }
.chatbot-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

@media (max-width: 767px) {
    .website-chatbot { right: 12px; bottom: 78px; }
    .chatbot-launcher { width: 48px; padding: 0; justify-content: center; }
    .chatbot-launcher span { display: none; }
    .chatbot-panel { position: fixed; left: 10px; right: 10px; bottom: 74px; width: auto; height: min(610px, calc(100vh - 92px)); }
    .chatbot-messages { height: calc(100% - 214px); }
}
