/* Etihad AI Chat: locked styles so the theme cannot change the widget */
#eac-root{--eac-dark:#343433;--eac-title:#2B2B2B;--eac-maroon:#650F11;--eac-maroon-d:#4f0b0d;--eac-soft:#F7F7F5;--eac-line:#e7e7e4;--eac-muted:#7a7a77;--eac-lift:96px;
  font:15px/1.5 var(--e-global-typography-text-font-family,"Roboto"),Arial,sans-serif;color:var(--eac-dark);-webkit-font-smoothing:antialiased}
#eac-root *{box-sizing:border-box}
#eac-root button,#eac-root textarea{font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important;box-shadow:none}
html.eac-lock,html.eac-lock body{overflow:hidden!important}

/* ---------- Launcher (sits above a WhatsApp button in the same corner) ---------- */
#eac-root .eac-launch{all:unset;box-sizing:border-box;position:fixed;right:22px;bottom:var(--eac-lift);z-index:2147483000;width:60px;height:60px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:var(--eac-maroon);color:#fff;cursor:pointer;
  box-shadow:0 12px 30px rgba(101,15,17,.38),0 3px 8px rgba(0,0,0,.14);transition:transform .2s,background .2s}
#eac-root.left .eac-launch{right:auto;left:22px}
#eac-root .eac-launch:hover{background:var(--eac-maroon-d);transform:scale(1.06)}
#eac-root .eac-launch:focus-visible{outline:3px solid #e3b1b2;outline-offset:3px}
#eac-root .eac-launch svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#eac-root .eac-launch:after{content:"";position:absolute;top:3px;right:3px;width:12px;height:12px;border-radius:50%;background:#4cc47e;border:2px solid #fff}
#eac-root .eac-launch:before{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid rgba(101,15,17,.35);animation:eac-pulse 2.6s ease-out infinite}
@keyframes eac-pulse{0%{transform:scale(.9);opacity:1}100%{transform:scale(1.35);opacity:0}}

/* Small greeting bubble next to the launcher */
#eac-root .eac-hint{position:fixed;right:96px;bottom:calc(var(--eac-lift) + 8px);z-index:2147483000;max-width:240px;padding:11px 34px 11px 14px;background:#fff;color:var(--eac-title);
  font-size:13.5px;line-height:1.4;border-radius:14px 14px 4px 14px;box-shadow:0 10px 30px rgba(0,0,0,.16);cursor:pointer;animation:eac-pop .3s ease-out}
#eac-root.left .eac-hint{right:auto;left:96px;border-radius:14px 14px 14px 4px}
#eac-root .eac-hint b{display:block;font-size:14px;color:var(--eac-maroon)}
#eac-root .eac-hint button{all:unset;position:absolute;top:6px;right:8px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:#9a9a96;cursor:pointer;font-size:16px;line-height:1}
#eac-root .eac-hint button:hover{color:var(--eac-dark)}
@keyframes eac-pop{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
#eac-root.open .eac-launch,#eac-root.open .eac-hint{display:none}

/* ---------- Centred window over a soft backdrop ---------- */
#eac-root .eac-backdrop{position:fixed;inset:0;z-index:2147483001;background:rgba(20,20,19,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .25s}
#eac-root.open .eac-backdrop{opacity:1;pointer-events:auto}
#eac-root .eac-panel{position:fixed;left:50%;top:50%;z-index:2147483002;display:flex;flex-direction:column;width:min(460px,calc(100vw - 32px));height:min(640px,calc(100dvh - 48px));
  background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);
  opacity:0;pointer-events:none;transform:translate(-50%,-46%) scale(.97);transition:opacity .25s,transform .25s}
#eac-root.open .eac-panel{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}

