/* Travelers Message: floating "Message" cloud button + popup (profile.html). Data = sheet11. */
.msg-fab{position:fixed;right:22px;bottom:22px;z-index:900;display:flex;align-items:center;gap:9px;background:#1075BA;color:#fff;border:0;border-radius:99px;padding:13px 22px 13px 18px;font:800 16px Manrope,system-ui,sans-serif;cursor:pointer;box-shadow:0 8px 26px rgba(16,117,186,.45);transition:transform .15s,box-shadow .15s}
.msg-fab:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(16,117,186,.55)}
.msg-fab svg{width:26px;height:26px;fill:#fff;flex:none}
.msg-fab .msg-badge{position:absolute;top:-6px;right:-4px;background:#F94012;color:#fff;border-radius:99px;min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;font-size:12px;font-weight:800;border:2px solid #fff}
.msg-fab .msg-badge[hidden]{display:none}
.msg-ov{position:fixed;inset:0;z-index:1000;background:rgba(8,20,60,.5);display:none;align-items:flex-end;justify-content:flex-end;padding:22px}
.msg-ov.open{display:flex}
.msg-pop{width:min(420px,100%);height:min(640px,calc(100vh - 44px));background:#fff;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden;font-family:Manrope,system-ui,sans-serif;animation:msgUp .22s ease-out}
@keyframes msgUp{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.msg-head{background:#0c3866;color:#fff;padding:14px 18px;display:flex;align-items:center;gap:12px}
.msg-head .msg-ic{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;flex:none}
.msg-head .msg-ic svg{width:24px;height:24px;fill:#fff}
.msg-head h3{margin:0;font-size:17px;font-weight:800}.msg-head p{margin:2px 0 0;font-size:12px;opacity:.8}
.msg-x{margin-left:auto;background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 4px}
.msg-log{flex:1;overflow:auto;padding:16px;background:#f3f6fb;display:flex;flex-direction:column;gap:10px}
.msg-empty{margin:auto;text-align:center;color:#5d6b7a;font-size:14px;line-height:1.6;padding:10px 18px}
.msg-b{max-width:82%;padding:10px 13px;border-radius:14px;font-size:14px;line-height:1.5;word-wrap:break-word;white-space:pre-wrap}
.msg-b small{display:block;margin-top:5px;font-size:11px;opacity:.7}
.msg-b .tp{display:block;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;opacity:.75;margin-bottom:3px}
.msg-b.me{align-self:flex-end;background:#1075BA;color:#fff;border-bottom-right-radius:4px}
.msg-b.them{align-self:flex-start;background:#fff;color:#16202c;border:1px solid #dfe6ef;border-bottom-left-radius:4px}
.msg-form{padding:12px 14px 14px;border-top:1px solid #e1e8ee;background:#fff;display:grid;gap:8px}
.msg-form select,.msg-form textarea{width:100%;border:1px solid #cfdde0;border-radius:10px;padding:10px 12px;font:inherit;font-size:14px;color:#16202c;background:#fff}
.msg-form textarea{resize:none;min-height:70px}
.msg-form select:focus,.msg-form textarea:focus{outline:2px solid #1075BA;outline-offset:1px}
.msg-row{display:flex;align-items:center;gap:10px}
.msg-note{flex:1;font-size:12px;color:#5d6b7a}.msg-note.err{color:#c52d0a;font-weight:700}
.msg-send{background:#1075BA;color:#fff;border:0;border-radius:10px;padding:10px 22px;font:800 14px inherit;font-family:inherit;cursor:pointer}
.msg-send:disabled{opacity:.55;cursor:wait}
@media(max-width:560px){.msg-fab{right:14px;bottom:14px;padding:12px 18px 12px 14px}.msg-ov{padding:0}.msg-pop{width:100%;height:100%;border-radius:0}}
