.chat-window{display:flex;flex-direction:column;height:100%;border:1px solid #e8e8e8;border-radius:8px;background:#fff;overflow:hidden}.chat-header{padding:16px;border-bottom:1px solid #e8e8e8;background:#f0f2f5;display:flex;justify-content:space-between;align-items:center;z-index:10}.chat-header h3{margin:0;font-size:16px;font-weight:600}.chat-messages{flex:1;overflow-y:auto;padding:16px;background-color:#efeae2;background-image:url(https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png);background-repeat:repeat;background-blend-mode:overlay;display:flex;flex-direction:column}.chat-loading{display:flex;justify-content:center;align-items:center;height:100%}.date-divider{display:flex;justify-content:center;margin:16px 0}.date-divider span{background:#ffffffe6;padding:5px 12px;border-radius:16px;font-size:12px;color:#555;box-shadow:0 1px 1px #0000000d}.message-row{display:flex;margin-bottom:8px;width:100%}.message-row.sent{justify-content:flex-end}.message-row.received{justify-content:flex-start}.message-bubble{text-align:left;max-width:75%;position:relative;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 1px 1px #0000001a;padding:6px 8px;margin:2px 0}.message-row.sent .message-bubble{background:#dcf8c6;border-top-right-radius:0}.message-row.received .message-bubble{background:#fff;border-top-left-radius:0}.message-row.system .message-bubble,.message-row.bot-message .message-bubble{background:#f0f5ff;border:1px solid #adc6ff;align-self:center;border-radius:8px;max-width:90%;margin:8px auto}.message-row.received .message-bubble:before{content:"";position:absolute;top:0;left:-8px;width:0;height:0;border-top:8px solid #ffffff;border-left:8px solid transparent}.message-row.sent .message-bubble:after{content:"";position:absolute;top:0;right:-8px;width:0;height:0;border-top:8px solid #dcf8c6;border-right:8px solid transparent}.message-row.system .message-bubble:before,.message-row.bot-message .message-bubble:before,.message-row.system .message-bubble:after,.message-row.bot-message .message-bubble:after{display:none}.sender-name{font-weight:600;font-size:13px;color:#128c7e;margin-bottom:2px}.message-content{font-size:14px;line-height:1.4;color:#303030;word-wrap:break-word}.message-content p{margin:0;padding-bottom:12px}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:-12px;float:right;shape-outside:inset(calc(100% - 16px) 0 0 0)}.message-time{font-size:11px;color:#00000073}.message-ticks{font-size:14px;line-height:1}.message-ticks.read{color:#53bdeb}.message-ticks.delivered{color:#999}.attachment-preview{margin-top:4px;margin-bottom:16px;border-radius:6px;overflow:hidden;max-width:100%}.attachment-preview img{max-width:100%;max-height:250px;object-fit:contain;display:block;cursor:pointer}.attachment-file{display:flex;align-items:center;gap:12px;padding:10px;background:#0000000d;border-radius:6px;margin-bottom:12px;margin-top:4px}.typing-indicator{padding:8px 16px;color:#666;font-style:italic;font-size:13px;align-self:flex-start;background:#fffc;border-radius:16px;margin-bottom:8px}.chat-input-wrapper{padding:10px 16px;background:#f0f2f5;display:flex;gap:8px;align-items:center}.chat-input-wrapper .ant-input{border-radius:20px;padding:8px 16px;border:none;box-shadow:none}.chat-input-wrapper .ant-btn{border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 768px){.chat-window{height:calc(100vh - 120px)}.message-bubble{max-width:85%}}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
