/* Natasha website chat (DEV-150). Phase 1 palette: navy #0B1220, red #E6121C, Cairo font. Button sits bottom-left so it never covers the
   WhatsApp button (bottom-right; bottom-left in Arabic, where the chat button moves right) and hides while the cookie banner is shown. */
.nchat-launch{position:fixed;left:24px;bottom:24px;z-index:997;width:56px;height:56px;border-radius:50%;border:0;background:#E6121C;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.28)}
.nchat-launch:focus-visible,.nchat button:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #0B1220}
.nchat-launch[hidden],.nchat-launch--hide{display:none}
.nchat{position:fixed;left:24px;bottom:24px;z-index:1000;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#0B1220;color:#e8eef5;border:1px solid rgba(255,255,255,.18);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.4);font-family:'Cairo',system-ui,sans-serif;font-size:15px;line-height:1.5}
.nchat[hidden]{display:none}
.nchat-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.14)}
.nchat-x{background:none;border:0;color:inherit;font-size:26px;line-height:1;cursor:pointer;min-width:44px;min-height:44px}
.nchat-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.nchat-msg{padding:8px 12px;border-radius:12px;max-width:88%;white-space:pre-wrap;overflow-wrap:anywhere}
.nchat-msg--natasha{background:#17233b;align-self:flex-start}
.nchat-msg--visitor{background:#E6121C;color:#fff;align-self:flex-end}
.nchat-msg--note{background:none;color:#9fb0c6;font-size:13px;padding:0}
.nchat-link{color:#16d4c6}
.nchat-actions{padding:0 14px 8px}
.nchat-talk{display:inline-block;text-align:center;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:8px 16px;cursor:pointer;font:inherit;text-decoration:none;min-height:44px}
.nchat-form{display:flex;gap:8px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.14)}
.nchat-form[hidden],.nchat-lead[hidden]{display:none}
.nchat-form input{flex:1;min-width:0;border-radius:8px;border:1px solid rgba(255,255,255,.3);background:#fff;color:#0B1220;padding:10px;font:inherit;min-height:44px}
.nchat-send{background:#E6121C;color:#fff;border:0;border-radius:8px;padding:10px 16px;font:inherit;font-weight:600;cursor:pointer;min-height:44px}
.nchat-send[disabled]{opacity:.6}
.nchat-lead{padding:12px 14px;overflow-y:auto;border-top:1px solid rgba(255,255,255,.14);max-height:70%}
.nchat-lead-title{font-weight:600;margin:0 0 8px}
.nchat-f{display:block;margin-bottom:8px;font-size:14px}
.nchat-f input,.nchat-f textarea{display:block;width:100%;box-sizing:border-box;margin-top:2px;border-radius:8px;border:1px solid rgba(255,255,255,.3);background:#fff;color:#0B1220;padding:8px;font:inherit}
.nchat-consent{display:block;font-size:13px;margin:6px 0}
.nchat-consent a{color:#16d4c6}
.nchat-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.nchat-err{color:#ff9aa0;min-height:1.2em;margin:4px 0;font-size:13px}
.nchat-back{background:none;border:0;color:#9fb0c6;text-decoration:underline;cursor:pointer;font:inherit;margin-inline-start:10px;min-height:44px}
/* In Arabic the site puts the WhatsApp button on the left, so the chat button moves to the right. */
html[dir="rtl"] .nchat-launch,html[dir="rtl"] .nchat{right:24px;left:auto}
@media (max-width:600px){
  .nchat-launch{left:16px;bottom:16px;width:50px;height:50px}
  body.has-cta-bar .nchat-launch{bottom:84px}
  html[dir="rtl"] .nchat-launch{right:16px;left:auto}
  .nchat,html[dir="rtl"] .nchat{left:8px;right:8px;bottom:8px;width:auto;max-width:none;height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
}
@media (prefers-reduced-motion:no-preference){.nchat{animation:nchat-in .18s ease-out}@keyframes nchat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
