#ezAiChat{position:fixed;bottom:24px;right:24px;z-index:9999;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
 .ez-ai-opts{display:flex;flex-direction:column;gap:6px;opacity:0;transform:translateY(8px) scale(.95);pointer-events:none;transition:all .2s ease}
 #ezAiChat.menu-open .ez-ai-opts{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
 #ezAiChat.chat-open .ez-ai-opts{display:none}
 .ez-ai-opt{display:flex;align-items:center;gap:10px;padding:10px 18px 10px 12px;background:#fff;border-radius:12px;text-decoration:none;color:#1a1a1a;font-size:14px;font-weight:500;box-shadow:0 2px 12px rgba(0,0,0,.1);border:1px solid #f0f0f0;transition:all .2s;white-space:nowrap;cursor:pointer}
 .ez-ai-opt:hover{border-color:#1677ff;transform:translateX(-4px);box-shadow:0 4px 16px rgba(0,0,0,.12)}
 .ez-ai-opt-icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
 .ez-ai-opt-icon.ai{background:#e6f4ff;font-size:20px}
 .ez-ai-opt-icon.tg{background:#e6f7ff;color:#0088cc}
 .ez-ai-opt-icon.zl{background:#e6f4ff;color:#0068ff}
 .ez-ai-fab{width:52px;height:52px;border-radius:50%;border:none;background:linear-gradient(135deg,#1677ff,#0958d9);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(22,119,255,.4);transition:all .3s;position:relative}
 .ez-ai-fab:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(22,119,255,.5)}
 .ez-ai-fab-icon-close{display:none}
 #ezAiChat.menu-open .ez-ai-fab-icon-open,#ezAiChat.chat-open .ez-ai-fab-icon-open{display:none}
 #ezAiChat.menu-open .ez-ai-fab-icon-close,#ezAiChat.chat-open .ez-ai-fab-icon-close{display:block}
 .ez-ai-window{position:absolute;bottom:64px;right:0;width:380px;max-height:560px;background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.15);display:none;flex-direction:column;overflow:hidden;border:1px solid #e8e8e8}
 #ezAiChat.chat-open .ez-ai-window{display:flex}
 .ez-ai-header{background:linear-gradient(135deg,#1677ff,#0958d9);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}
 .ez-ai-hdr-left{display:flex;align-items:center;gap:10px}
 .ez-ai-avatar{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:20px}
 .ez-ai-hdr-left strong{font-size:15px;display:block}
 .ez-ai-hdr-left small{font-size:11px;opacity:.8}
 .ez-ai-hdr-right{display:flex;gap:4px}
 .ez-ai-hdr-right button{background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:16px;transition:background .2s}
 .ez-ai-hdr-right button:hover{background:rgba(255,255,255,.3)}
 .ez-ai-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;min-height:300px;max-height:380px;background:#fafafa}
 .ez-ai-msg{display:flex;gap:8px;max-width:88%}
 .ez-ai-msg.bot{align-self:flex-start}
 .ez-ai-msg.user{align-self:flex-end;flex-direction:row-reverse}
 .ez-ai-bubble{padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.6;word-break:break-word}
 .ez-ai-msg.bot .ez-ai-bubble{background:#fff;color:#1a1a1a;border:1px solid #e8e8e8;border-top-left-radius:4px}
 .ez-ai-msg.user .ez-ai-bubble{background:#1677ff;color:#fff;border-top-right-radius:4px}
 .ez-ai-footer{padding:12px 16px;border-top:1px solid #f0f0f0;background:#fff}
 .ez-ai-input-wrap{display:flex;align-items:center;gap:8px;background:#f5f5f5;border-radius:12px;padding:8px 8px 8px 14px;border:1px solid #e8e8e8;transition:border-color .2s}
 .ez-ai-input-wrap:focus-within{border-color:#1677ff}
 #ezAiInput{flex:1;border:none;background:transparent;font-size:14px;resize:none;max-height:80px;min-height:20px;height:20px;outline:none;color:#1a1a1a;font-family:inherit;line-height:1.4;padding:0;margin:0}
 #ezAiSendBtn{width:32px;height:32px;min-width:32px;border-radius:8px;border:none;background:#1677ff;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px;transition:background .2s;flex-shrink:0;padding:0}
 #ezAiSendBtn:hover{background:#0958d9}
 #ezAiSendBtn:disabled{background:#d9d9d9;cursor:not-allowed}
 .ez-ai-powered{text-align:center;font-size:11px;color:#bfbfbf;margin-top:8px}
 .ez-ai-typing{display:flex;gap:4px;padding:4px 0}.ez-ai-typing span{width:6px;height:6px;border-radius:50%;background:#bfbfbf;animation:ezTyping .8s infinite}
 .ez-ai-typing span:nth-child(2){animation-delay:.15s}.ez-ai-typing span:nth-child(3){animation-delay:.3s}
 @keyframes ezTyping{0%,80%,100%{transform:translateY(0)}40%{transform:translateY(-6px)}}
 /* Mobile bottom nav: đẩy widget hỗ trợ lên, không che menu */
 @media(max-width:767px){
  body.ez-has-sidebar #ezAiChat{
   bottom:calc(84px + env(safe-area-inset-bottom,0px));
   right:12px;
   z-index:1190;
  }
  body.ez-has-sidebar #ezAiChat .ez-ai-window{
   bottom:calc(64px + env(safe-area-inset-bottom,0px));
   max-height:min(560px,calc(100vh - 180px - env(safe-area-inset-bottom,0px)));
  }
  body.ez-has-sidebar.ez-mnav-open #ezAiChat{
   pointer-events:none;
   opacity:0;
   visibility:hidden;
  }
 }
 @media(max-width:480px){.ez-ai-window{width:calc(100vw - 32px);right:-8px;max-height:70vh}}
 .ez-ai-bubble a{color:#1677ff;text-decoration:underline}
 .ez-ai-msg.user .ez-ai-bubble a{color:#fff}
 .ez-ai-bubble strong,.ez-ai-bubble b{font-weight:600}
 .ez-ai-bubble ul,.ez-ai-bubble ol{margin:4px 0;padding-left:18px}
 .ez-ai-bubble li{margin:2px 0}
 .ez-ai-bubble p{margin:4px 0}
 .ez-ai-bubble code{background:rgba(0,0,0,.06);padding:1px 4px;border-radius:3px;font-size:13px}

/* ===== Enterprise Footer (Light) ===== */
.ez-footer { background: #f8fafc; color: #64748b; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; position: relative; overflow: hidden; border-top: 1px solid #e2e8f0; }
.ez-footer * { box-sizing: border-box; }

/* Decorative bg */
.ez-footer::before { content: ''; position: absolute; top: -120px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,130,246,.05) 0%, transparent 70%); pointer-events: none; }
.ez-footer::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(139,92,246,.04) 0%, transparent 70%); pointer-events: none; }



.ez-footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px 0; position: relative; z-index: 1; }

/* Grid */
.ez-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
@media (max-width: 992px) { .ez-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 576px) { .ez-footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Brand col */
.ez-footer-brand img { height: 38px; width: auto; margin-bottom: 16px; transition: opacity .3s; }
.ez-footer-brand img:hover { opacity: .8; }
.ez-footer-brand p { font-size: 14px; line-height: 1.7; color: #64748b; margin: 0 0 20px; }

/* Social icons */
.ez-footer-socials { display: flex; gap: 10px; }
.ez-footer-socials a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: #94a3b8; font-size: 18px; transition: all .25s; text-decoration: none; border: 1px solid #e2e8f0; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ez-footer-socials a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.ez-footer-socials a.fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.ez-footer-socials a.tg:hover { background: #0088cc; color: #fff; border-color: #0088cc; }
.ez-footer-socials a.ig:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; border-color: transparent; }
.ez-footer-socials a.zl:hover { background: #0068ff; color: #fff; border-color: #0068ff; }

/* Column headings */
.ez-footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #1e293b; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.ez-footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: linear-gradient(90deg, #3b82f6, #8b5cf6); border-radius: 2px; }

/* Links */
.ez-footer-links { list-style: none; padding: 0; margin: 0; }
.ez-footer-links li { margin-bottom: 10px; }
.ez-footer-links a { color: #64748b; font-size: 14px; text-decoration: none; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.ez-footer-links a::before { content: ''; width: 0; height: 1px; background: #3b82f6; transition: width .25s; }
.ez-footer-links a:hover { color: #1e293b; padding-left: 4px; }
.ez-footer-links a:hover::before { width: 12px; }

/* Contact items */
.ez-footer-contact { list-style: none; padding: 0; margin: 0; }
.ez-footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #64748b; }
.ez-footer-contact li i { font-size: 18px; color: #3b82f6; margin-top: 2px; flex-shrink: 0; }

/* Newsletter */
.ez-footer-newsletter p { font-size: 14px; color: #64748b; margin: 0 0 16px; line-height: 1.6; }
.ez-footer-nform { display: flex; border-radius: 8px; overflow: hidden; border: 1px solid #d1d5db; transition: border-color .3s; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.ez-footer-nform:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.ez-footer-nform input { flex: 1; padding: 10px 14px; font-size: 14px; color: #1e293b; background: transparent; border: none; outline: none; }
.ez-footer-nform input::placeholder { color: #94a3b8; }
.ez-footer-nform button { padding: 10px 20px; background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: opacity .2s; white-space: nowrap; }
.ez-footer-nform button:hover { opacity: .9; }
.ez-footer-nform button i { margin-right: 4px; }

/* Trust badges */
.ez-footer-trust { display: flex; align-items: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.ez-footer-trust-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.ez-footer-trust-item i { font-size: 16px; color: #22c55e; }

/* Divider */
.ez-footer-divider { border: none; border-top: 1px solid #e2e8f0; margin: 40px 0 0; }

/* Bottom bar */
.ez-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.ez-footer-copy { font-size: 13px; color: #94a3b8; margin: 0; }
.ez-footer-copy a { color: #3b82f6; text-decoration: none; font-weight: 600; }
.ez-footer-copy a:hover { text-decoration: underline; }
.ez-footer-bottom-links { display: flex; gap: 20px; }
.ez-footer-bottom-links a { font-size: 13px; color: #94a3b8; text-decoration: none; transition: color .2s; }
.ez-footer-bottom-links a:hover { color: #1e293b; }

@media (max-width: 576px) {
    .ez-footer-bottom { flex-direction: column; text-align: center; }
    .ez-footer-nform { flex-direction: column; }
    .ez-footer-nform input, .ez-footer-nform button { border-radius: 0; }
}

