@font-face{font-family:EtasVazir;src:url('/etas-messenger/assets/Vazir.woff2') format('woff2');font-display:swap}
#etas-chat-root{--widget-color:#74af9b;--widget-on:#163e2d;direction:rtl;font:14px/1.8 EtasVazir,Tahoma,sans-serif;color:#1d2635;position:fixed;bottom:20px;right:20px;z-index:9990}
#etas-chat-root *{box-sizing:border-box}#etas-chat-root button,#etas-chat-root input,#etas-chat-root select,#etas-chat-root textarea{font:inherit}#etas-chat-root button{cursor:pointer;border:0;border-radius:9px;padding:9px 13px;background:var(--widget-color);color:var(--widget-on)}#etas-chat-root button:disabled{opacity:.55;cursor:default}#etas-chat-root button:focus-visible,#etas-chat-root input:focus-visible,#etas-chat-root textarea:focus-visible{outline:3px solid var(--widget-color);outline-offset:3px}#etas-chat-root[hidden],#etas-chat-root [hidden]{display:none!important}
#etas-chat-root .launcher{border-radius:30px;padding:13px 22px;box-shadow:0 7px 25px #233b3133}
#etas-chat-root .chat-window{width:370px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);background:#fff;border:1px solid #e1e6ee;border-radius:16px;box-shadow:0 18px 50px #0004;overflow:hidden;margin-bottom:12px;display:flex;flex-direction:column}
#etas-chat-root .chat-head{background:var(--widget-color);color:var(--widget-on);padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}#etas-chat-root .chat-head strong{display:block;font-weight:500}#etas-chat-root .chat-head small{display:block;font-size:12px;opacity:.9}#etas-chat-root .close{padding:0;width:29px;height:29px;background:#ffffff30;color:inherit;font-size:21px}
#etas-chat-root .chat-body{flex:1;min-height:0;overflow:auto;padding:14px;background:#f8fafc}#etas-chat-root .messages{display:flex;flex-direction:column;gap:9px}#etas-chat-root .bubble{max-width:85%;align-self:flex-start;background:#fff;border:1px solid #e2e7ef;border-radius:12px 12px 4px 12px;padding:9px 13px;margin-bottom:9px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px}#etas-chat-root .bubble.customer{align-self:flex-end;margin-inline-start:auto;background:var(--widget-color);color:var(--widget-on);border-color:transparent;border-radius:12px 12px 12px 4px}#etas-chat-root .bubble time{display:block;font-size:11px;opacity:.65;margin-top:4px}#etas-chat-root .flow{display:flex;flex-direction:column;gap:7px;margin-top:9px}#etas-chat-root .flow button{background:#fff;color:var(--widget-color);border:1px solid var(--widget-color);text-align:right;padding:8px 12px;font-size:13px}
#etas-chat-root .product{display:flex;gap:10px;align-items:center;background:#edf3fb}#etas-chat-root .product img{width:52px;height:65px;object-fit:contain}#etas-chat-root .product a{color:#245f70;text-decoration:none;overflow-wrap:anywhere}
#etas-chat-root .chat-footer{padding:11px 12px;border-top:1px solid #e1e6ee;background:#fff;flex-shrink:0}#etas-chat-root .quick-tools{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}#etas-chat-root .quick-tools button{background:#fff;color:#65728c;border:1px solid #e1e6ee;border-radius:999px;font-size:12px;padding:2px 10px}#etas-chat-root .compose{display:flex;gap:7px;align-items:end}#etas-chat-root .compose textarea{flex:1;min-width:0;max-height:95px;resize:vertical}#etas-chat-root .send{min-height:37px}#etas-chat-root .end-conversation{margin-top:7px;background:#fff;color:#8a4556;border:1px solid #e5d9df;padding:3px 10px;font-size:12px}
#etas-chat-root input,#etas-chat-root textarea,#etas-chat-root select{padding:9px 12px;border:1px solid #dce3ef;border-radius:10px;width:100%;color:#243047;background:#fff}#etas-chat-root .contact-form{display:grid;gap:9px}#etas-chat-root .consent{display:flex;align-items:start;gap:7px;font-size:12px;color:#5c677d;margin-top:12px}#etas-chat-root .consent input{width:17px;height:17px;margin-top:3px;flex-shrink:0}#etas-chat-root .notice{font-size:12px;color:#725828;background:#fff;padding:7px 12px;flex-shrink:0}#etas-chat-root .notice:empty{display:none}
#etas-chat-root .completed-message{padding:13px;background:#f1e7ed;color:#874c62;border-radius:10px;font-weight:500}#etas-chat-root .rating-card{background:#fff;border:1px solid #e2e7ef;border-radius:12px;padding:16px;margin-top:16px;text-align:center}#etas-chat-root .rating{display:flex;justify-content:center;gap:3px;direction:ltr}#etas-chat-root .rating button{background:transparent;color:#9c7c31;font-size:32px;min-width:44px;min-height:44px;padding:0}#etas-chat-root .rating button.filled{color:#b67b00}
#etas-chat-root.floating .chat-window{position:absolute;top:50%;right:0;left:auto;transform:translateY(-50%);margin-bottom:0;z-index:1;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}#etas-chat-root.floating.on-left .chat-window{left:0;right:auto}
@media(max-width:450px){#etas-chat-root .chat-window{max-width:calc(100vw - 24px);max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px)}#etas-chat-root input,#etas-chat-root textarea,#etas-chat-root select{font-size:16px}}
