/* MyFlyYatra support dock (2026-11-25): replaces the stock Tawk.to bubble.
   Left part = direct tap-to-call with the number shown; round button = opens the Tawk chat. */
.mfy-dock{
  --dk-bg:#0b2548; --dk-bg2:#12376b; --dk-fg:#fff; --dk-muted:rgba(255,255,255,.72); --dk-ok:#22c55e; --dk-accent:#f5b400;
  position:fixed; right:16px; bottom:16px; z-index:9991;
  display:flex; align-items:center; gap:8px;
  font-family:inherit;
}
.mfy-dock__call{
  display:flex; align-items:center; gap:12px;
  padding:8px 18px 8px 8px; border-radius:999px;
  background:linear-gradient(135deg,var(--dk-bg) 0%,var(--dk-bg2) 100%); color:var(--dk-fg) !important;
  text-decoration:none !important; box-shadow:0 12px 28px -8px rgba(11,37,72,.55), 0 2px 6px rgba(11,37,72,.2);
  transition:transform .18s ease, box-shadow .18s ease;
}
.mfy-dock__call:hover,.mfy-dock__call:focus-visible{transform:translateY(-2px); box-shadow:0 16px 34px -8px rgba(11,37,72,.6), 0 3px 8px rgba(11,37,72,.25)}
.mfy-dock__avatar{position:relative; flex:0 0 44px; width:44px; height:44px; border-radius:50%;
  display:grid; place-items:center; background:rgba(255,255,255,.14); color:var(--dk-accent)}
.mfy-dock__avatar svg{width:22px; height:22px}
.mfy-dock__online{position:absolute; right:1px; bottom:1px; width:11px; height:11px; border-radius:50%;
  background:var(--dk-ok); box-shadow:0 0 0 2px var(--dk-bg)}
.mfy-dock__online::after{content:""; position:absolute; inset:0; border-radius:50%; background:var(--dk-ok);
  animation:mfyDockPing 2s ease-out infinite}
@keyframes mfyDockPing{0%{transform:scale(1); opacity:.7}100%{transform:scale(2.4); opacity:0}}
.mfy-dock__txt{display:flex; flex-direction:column; line-height:1.15}
.mfy-dock__txt small{font-size:11.5px; font-weight:500; color:var(--dk-muted); letter-spacing:.02em}
.mfy-dock__txt b{font-size:17px; font-weight:700; letter-spacing:.3px; white-space:nowrap}
.mfy-dock__chat{
  position:relative; flex:0 0 52px; width:52px; height:52px; border-radius:50%; border:0; cursor:pointer;
  display:grid; place-items:center; background:#fff; color:var(--dk-bg);
  box-shadow:0 10px 24px -8px rgba(11,37,72,.45), 0 0 0 1px rgba(11,37,72,.08);
  transition:transform .18s ease;
}
.mfy-dock__chat:hover,.mfy-dock__chat:focus-visible{transform:translateY(-2px)}
.mfy-dock__chat svg{width:22px; height:22px}
.mfy-dock__badge{position:absolute; top:-3px; right:-3px; min-width:19px; height:19px; padding:0 5px; border-radius:999px;
  background:#e11d48; color:#fff; font-size:11px; font-weight:700; line-height:19px; text-align:center}
.mfy-dock__badge[hidden]{display:none}
.mfy-dock__tip{position:absolute; right:0; bottom:calc(100% + 10px); white-space:nowrap; pointer-events:none;
  padding:6px 10px; border-radius:8px; background:#0f172a; color:#fff; font-size:12px; opacity:0; transform:translateY(4px);
  transition:opacity .2s ease, transform .2s ease}
.mfy-dock__chat:hover .mfy-dock__tip,.mfy-dock__chat:focus-visible .mfy-dock__tip{opacity:1; transform:none}

/* dock is bottom-right; the recent-requests card stays bottom-left (on phones it sits above the dock) */

/* hide the stock Tawk bubble until our chat button opens it (JS also calls Tawk_API.hideWidget) */
.mfy-dock-on iframe[title="chat widget"]:not(.mfy-dock-chat-open iframe){visibility:hidden !important}

@media (max-width:600px){
  .mfy-dock{right:10px; bottom:12px; gap:6px}
  .mfy-dock__call{padding:6px 14px 6px 6px; gap:9px}
  .mfy-dock__avatar{flex-basis:38px; width:38px; height:38px}
  .mfy-dock__avatar svg{width:19px; height:19px}
  .mfy-dock__txt small{font-size:10.5px}
  .mfy-dock__txt b{font-size:15px}
  .mfy-dock__chat{flex-basis:46px; width:46px; height:46px}
  .mfy-sp{bottom:72px !important}
}
@media (prefers-reduced-motion:reduce){ .mfy-dock__online::after{animation:none} .mfy-dock__call,.mfy-dock__chat{transition:none} }
@media print{ .mfy-dock{display:none} }
