/* Portable Meyko Website chat: this file can be loaded by an Odoo asset bundle. */
.meyko-ai-trigger, #meykoAiChatbox { display: none !important; }
#cw-widget-holder, .woot--bubble-holder { display: none !important; }
.meyko-web-chat, .meyko-web-chat *, .meyko-web-launcher { box-sizing: border-box; }
.meyko-web-launcher { position: fixed; z-index: 2147483001; right: 20px; bottom: 94px; width: 62px; height: 62px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #174681; box-shadow: 0 7px 18px #092b5d35; cursor: pointer; }
.meyko-web-launcher:hover { background: #123d73; }
.meyko-web-launcher:focus-visible, .meyko-web-chat button:focus-visible, .meyko-web-chat textarea:focus-visible { outline: 3px solid #4aa8e8; outline-offset: 2px; }
.meyko-web-launcher svg { width: 32px; height: 32px; }
.meyko-web-chat { position: fixed; z-index: 2147483002; right: 20px; bottom: 172px; width: min(410px,calc(100vw - 32px)); height: min(620px,calc(100dvh - 195px)); min-height: 400px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e7e9ed; border-radius: 16px; background: #fbfbfd; box-shadow: 0 14px 38px #23344a30; font-family: Arial,Helvetica,sans-serif; color: #242830; }
.meyko-web-chat[hidden], .meyko-web-modal[hidden], .meyko-web-empty[hidden], .meyko-web-error[hidden], .meyko-web-upload[hidden], .meyko-web-typing[hidden], .meyko-web-load-older[hidden] { display: none !important; }
.meyko-web-head { display: flex; align-items: center; gap: 11px; min-height: 72px; padding: 14px 18px; border-bottom: 1px solid #edf0f2; background: #fff; color: #242830; }
.meyko-web-mark { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #ffffff70; border-radius: 13px; background: #ffffff20; font-size: 16px; font-weight: 800; letter-spacing: -.07em; }
.meyko-web-head-copy { min-width: 0; flex: 1; }
.meyko-web-head-copy strong { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; }
.meyko-web-head-copy span { display: block; margin-top: 3px; color: #707782; font-size: 11px; }
.meyko-web-icon-button { flex: 0 0 auto; display: grid; place-items: center; width: 33px; height: 33px; border: 0; border-radius: 10px; color: inherit; background: transparent; cursor: pointer; font-size: 23px; }
.meyko-web-icon-button:hover { background: #f0f1f3; }
.meyko-web-channel-row { display: flex; justify-content: flex-end; padding: 8px 17px 3px; background: #fbfbfd; }
.meyko-web-whatsapp { border: 0; border-radius: 7px; background: transparent; color: #246391; padding: 5px 2px; font: 600 11px Arial,sans-serif; cursor: pointer; }
.meyko-web-whatsapp:hover { text-decoration: underline; }
.meyko-web-thread { flex: 1; min-height: 0; overflow: auto; padding: 15px 18px 18px; }
.meyko-web-load-older { display: block; margin: 0 auto 15px; border: 1px solid #d6e4ef; border-radius: 20px; padding: 7px 13px; background: #fff; color: #246391; font: 600 11px Arial,sans-serif; cursor: pointer; }
.meyko-web-load-older:disabled { opacity: .65; cursor: default; }
.meyko-web-empty { max-width: 260px; padding: 7px 0 0; }
.meyko-web-empty p { display: inline-block; margin: 5px 0 0; padding: 11px 13px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 1px 5px #00000010; color: #303946; font-size: 14px; line-height: 1.45; }
.meyko-web-messages { display: flex; flex-direction: column; gap: 14px; }
.meyko-web-message { max-width: 88%; display: flex; flex-direction: column; gap: 4px; align-self: flex-start; }
.meyko-web-message[data-from="visitor"] { align-self: flex-end; }
.meyko-web-message-label { padding: 0 4px; color: #798796; font-size: 10px; font-weight: 700; }
.meyko-web-message[data-from="visitor"] .meyko-web-message-label { text-align: right; }
.meyko-web-message-body { border-radius: 14px 14px 14px 4px; padding: 11px 13px; background: #fff; box-shadow: 0 1px 5px #00000010; color: #303946; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.meyko-web-message[data-from="visitor"] .meyko-web-message-body { border-radius: 14px 14px 4px 14px; background: #e5f0fb; color: #243f61; }
.meyko-web-message img { display: block; max-width: 190px; max-height: 180px; border-radius: 10px; }
.meyko-web-message a { color: #11649d; text-decoration: underline; }
.meyko-web-typing { margin: 10px 0 0; color: #607184; font-size: 12px; }
.meyko-web-error { padding: 9px 16px; background: #fff1e6; color: #9c4914; font-size: 12px; line-height: 1.4; }
.meyko-web-compose { border-top: 1px solid #eff0f2; padding: 12px 14px 14px; background: #fff; }
.meyko-web-upload { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding: 7px 9px; border-radius: 8px; background: #e8f3fb; color: #1d5778; font-size: 11px; overflow: hidden; }
.meyko-web-upload span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meyko-web-upload button { border: 0; background: none; color: inherit; cursor: pointer; }
.meyko-web-compose-row { display: flex; align-items: flex-end; gap: 7px; border: 1px solid #e0e3e8; border-radius: 11px; padding: 6px; }
.meyko-web-compose-row:focus-within { border-color: #2c89bc; box-shadow: 0 0 0 2px #2c89bc22; }
.meyko-web-attach { width: 32px; height: 33px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #586773; cursor: pointer; }
.meyko-web-compose textarea { flex: 1; min-width: 0; max-height: 120px; min-height: 33px; padding: 7px 2px; resize: none; border: 0; outline: 0; color: #24354a; font: 14px/1.4 Arial,sans-serif; }
.meyko-web-send { flex: 0 0 auto; width: 33px; height: 33px; border: 0; border-radius: 8px; background: #2276a8; color: white; font-size: 17px; cursor: pointer; }
.meyko-web-send:disabled { opacity: .45; cursor: default; }
.meyko-web-modal { position: fixed; z-index: 2147483003; inset: 0; display: grid; place-items: center; padding: 20px; background: #0c234865; font-family: Arial,Helvetica,sans-serif; }
.meyko-web-modal-card { width: min(360px,100%); border-radius: 17px; padding: 22px; background: #fff; box-shadow: 0 20px 60px #001a3c45; color: #24354a; }
.meyko-web-modal-card h2 { margin: 0 0 9px; color: #143e70; font-size: 19px; }
.meyko-web-modal-card p { margin: 0; color: #5e6e7e; font-size: 13px; line-height: 1.5; }
.meyko-web-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.meyko-web-modal-actions button, .meyko-web-modal-actions a { display: inline-block; border: 0; border-radius: 9px; padding: 10px 12px; font: 700 12px Arial,sans-serif; text-decoration: none; cursor: pointer; }
.meyko-web-modal-actions button { background: #eef3f6; color: #49657a; }
.meyko-web-modal-actions a { background: #168b73; color: white; }
@media (max-width: 600px) {
  .meyko-web-launcher { right: 17px; bottom: 92px; width: 57px; height: 57px; }
  .meyko-web-chat { inset: 0; width: 100vw; height: 100dvh; min-height: 0; border: 0; border-radius: 0; }
  .meyko-web-head { padding-top: max(16px,env(safe-area-inset-top)); }
  .meyko-web-compose { padding-bottom: max(14px,env(safe-area-inset-bottom)); }
}
