/* info: https://market.peronex.ir/wp-content/plugins/my-messenger-chat/assets/chat.css */
#mmc-widget{position:fixed;z-index:99999;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;direction:rtl;line-height:1.5;bottom:24px;left:24px}#mmc-widget.mmc-pos-bottom-left{bottom:24px;left:24px;right:auto;top:auto}#mmc-widget.mmc-pos-bottom-right{bottom:24px;right:24px;left:auto;top:auto}#mmc-widget.mmc-pos-top-left{top:24px;left:24px;bottom:auto;right:auto}#mmc-widget.mmc-pos-top-right{top:24px;right:24px;bottom:auto;left:auto}#mmc-toggle{width:62px;height:62px;border-radius:50%;border:none;background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;cursor:pointer;box-shadow:0 10px 28px rgb(13 148 136 / .4);display:flex;align-items:center;justify-content:center;position:relative;transition:transform 0.2s ease,box-shadow 0.2s ease;overflow:hidden}#mmc-toggle:hover{transform:scale(1.07);box-shadow:0 14px 32px rgb(13 148 136 / .5)}#mmc-toggle .mmc-icon{position:absolute;transition:opacity 0.4s ease,transform 0.4s ease;display:flex;align-items:center;justify-content:center}#mmc-toggle .mmc-icon-support{opacity:1;transform:scale(1)}#mmc-toggle .mmc-icon-telegram{opacity:0;transform:scale(.6)}#mmc-toggle.mmc-show-telegram .mmc-icon-support{opacity:0;transform:scale(.6)}#mmc-toggle.mmc-show-telegram .mmc-icon-telegram{opacity:1;transform:scale(1)}#mmc-unread-badge{position:absolute;top:-4px;right:-4px;background:#ef4444;color:#fff;font-size:11px;font-weight:700;min-width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 5px;z-index:2}#mmc-panel{width:380px;max-width:calc(100vw - 32px);height:560px;max-height:78vh;background:#fff;border-radius:18px;box-shadow:0 22px 55px rgb(0 0 0 / .18);display:flex;flex-direction:column;overflow:hidden;margin-bottom:14px;opacity:1;transform:translateY(0) scale(1);transition:all 0.28s cubic-bezier(.4,0,.2,1);transform-origin:bottom left}#mmc-widget.mmc-pos-bottom-right #mmc-panel,#mmc-widget.mmc-pos-top-right #mmc-panel{transform-origin:bottom right}#mmc-widget.mmc-pos-top-left #mmc-panel,#mmc-widget.mmc-pos-top-right #mmc-panel{margin-bottom:0;margin-top:12px}#mmc-widget.mmc-closed #mmc-panel{opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;height:0;margin:0;overflow:hidden}#mmc-header{background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}.mmc-header-info{display:flex;flex-direction:column;gap:2px}#mmc-title{font-weight:700;font-size:15px}#mmc-status{font-size:12px;opacity:.85}#mmc-close{background:#fff0;border:none;color:#fff;font-size:26px;cursor:pointer;line-height:1;padding:0 6px;opacity:.9}#mmc-close:hover{opacity:1}#mmc-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f1f5f9}.mmc-msg{max-width:82%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.55;word-wrap:break-word}.mmc-visitor{align-self:flex-start;background:#e2e8f0;color:#1e293b;border-bottom-right-radius:4px}.mmc-agent{align-self:flex-end;background:#0d9488;color:#fff;border-bottom-left-radius:4px}.mmc-system{align-self:center;background:#fff0;color:#64748b;font-size:12.5px;padding:6px 0;max-width:100%;text-align:center}.mmc-msg img{max-width:100%;border-radius:10px;display:block;margin-bottom:6px}.mmc-msg a{color:inherit;text-decoration:underline}.mmc-time{font-size:10.5px;opacity:.7;margin-top:4px}#mmc-preview{padding:8px 12px;background:#f8fafc;border-top:1px solid #e2e8f0;position:relative}#mmc-preview img{max-height:80px;border-radius:8px}#mmc-preview-remove{position:absolute;top:4px;left:8px;background:#ef4444;color:#fff;border:none;width:22px;height:22px;border-radius:50%;cursor:pointer;font-size:14px;line-height:1}#mmc-form{display:flex;align-items:center;border-top:1px solid #e2e8f0;background:#fff;padding:8px 10px;gap:6px}.mmc-attach{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#64748b;cursor:pointer;border-radius:10px;transition:background 0.15s,color 0.15s;flex-shrink:0}.mmc-attach:hover{background:#f1f5f9;color:#0d9488}#mmc-input{flex:1;min-width:0;border:none;padding:11px 8px;font-size:14px;outline:none;background:#fff0;color:#1e293b}#mmc-send{border:none!important;background:#0d9488!important;color:#fff!important;height:42px;min-width:72px;padding:0 14px!important;border-radius:12px;cursor:pointer;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;line-height:1;transition:background 0.2s;flex-shrink:0}#mmc-send svg{width:16px;height:16px;fill:currentColor;flex-shrink:0}#mmc-send .mmc-send-text{display:inline;color:#fff}#mmc-send:hover{background:#0f766e!important}#mmc-send:disabled{opacity:.55;cursor:not-allowed}.mmc-hidden{display:none!important}#mmc-messages::-webkit-scrollbar{width:5px}#mmc-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}#mmc-widget.mmc-dark #mmc-panel{background:#1e293b;box-shadow:0 22px 55px rgb(0 0 0 / .45)}#mmc-widget.mmc-dark #mmc-header{background:linear-gradient(135deg,#0f766e,#115e59)}#mmc-widget.mmc-dark #mmc-messages{background:#0f172a}#mmc-widget.mmc-dark .mmc-visitor{background:#334155;color:#f1f5f9}#mmc-widget.mmc-dark .mmc-agent{background:#0d9488;color:#fff}#mmc-widget.mmc-dark .mmc-system{color:#94a3b8}#mmc-widget.mmc-dark #mmc-form{background:#1e293b;border-top-color:#334155}#mmc-widget.mmc-dark #mmc-input{color:#f1f5f9}#mmc-widget.mmc-dark #mmc-input::placeholder{color:#64748b}#mmc-widget.mmc-dark .mmc-attach{color:#94a3b8}#mmc-widget.mmc-dark .mmc-attach:hover{background:#334155;color:#2dd4bf}#mmc-widget.mmc-dark #mmc-preview{background:#0f172a;border-top-color:#334155}#mmc-widget.mmc-dark #mmc-messages::-webkit-scrollbar-thumb{background:#475569}@media (max-width:480px){#mmc-widget{bottom:16px;left:16px;right:16px}#mmc-widget.mmc-pos-bottom-right{right:16px;left:auto}#mmc-panel{width:100%;height:70vh}#mmc-send{min-width:42px;padding:0 10px!important}#mmc-send .mmc-send-text{display:none}}.mmc-typing-indicator{align-self:flex-start;background:#e2e8f0;color:#475569;padding:10px 14px;border-radius:16px;border-bottom-right-radius:4px;font-size:13px;display:flex;align-items:center;gap:6px;max-width:90%}.mmc-typing-indicator span{width:7px;height:7px;background:#64748b;border-radius:50%;display:inline-block;animation:mmc-bounce 1.2s infinite ease-in-out}.mmc-typing-indicator span:nth-child(2){animation-delay:0.15s}.mmc-typing-indicator span:nth-child(3){animation-delay:0.3s}.mmc-typing-indicator em{font-style:normal;margin-right:4px}@keyframes mmc-bounce{0%,80%,100%{transform:translateY(0);opacity:.4}40%{transform:translateY(-4px);opacity:1}}#mmc-widget.mmc-dark .mmc-typing-indicator{background:#334155;color:#cbd5e1}#mmc-widget.mmc-dark .mmc-typing-indicator span{background:#94a3b8}.mmc-rating-box{text-align:center}.mmc-stars{display:flex;gap:6px;justify-content:center;margin-top:8px}.mmc-stars button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:6px 10px;cursor:pointer}.mmc-stars button:hover{background:#f0fdfa;border-color:#0d9488}#mmc-expand{background:#fff0;border:none;color:#fff;font-size:16px;cursor:pointer;padding:0 8px;opacity:.9}#mmc-widget.mmc-fullscreen{inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100%!important;z-index:1000000}#mmc-widget.mmc-fullscreen #mmc-panel{width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;margin:0!important;border-radius:0!important}#mmc-widget.mmc-fullscreen #mmc-toggle{display:none}#mmc-voice.mmc-recording{color:#ef4444!important;background:#fee2e2!important}@media (max-width:640px){#mmc-panel{width:min(100vw - 24px, 380px);height:min(70vh, 520px);max-height:70vh}#mmc-widget.mmc-fullscreen #mmc-panel{width:100%!important;height:100%!important;max-height:100%!important}}.mmc-header-actions{display:flex;align-items:center;gap:2px;margin-right:auto}#mmc-widget[dir="rtl"] .mmc-header-actions,html[dir="rtl"] #mmc-widget .mmc-header-actions{margin-right:0;margin-left:auto}#mmc-theme,#mmc-expand,#mmc-close{background:#fff0;border:none;color:#fff;font-size:18px;cursor:pointer;line-height:1;padding:4px 8px;opacity:.9;border-radius:8px}#mmc-close{font-size:26px;padding:0 6px}#mmc-theme:hover,#mmc-expand:hover,#mmc-close:hover{opacity:1;background:rgb(255 255 255 / .12)}#mmc-panel{display:flex;flex-direction:column}#mmc-messages{flex:1 1 auto;min-height:0}#mmc-form{flex:0 0 auto}#mmc-preview{flex:0 0 auto}#mmc-widget.mmc-fullscreen #mmc-panel{display:flex!important;flex-direction:column!important;height:100%!important}#mmc-widget.mmc-fullscreen #mmc-messages{flex:1 1 auto!important;min-height:0!important}#mmc-widget.mmc-fullscreen #mmc-form{flex:0 0 auto!important;padding-bottom:max(10px, env(safe-area-inset-bottom))}#mmc-voice{display:none;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:#fff0;color:#64748b;cursor:pointer;border-radius:10px;padding:0;flex-shrink:0}#mmc-voice.mmc-voice-ready{display:flex!important}#mmc-voice svg{width:20px;height:20px;display:block}#mmc-voice.mmc-recording{color:#ef4444!important;background:#fee2e2!important;animation:mmc-pulse 1s infinite}@keyframes mmc-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}#mmc-widget.mmc-dark #mmc-voice{color:#94a3b8}#mmc-header{background:linear-gradient(135deg,#0d9488,#0f766e);color:#fff;padding:14px 16px;display:flex;align-items:center;justify-content:flex-start;position:relative;min-height:56px;box-sizing:border-box;padding-inline-end:108px}.mmc-header-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}#mmc-title{font-weight:700;font-size:15px}#mmc-status{font-size:12px;opacity:.85}.mmc-header-actions{position:absolute;top:50%;inset-inline-end:6px;transform:translateY(-50%);display:flex;align-items:center;gap:0;margin:0!important;z-index:2}#mmc-theme,#mmc-expand,#mmc-close{background:#fff0;border:none;color:#fff;font-size:17px;cursor:pointer;line-height:1;padding:6px 8px;opacity:.92;border-radius:8px;margin:0}#mmc-close{font-size:24px;padding:2px 8px}#mmc-theme:hover,#mmc-expand:hover,#mmc-close:hover{opacity:1;background:rgb(255 255 255 / .14)}.mmc-voice-bar{display:none;align-items:center;gap:10px;padding:8px 12px;background:#fef2f2;border-top:1px solid #fecaca;flex:0 0 auto}.mmc-voice-bar.mmc-show{display:flex}#mmc-widget.mmc-dark .mmc-voice-bar{background:#450a0a;border-top-color:#7f1d1d}.mmc-voice-waves{display:flex;align-items:center;gap:3px;height:28px;flex:1}.mmc-voice-waves span{width:3px;height:8px;background:#ef4444;border-radius:2px;animation:mmc-wave 1s ease-in-out infinite}.mmc-voice-waves span:nth-child(1){animation-delay:0s}.mmc-voice-waves span:nth-child(2){animation-delay:0.1s;height:14px}.mmc-voice-waves span:nth-child(3){animation-delay:0.2s;height:22px}.mmc-voice-waves span:nth-child(4){animation-delay:0.15s;height:12px}.mmc-voice-waves span:nth-child(5){animation-delay:0.05s;height:18px}.mmc-voice-waves span:nth-child(6){animation-delay:0.25s;height:10px}.mmc-voice-waves span:nth-child(7){animation-delay:0.12s;height:16px}@keyframes mmc-wave{0%,100%{transform:scaleY(.45);opacity:.6}50%{transform:scaleY(1);opacity:1}}.mmc-voice-timer{font-size:13px;font-weight:600;color:#b91c1c;min-width:40px;font-variant-numeric:tabular-nums}.mmc-voice-hint{font-size:11px;color:#64748b}.mmc-voice-actions{display:flex;gap:6px}.mmc-voice-actions button{border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:6px 10px;font-size:12px;cursor:pointer}.mmc-voice-actions .mmc-voice-send{background:#0d9488;color:#fff;border-color:#0d9488}#mmc-voice.mmc-locked{box-shadow:0 0 0 2px #ef4444}.mmc-rating-title{font-weight:600;margin-bottom:4px}.mmc-star-btn{display:inline-flex;flex-direction:column;align-items:center;gap:2px;min-width:42px;padding:8px 6px!important;transition:transform 0.15s,background 0.15s,border-color 0.15s}.mmc-star-icon{font-size:18px;line-height:1}.mmc-star-num{font-size:12px;font-weight:700;color:#0f766e}.mmc-star-btn.mmc-star-selected{background:#ccfbf1!important;border-color:#0d9488!important;transform:scale(1.08);box-shadow:0 0 0 2px rgb(13 148 136 / .25)}#mmc-widget.mmc-dark .mmc-star-btn.mmc-star-selected{background:#134e4a!important;border-color:#2dd4bf!important}.mmc-voice-actions button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:36px}.mmc-voice-actions button{display:inline-flex!important;align-items:center;gap:6px;padding:8px 12px!important;font-size:13px;font-weight:600}#mmc-voice-cancel{color:#b91c1c!important;border-color:#fecaca!important;background:#fff!important}#mmc-voice-cancel svg{stroke:#b91c1c}.mmc-voice-send span,#mmc-voice-cancel span{line-height:1}