/* Ease Voyages AI Assistant — isolated namespaced styles */
.ev-ai{--ev-navy:#082c44;--ev-blue:#079ec5;--ev-text:#173145;--ev-light:#f2f8fb;--ev-edge:#e4edf2;font-family:Arial,Helvetica,sans-serif;color:var(--ev-text);line-height:1.45}
.ev-ai *, .ev-ai *::before,.ev-ai *::after{box-sizing:border-box}
.ev-ai-launcher{position:fixed;z-index:2147483000;right:22px;bottom:22px;display:flex;align-items:center;justify-content:center;width:64px;height:64px;padding:0;border:0;border-radius:24px;background:linear-gradient(145deg,#0bb9d3,#085781);color:#fff;box-shadow:0 13px 30px rgba(2,45,72,.28);cursor:pointer;transition:transform .22s ease,box-shadow .22s ease}
.ev-ai-launcher:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(2,45,72,.35)}
.ev-ai-launcher:focus-visible,.ev-ai button:focus-visible,.ev-ai textarea:focus-visible{outline:3px solid #71dcf4;outline-offset:3px}
.ev-ai-launcher svg{width:29px;height:29px}
.ev-ai-launcher[data-open=true]{border-radius:50%;background:var(--ev-navy)}
.ev-ai-unread{position:absolute;right:-4px;top:-5px;min-width:20px;height:20px;padding:0 5px;display:none;align-items:center;justify-content:center;font-size:11px;font-weight:800;background:#f96b66;color:#fff;border:2px solid #fff;border-radius:99px}
.ev-ai-window{position:fixed;z-index:2147483001;right:22px;bottom:98px;width:min(390px,calc(100vw - 28px));height:min(600px,calc(100dvh - 122px));min-height:320px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(12,86,122,.15);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(3,27,48,.23);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(15px) scale(.975);transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
.ev-ai-window[data-open=true]{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
.ev-ai-header{flex:none;display:flex;align-items:center;gap:10px;padding:14px 16px;color:#fff;background:linear-gradient(115deg,#082c44,#087b9e)}
.ev-ai-avatar{display:flex;align-items:center;justify-content:center;flex:none;width:39px;height:39px;border-radius:14px;background:rgba(255,255,255,.2)}
.ev-ai-avatar svg{width:23px;height:23px}
.ev-ai-headings{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ev-ai-headings strong{font-size:16px;line-height:1.2;color:white}
.ev-ai-headings small{font-size:11px;color:#d3f7ff}
.ev-ai-headings small::before{content:'';display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#79efb2}
.ev-ai-iconbtn{border:0;background:transparent;color:white;width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:9px;cursor:pointer}
.ev-ai-iconbtn:hover{background:rgba(255,255,255,.15)}
.ev-ai-iconbtn svg{width:18px;height:18px}
.ev-ai-messages{flex:1;min-height:0;overflow:auto;padding:17px 14px 10px;background:linear-gradient(180deg,#f6fbfe,#fff 45%);scrollbar-color:#bdd4de transparent}
.ev-ai-bubble-row{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 13px}
.ev-ai-bubble-row[data-role=user]{align-items:flex-end}
.ev-ai-bubble{max-width:88%;padding:11px 13px;border:1px solid #e6eef2;border-radius:15px 15px 15px 4px;background:#fff;box-shadow:0 2px 10px rgba(17,54,79,.045);font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.ev-ai-bubble-row[data-role=user] .ev-ai-bubble{border-color:#087c9e;background:#087c9e;color:#fff;border-radius:15px 15px 4px 15px}
.ev-ai-time{margin:4px 4px 0;color:#8195a0;font-size:10px}
.ev-ai-suggestions{flex:none;display:flex;gap:7px;overflow-x:auto;padding:8px 14px 11px;background:#fff;scrollbar-width:none}
.ev-ai-suggestions:empty{display:none}
.ev-ai-suggestions button{flex:none;padding:8px 10px;border:1px solid #cde6ec;border-radius:99px;background:#f2fbfe;color:#0b6884;font-size:11px;font-weight:600;cursor:pointer;white-space:nowrap}
.ev-ai-suggestions button:hover{background:#daf4fa}
.ev-ai-compose{flex:none;padding:10px 12px 12px;border-top:1px solid var(--ev-edge);background:white}
.ev-ai-form{display:flex;gap:8px;align-items:flex-end}
.ev-ai-input{display:block;resize:none;min-height:40px;max-height:104px;width:100%;padding:11px 12px;border:1px solid #d7e6ed;border-radius:13px;background:#f9fcfd;color:#173145;font-family:inherit;font-size:13px;line-height:1.4;outline:none}
.ev-ai-input:focus{border-color:#16a4c9;background:white}
.ev-ai-send{flex:none;width:41px;height:41px;border:0;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#087c9e;color:white;cursor:pointer}
.ev-ai-send:disabled{opacity:.5;cursor:not-allowed}
.ev-ai-send svg{width:18px;height:18px}
.ev-ai-footer{margin-top:7px;text-align:center;font-size:10px;color:#788c9a}
.ev-ai-typing{display:flex;gap:5px;align-items:center;min-height:20px}
.ev-ai-typing span{width:7px;height:7px;border-radius:50%;background:#6e9daa;animation:ev-ai-pulse 1.2s infinite ease-in-out}
.ev-ai-typing span:nth-child(2){animation-delay:.2s}.ev-ai-typing span:nth-child(3){animation-delay:.4s}
@keyframes ev-ai-pulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
@media(max-width:480px){.ev-ai-launcher{right:15px;bottom:15px;width:58px;height:58px;border-radius:20px}.ev-ai-window{right:8px;bottom:85px;width:calc(100vw - 16px);height:min(625px,calc(100dvh - 98px));border-radius:19px}}
@media(max-height:480px){.ev-ai-window{bottom:8px;height:calc(100dvh - 16px)}}
@media(prefers-reduced-motion:reduce){.ev-ai-launcher,.ev-ai-window{transition:none}.ev-ai-typing span{animation:none}}

/* Logo supplied by Ease Voyages; keep it intact within a round button.
   WhatsApp remains at the bottom; chat launcher is positioned ABOVE it. */
.ev-ai-launcher{bottom:96px;border-radius:50%;background:#fff;overflow:hidden;border:2px solid #13a3d9}
.ev-ai-launcher>img{width:100%;height:100%;display:block;object-fit:contain;border-radius:50%}
.ev-ai-launcher[data-open=true]{background:var(--ev-navy);color:#fff}
.ev-ai-window{bottom:178px;height:min(600px,calc(100dvh - 198px));min-height:280px}
.ev-ai-avatar{border-radius:50%;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.35)}
.ev-ai-avatar img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:480px){.ev-ai-launcher{bottom:92px;right:15px;border-radius:50%}.ev-ai-window{bottom:164px;right:8px;height:min(610px,calc(100dvh - 180px));min-height:245px}}
@media(max-height:480px){.ev-ai-window{bottom:8px;height:calc(100dvh - 16px);min-height:0}}
