.zt-chat-widget{font-family:Arial,Helvetica,sans-serif;position:fixed;right:24px;bottom:24px;z-index:99999;color:#172033}
.zt-chat-widget *{box-sizing:border-box}
.zt-chat-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:30px;padding:14px 20px;background:#142b50;color:#fff;font-weight:700;box-shadow:0 8px 28px #0003;cursor:pointer}
.zt-chat-launcher-icon{font-size:20px;color:#8fc8ff}
.zt-chat-panel{position:absolute;right:0;bottom:68px;width:360px;max-width:calc(100vw - 32px);height:min(570px,calc(100vh - 115px));background:#fff;border:1px solid #e5eaf1;border-radius:17px;box-shadow:0 14px 50px #10213c30;overflow:hidden;display:flex;flex-direction:column}
.zt-chat-panel[hidden],.zt-chat-lead-form[hidden]{display:none}
.zt-chat-header{background:#142b50;color:#fff;padding:16px;display:flex;align-items:center;justify-content:space-between}
.zt-chat-header strong{display:block;font-size:15px}
.zt-chat-header small{display:block;margin-top:5px;color:#d2deef;font-size:11px}
.zt-chat-header-actions{display:flex;align-items:center;gap:10px}
.zt-chat-language,.zt-chat-close{background:transparent;color:#fff;border:1px solid #ffffff55;border-radius:7px;padding:6px 9px;cursor:pointer}
.zt-chat-close{font-size:22px;line-height:18px}
.zt-chat-messages{padding:16px;overflow-y:auto;flex:1;background:#f7f9fc;display:flex;flex-direction:column;gap:10px}
.zt-chat-message{max-width:88%;padding:11px 13px;border-radius:12px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.zt-chat-bot{align-self:flex-start;background:#fff;border:1px solid #e7ebf1}
.zt-chat-user{align-self:flex-end;background:#e5efff;color:#17345c}
.zt-chat-quick{display:flex;flex-wrap:wrap;gap:7px;padding:9px 12px;background:#fff}
.zt-chat-quick button,.zt-chat-lead-toggle button{border:1px solid #d9e2ef;background:#fff;color:#24456f;border-radius:20px;padding:7px 10px;font-size:11px;cursor:pointer}
.zt-chat-input-row{display:flex;gap:8px;padding:12px;border-top:1px solid #edf0f5;background:#fff}
.zt-chat-input-row input{min-width:0;flex:1;border:1px solid #dce3ed;border-radius:9px;padding:11px;font-size:13px;outline:none}
.zt-chat-input-row button,.zt-chat-lead-form>button{border:0;border-radius:9px;background:#1764ad;color:#fff;padding:0 15px;font-weight:700;cursor:pointer}
.zt-chat-lead-toggle{padding:0 12px 10px;background:#fff}
.zt-chat-lead-form{padding:12px;display:flex;flex-direction:column;gap:8px;border-top:1px solid #edf0f5;background:#fff;max-height:270px;overflow-y:auto}
.zt-chat-lead-form strong{font-size:13px}
.zt-chat-lead-form input:not([type=checkbox]),.zt-chat-lead-form textarea{width:100%;border:1px solid #dce3ed;border-radius:8px;padding:9px;font:12px Arial,sans-serif}
.zt-chat-lead-form>button{padding:10px}
.zt-chat-consent{display:flex;gap:7px;align-items:flex-start;font-size:10px;line-height:1.4;color:#526174}
.zt-chat-consent input{margin-top:2px}
.zt-chat-honeypot{position:absolute!important;left:-10000px!important}
#zt-lead-result{font-size:11px;margin:0}
.zt-chat-footer{text-align:center;padding:8px;color:#8a94a3;font-size:10px;background:#fff;border-top:1px solid #f0f2f5}
.zt-chat-panel[dir=rtl]{text-align:right}
.zt-chat-panel[dir=rtl] .zt-chat-bot{align-self:flex-start}
.zt-chat-panel[dir=rtl] .zt-chat-user{align-self:flex-end}
@media(max-width:480px){.zt-chat-widget{right:12px;bottom:12px}.zt-chat-panel{right:0;bottom:64px;width:calc(100vw - 24px);max-width:400px;height:min(590px,calc(100vh - 90px))}.zt-chat-launcher{padding:12px 16px}}

/* Keep chatbot separate from WhatsApp floating button */
.zt-chat-widget {
    left: 24px;
    right: auto;
    bottom: 24px;
}

.zt-chat-panel {
    left: 0;
    right: auto;
}

@media (max-width: 480px) {
    .zt-chat-widget {
        left: 12px;
        right: auto;
        bottom: 12px;
    }

    .zt-chat-panel {
        left: 0;
        right: auto;
    }
}
