
/* =========================================================
   USA Global Travel — AI Chatbot
   ========================================================= */
.usagt-chat-launcher{
  position:fixed;right:22px;bottom:22px;z-index:9998;
  width:58px;height:58px;border:0;border-radius:50%;
  background:#111827;color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.22);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  font-size:22px;transition:transform .18s ease,box-shadow .18s ease;
}
.usagt-chat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(0,0,0,.28)}
.usagt-chat-panel{
  position:fixed;right:22px;bottom:92px;z-index:9999;width:min(390px,calc(100vw - 28px));
  height:min(600px,calc(100vh - 120px));min-height:420px;background:#fff;
  border:1px solid rgba(15,23,42,.12);border-radius:20px;overflow:hidden;
  box-shadow:0 24px 70px rgba(15,23,42,.25);display:none;flex-direction:column;
}
.usagt-chat-panel.open{display:flex}
.usagt-chat-head{display:flex;align-items:center;gap:12px;padding:15px 16px;background:#111827;color:#fff}
.usagt-chat-avatar{width:38px;height:38px;border-radius:12px;background:#fff;color:#111827;display:grid;place-items:center;font-size:17px}
.usagt-chat-title{font-weight:800;font-size:15px;line-height:1.15}
.usagt-chat-sub{font-size:11px;opacity:.75;margin-top:3px}
.usagt-chat-close{margin-left:auto;border:0;background:transparent;color:#fff;width:34px;height:34px;border-radius:8px;cursor:pointer;font-size:18px}
.usagt-chat-close:hover{background:rgba(255,255,255,.12)}
.usagt-chat-messages{flex:1;overflow-y:auto;padding:16px;background:#f8fafc}
.usagt-msg{display:flex;margin:0 0 12px}
.usagt-msg.user{justify-content:flex-end}
.usagt-bubble{max-width:84%;padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.usagt-msg.assistant .usagt-bubble{background:#fff;border:1px solid #e5e7eb;color:#1f2937;border-top-left-radius:5px}
.usagt-msg.user .usagt-bubble{background:#111827;color:#fff;border-top-right-radius:5px}
.usagt-quick{display:flex;gap:7px;flex-wrap:wrap;padding:10px 12px 4px;background:#f8fafc}
.usagt-quick button{border:1px solid #dbe1e8;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;color:#334155;cursor:pointer}
.usagt-quick button:hover{border-color:#94a3b8;background:#f1f5f9}
.usagt-chat-form{display:flex;gap:8px;padding:11px;border-top:1px solid #e5e7eb;background:#fff}
.usagt-chat-input{flex:1;min-width:0;resize:none;height:42px;max-height:100px;border:1px solid #d1d5db;border-radius:12px;padding:11px 12px;font:inherit;font-size:13px;outline:none}
.usagt-chat-input:focus{border-color:#64748b;box-shadow:0 0 0 3px rgba(100,116,139,.12)}
.usagt-chat-send{width:44px;height:42px;border:0;border-radius:12px;background:#111827;color:#fff;cursor:pointer;font-size:15px}
.usagt-chat-send:disabled{opacity:.5;cursor:not-allowed}
.usagt-typing{display:inline-flex;gap:4px;align-items:center}
.usagt-typing i{width:5px;height:5px;background:#94a3b8;border-radius:50%;animation:usagt-bounce 1s infinite ease-in-out}
.usagt-typing i:nth-child(2){animation-delay:.12s}.usagt-typing i:nth-child(3){animation-delay:.24s}
@keyframes usagt-bounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
@media(max-width:600px){
  .usagt-chat-launcher{right:16px;bottom:16px}
  .usagt-chat-panel{right:10px;bottom:84px;width:calc(100vw - 20px);height:min(650px,calc(100vh - 100px));border-radius:18px}
}
