/* Chat de ventas estilo mensajería (verde). Compartido Movora / Mudara. */
.mc-fab{position:fixed;right:18px;bottom:18px;z-index:9998;width:62px;height:62px;border-radius:50%;border:0;cursor:pointer;background:#25d366;box-shadow:0 10px 28px -6px rgba(0,0,0,.35);display:grid;place-items:center;transition:transform .15s}
.mc-fab:hover{transform:scale(1.06)}
.mc-fab svg{width:32px;height:32px;fill:#fff}
.mc-fab .mc-badge{position:absolute;top:-2px;right:-2px;background:#ff3b30;color:#fff;font:700 12px/20px system-ui,sans-serif;min-width:20px;height:20px;border-radius:10px;text-align:center;padding:0 5px}
.mc-teaser{position:fixed;right:90px;bottom:28px;z-index:9998;background:#fff;color:#111b21;font:500 14.5px/1.35 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;padding:10px 14px;border-radius:12px 12px 2px 12px;box-shadow:0 8px 24px -8px rgba(0,0,0,.3);max-width:240px;cursor:pointer;animation:mcIn .3s ease}
.mc-teaser b{display:block;font-size:13px;color:#008069;margin-bottom:2px}
.mc-teaser .x{position:absolute;top:-8px;left:-8px;width:22px;height:22px;border-radius:50%;background:#54656f;color:#fff;border:0;font:700 13px/22px system-ui;cursor:pointer;padding:0}
@keyframes mcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.mc-panel{position:fixed;right:18px;bottom:92px;z-index:9999;width:380px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 110px);display:none;flex-direction:column;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px -12px rgba(0,0,0,.45);font:400 15px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:#efeae2}
.mc-panel.open{display:flex;animation:mcIn .22s ease}
.mc-head{background:#008069;color:#fff;display:flex;align-items:center;gap:11px;padding:10px 12px}
.mc-av{width:42px;height:42px;border-radius:50%;background:#dfe5e7;color:#008069;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none;position:relative}
.mc-av:after{content:"";position:absolute;right:0;bottom:1px;width:11px;height:11px;border-radius:50%;background:#25d366;border:2px solid #008069}
.mc-who{flex:1;min-width:0}
.mc-who b{display:block;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mc-who small{font-size:12.5px;opacity:.9}
.mc-close{background:none;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px}
.mc-body{flex:1;overflow-y:auto;padding:14px 12px 8px;background-color:#efeae2;background-image:radial-gradient(rgba(0,0,0,.035) 1px,transparent 1.2px),radial-gradient(rgba(0,0,0,.025) 1px,transparent 1.2px);background-size:22px 22px,22px 22px;background-position:0 0,11px 11px}
.mc-day{display:block;width:max-content;margin:0 auto 10px;background:#fff;color:#54656f;font-size:12px;padding:4px 10px;border-radius:8px;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.mc-note{background:#ffeecd;color:#54656f;font-size:12.3px;text-align:center;padding:6px 10px;border-radius:8px;margin:0 8px 12px;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.mc-msg{max-width:84%;margin:2px 0 6px;padding:6px 9px 18px;border-radius:8px;position:relative;box-shadow:0 1px .5px rgba(11,20,26,.13);word-wrap:break-word;white-space:pre-wrap;color:#111b21;min-width:70px}
.mc-msg.in{background:#fff;border-top-left-radius:0;margin-right:auto}
.mc-msg.out{background:#d9fdd3;border-top-right-radius:0;margin-left:auto}
.mc-msg .t{position:absolute;right:8px;bottom:3px;font-size:11px;color:#667781;display:flex;align-items:center;gap:3px}
.mc-msg .t svg{width:16px;height:11px}
.mc-msg .t svg.read{color:#53bdeb}
.mc-msg a{color:#027eb5}
.mc-typing{display:inline-flex;gap:4px;padding:12px 14px 12px}
.mc-typing i{width:7px;height:7px;border-radius:50%;background:#8696a0;animation:mcDot 1.2s infinite}
.mc-typing i:nth-child(2){animation-delay:.15s}.mc-typing i:nth-child(3){animation-delay:.3s}
@keyframes mcDot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.mc-quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 10px 8px;background:transparent}
.mc-quick button{background:#fff;border:1px solid #d1d7db;color:#008069;font:600 13px system-ui,sans-serif;padding:6px 10px;border-radius:16px;cursor:pointer}
.mc-foot{display:flex;align-items:flex-end;gap:8px;padding:8px 10px;background:#f0f2f5}
.mc-foot textarea{flex:1;resize:none;border:0;border-radius:20px;padding:10px 14px;font:400 15px/1.35 system-ui,sans-serif;max-height:110px;outline:none;background:#fff;color:#111b21}
.mc-send{width:44px;height:44px;border-radius:50%;border:0;background:#00a884;display:grid;place-items:center;cursor:pointer;flex:none}
.mc-send svg{width:22px;height:22px;fill:#fff}
.mc-send:disabled{opacity:.55;cursor:default}
.mc-legal{font-size:10.5px;color:#667781;text-align:center;padding:0 10px 6px;background:#f0f2f5}
.mc-legal a{color:#667781}
@media(max-width:600px){
  .mc-panel{right:0;left:0;bottom:0;top:0;width:100%;max-width:none;height:100%;max-height:none;border-radius:0}
  .mc-fab{bottom:84px}
  .mc-teaser{bottom:96px;right:86px}
}
