.smdpcb-chat{--chat-blue:#0785c1;--chat-navy:#082f52;--chat-line:#d8e5ee;--chat-bg:#f5f9fc;font-family:inherit;direction:rtl;box-sizing:border-box;z-index:99998}.smdpcb-chat *{box-sizing:border-box}.smdpcb-chat--floating{position:fixed;bottom:22px}.smdpcb-chat--left{left:22px}.smdpcb-chat--right{right:22px}.smdpcb-chat__launcher{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 17px;border:0;border-radius:14px;background:var(--chat-blue);color:#fff;font:inherit;box-shadow:0 12px 30px rgba(5,57,92,.2);cursor:pointer}.smdpcb-chat__launcher span{font-size:20px}.smdpcb-chat__launcher b{font-size:14px}.smdpcb-chat__badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#ef4444;color:#fff;font-size:11px;font-style:normal}.smdpcb-chat__panel{width:min(370px,calc(100vw - 32px));height:min(560px,calc(100vh - 110px));margin-bottom:10px;border:1px solid var(--chat-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 20px 55px rgba(5,40,65,.22)}.smdpcb-chat__panel[hidden]{display:none}.smdpcb-chat__panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px;background:linear-gradient(135deg,var(--chat-navy),#075987);color:#fff}.smdpcb-chat__panel>header div{display:grid;gap:3px}.smdpcb-chat__panel>header strong{font-size:15px}.smdpcb-chat__panel>header small{font-size:11px;opacity:.78}.smdpcb-chat__close{width:32px;height:32px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;font-size:24px;line-height:1;cursor:pointer}.smdpcb-chat__messages{height:calc(100% - 235px);min-height:190px;padding:16px;overflow:auto;background:var(--chat-bg);scroll-behavior:smooth}.smdpcb-chat__message{display:flex;margin:0 0 10px}.smdpcb-chat__message p{max-width:86%;margin:0;padding:10px 12px;border-radius:13px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85}.smdpcb-chat__message.is-admin{justify-content:flex-start}.smdpcb-chat__message.is-admin p{border:1px solid var(--chat-line);border-bottom-right-radius:4px;background:#fff;color:#18364d}.smdpcb-chat__message.is-customer{justify-content:flex-end}.smdpcb-chat__message.is-customer p{border-bottom-left-radius:4px;background:var(--chat-blue);color:#fff}.smdpcb-chat__identity{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px 0;background:#fff}.smdpcb-chat__identity input,.smdpcb-chat__form textarea{width:100%;border:1px solid var(--chat-line);border-radius:10px;background:#fff;color:#17334a;font:inherit;font-size:12px;outline:none}.smdpcb-chat__identity input{height:36px;padding:0 10px}.smdpcb-chat__identity input:focus,.smdpcb-chat__form textarea:focus{border-color:var(--chat-blue);box-shadow:0 0 0 3px rgba(7,133,193,.1)}.smdpcb-chat__form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:8px 12px 4px;background:#fff}.smdpcb-chat__form textarea{min-height:50px;max-height:100px;padding:9px 10px;resize:vertical}.smdpcb-chat__form button{min-width:62px;border:0;border-radius:10px;background:var(--chat-blue);color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.smdpcb-chat__form button:disabled{cursor:wait;opacity:.6}.smdpcb-chat__status{min-height:22px;margin:0;padding:1px 13px 7px;background:#fff;color:#637b8d;font-size:11px}.smdpcb-chat__status.is-error{color:#b42318}.smdpcb-chat__status.is-success{color:#087a5a}.smdpcb-chat--inline{position:relative;width:100%;z-index:auto}.smdpcb-chat--inline .smdpcb-chat__panel{width:100%;height:580px;max-width:none;margin:0;box-shadow:0 12px 35px rgba(5,40,65,.09)}.smdpcb-chat--inline .smdpcb-chat__messages{height:calc(100% - 235px)}@media(max-width:600px){.smdpcb-chat--floating{right:12px!important;left:12px!important;bottom:12px}.smdpcb-chat--floating .smdpcb-chat__panel{width:100%;height:min(600px,calc(100vh - 86px))}.smdpcb-chat__launcher{margin-inline-start:auto}.smdpcb-chat__identity{grid-template-columns:1fr}.smdpcb-chat__messages{height:calc(100% - 273px)}}
