/* Ak World WhatsApp Live Chat Widget
   - Keeps orange live chat experience
   - Sends message to WhatsApp
*/
.akworld-chat-launcher{
  position:fixed;
  right:18px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#F67A3C;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:99999;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
  text-decoration:none;
}
.akworld-chat-launcher:hover{ filter:brightness(1.03); }

.akworld-chat-window{
  position:fixed;
  right:18px;
  bottom:86px;
  width:320px;
  max-width:calc(100vw - 36px);
  height:420px;
  max-height:calc(100vh - 120px);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 14px 38px rgba(0,0,0,.22);
  z-index:99999;
  display:none;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.akworld-chat-window.akworld-chat--open{ display:block; }

.akworld-chat-header{
  background:#F67A3C;
  color:#fff;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.akworld-chat-avatar{
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  letter-spacing:.3px;
}
.akworld-chat-header-text{ flex:1; min-width:0; }
.akworld-chat-name{ font-weight:800; font-size:14px; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.akworld-chat-title{ font-size:12px; opacity:.9; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.akworld-chat-close{
  background:transparent;
  border:0;
  color:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  padding:4px 6px;
}

.akworld-chat-body{
  padding:12px;
  height:calc(100% - 56px - 56px);
  overflow:auto;
  background:#f6f7fb;
}
.akworld-chat-msg{
  max-width:85%;
  padding:10px 12px;
  border-radius:14px;
  margin:6px 0;
  font-size:13px;
  line-height:1.35;
}
.akworld-chat-msg--agent{
  background:#e9e5ff;
  color:#1b1b1b;
}
.akworld-chat-msg--hint{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  color:#333;
}

.akworld-chat-footer{
  display:flex;
  gap:8px;
  padding:10px;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.08);
  height:56px;
  box-sizing:border-box;
}
.akworld-chat-input{
  flex:1;
  border:1px solid rgba(0,0,0,.18);
  border-radius:999px;
  padding:10px 12px;
  font-size:13px;
  outline:none;
}
.akworld-chat-send{
  width:40px;
  height:40px;
  border-radius:50%;
  border:0;
  background:#F67A3C;
  color:#fff;
  cursor:pointer;
}
.akworld-chat-send:disabled{ opacity:.6; cursor:not-allowed; }