/* Header */
#eac-root .eac-head{position:relative;display:flex;align-items:center;gap:12px;padding:16px 14px 16px 18px;color:#fff;
  background:linear-gradient(135deg,#3b3b3a 0%,#2a2a29 60%,#3a1416 100%)}
#eac-root .eac-head:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--eac-maroon)}
#eac-root .eac-avatar{position:relative;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:var(--eac-maroon);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px rgba(255,255,255,.12)}
#eac-root .eac-avatar svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#eac-root .eac-avatar:after{content:"";position:absolute;right:0;bottom:1px;width:11px;height:11px;border-radius:50%;background:#4cc47e;border:2px solid #2f2f2e}
#eac-root .eac-head .t{flex:1;min-width:0}
#eac-root .eac-head b{display:block;font-size:16px;font-weight:600;line-height:1.25;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#eac-root .eac-head small{display:block;font-size:12.5px;color:rgba(255,255,255,.72);margin-top:1px}
#eac-root .eac-icon{all:unset;box-sizing:border-box;flex:0 0 36px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;border-radius:50%;transition:background .15s}
#eac-root .eac-icon:hover{background:rgba(255,255,255,.14)}
#eac-root .eac-icon:focus-visible{outline:2px solid #e3b1b2}
#eac-root .eac-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}

/* Messages */
#eac-root .eac-log{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px 12px;background:var(--eac-soft);display:flex;flex-direction:column;gap:12px}
#eac-root .eac-day{align-self:center;font-size:11.5px;color:var(--eac-muted);background:#ececea;padding:3px 10px;border-radius:10px}
#eac-root .eac-row{display:flex;gap:8px;align-items:flex-end;max-width:100%}
#eac-root .eac-row.me{justify-content:flex-end}
#eac-root .eac-mini{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--eac-maroon);display:flex;align-items:center;justify-content:center}
#eac-root .eac-mini svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#eac-root .eac-msg{max-width:82%;padding:11px 14px;font-size:14.5px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:var(--eac-title)}
#eac-root .eac-row.bot .eac-msg{background:#fff;border:1px solid var(--eac-line);border-radius:16px 16px 16px 4px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
#eac-root .eac-row.me .eac-msg{background:var(--eac-dark);color:#fff;border-radius:16px 16px 4px 16px}
#eac-root .eac-msg .eac-ln{display:block}
#eac-root .eac-msg a[href^="mailto:"],#eac-root .eac-msg a[href^="tel:"]{display:inline-block;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
#eac-root .eac-msg a{color:var(--eac-maroon);font-weight:600;text-decoration:underline;text-underline-offset:2px}
#eac-root .eac-row.me .eac-msg a{color:#fff}
#eac-root .eac-msg strong{font-weight:700}
#eac-root .eac-row.err .eac-msg{background:#fff6f6;border-color:#f0c9c9}
#eac-root .eac-typing{display:flex;gap:4px;padding:13px 14px;background:#fff;border:1px solid var(--eac-line);border-radius:16px 16px 16px 4px}
#eac-root .eac-typing i{width:7px;height:7px;border-radius:50%;background:#b6b6b2;animation:eac-b 1.2s infinite}
#eac-root .eac-typing i:nth-child(2){animation-delay:.15s}#eac-root .eac-typing i:nth-child(3){animation-delay:.3s}
@keyframes eac-b{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
#eac-root .eac-note{align-self:center;font-size:12.5px;color:var(--eac-muted);text-align:center;padding:4px 10px}

/* Suggestions */
#eac-root .eac-sugs{display:flex;flex-wrap:wrap;gap:8px;padding:2px 16px 14px;background:var(--eac-soft)}
#eac-root .eac-sugs[hidden]{display:none}
#eac-root .eac-sugs button{all:unset;box-sizing:border-box;padding:8px 14px;border:1px solid #d9d9d5;background:#fff;border-radius:18px;font-size:13.5px;color:var(--eac-dark);cursor:pointer;transition:border-color .15s,color .15s,background .15s}
#eac-root .eac-sugs button:hover{border-color:var(--eac-maroon);color:var(--eac-maroon);background:#fdf8f8}
#eac-root .eac-sugs button:focus-visible{outline:2px solid var(--eac-maroon)}

/* Input */
#eac-root .eac-form{display:flex;align-items:flex-end;gap:8px;margin:0;padding:12px 14px;border-top:1px solid var(--eac-line);background:#fff}
#eac-root .eac-form textarea{all:unset;box-sizing:border-box;flex:1;min-height:46px;max-height:120px;padding:12px 16px;border:1px solid #d9d9d5;border-radius:23px;background:var(--eac-soft);
  font-size:16px;line-height:1.4;color:var(--eac-title);white-space:pre-wrap;overflow-y:hidden;resize:none;transition:border-color .15s,background .15s}
#eac-root .eac-form textarea:focus{border-color:var(--eac-dark);background:#fff}
#eac-root .eac-form textarea::placeholder{color:#9a9a96}
#eac-root .eac-send{all:unset;box-sizing:border-box;flex:0 0 46px;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--eac-maroon);color:#fff;cursor:pointer;transition:background .15s,transform .15s}
#eac-root .eac-send:hover{background:var(--eac-maroon-d);transform:scale(1.05)}
#eac-root .eac-send:disabled{opacity:.45;cursor:default;transform:none}
#eac-root .eac-send:focus-visible{outline:2px solid var(--eac-dark);outline-offset:2px}
#eac-root .eac-send svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-left:-2px}
#eac-root .eac-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 16px 12px;background:#fff;font-size:11.5px;color:var(--eac-muted)}
#eac-root .eac-foot button{all:unset;cursor:pointer;color:var(--eac-dark);font-weight:600;white-space:nowrap;padding:4px 0}
#eac-root .eac-foot button:hover{color:var(--eac-maroon)}
#eac-root .eac-foot button:focus-visible{outline:2px solid var(--eac-maroon)}

/* Phones: centred card with breathing room; the page behind stays still */
@media (max-width:560px){
  #eac-root .eac-launch{right:14px;width:56px;height:56px}
  #eac-root.left .eac-launch{left:14px}
  #eac-root .eac-hint{right:80px;max-width:200px}
  #eac-root.left .eac-hint{left:80px}
  #eac-root .eac-panel{width:calc(100vw - 20px);height:calc(100dvh - 40px);border-radius:16px}
  #eac-root .eac-head{padding:13px 10px 13px 14px}
  #eac-root .eac-avatar{flex-basis:40px;width:40px;height:40px}
  #eac-root .eac-msg{max-width:86%}
}
@media (prefers-reduced-motion:reduce){#eac-root *{animation:none!important;transition:none!important}}
@media print{#eac-root{display:none!important}}
