.modern-gradient-btn{transition:all .3s cubic-bezier(.175,.885,.32,1.275)}.modern-gradient-btn:hover:not(:disabled){transform:translateY(-2px) scale(1.02);box-shadow:0 8px 25px #2563eb66!important}.modern-gradient-btn:active:not(:disabled){transform:translateY(0) scale(.98)}.modern-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:modern-spin 1s ease-in-out infinite;display:inline-block}@keyframes modern-spin{to{transform:rotate(360deg)}}.chat-window{display:flex;flex-direction:column;height:600px;border:1px solid #E2E8F0;border-radius:16px;background:#fff;overflow:hidden;font-family:Inter,system-ui,sans-serif;box-shadow:0 4px 20px -2px #00000008}.chat-header{padding:16px 20px;border-bottom:1px solid #E2E8F0;background:#fff;display:flex;justify-content:space-between;align-items:center;z-index:10}.chat-header h3{margin:0;font-size:1.1rem;font-weight:700;color:#0b1121}.chat-messages{flex:1;overflow-y:auto;padding:20px;background-color:#f8fafc;display:flex;flex-direction:column;scroll-behavior:smooth}.chat-loading{display:flex;justify-content:center;align-items:center;height:100%}.date-divider{display:flex;justify-content:center;margin:20px 0}.date-divider span{background:#f1f5f9;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;color:#64748b;border:1px solid #E2E8F0}.message-row{display:flex;margin-bottom:12px;width:100%;animation:fadeIn .3s ease-in-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.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:16px;padding:10px 14px;box-shadow:0 2px 8px -2px #0000000d}.message-row.sent .message-bubble{background:#2563eb;color:#fff;border-bottom-right-radius:4px}.message-row.received .message-bubble{background:#fff;color:#1e293b;border:1px solid #E2E8F0;border-bottom-left-radius:4px}.message-row.system .message-bubble,.message-row.bot-message .message-bubble{background:#f1f5f9;color:#475569;border:1px solid #E2E8F0;align-self:flex-start;border-radius:12px;max-width:85%;margin:12px 0;font-size:13px;padding:8px 16px;text-align:left;box-shadow:none}.sender-name{font-weight:700;font-size:12px;color:#64748b;margin-bottom:4px}.message-row.sent .sender-name{color:#dbeafe}.message-content{font-size:14px;line-height:1.5;word-wrap:break-word}.message-content p{margin:0;padding-bottom:14px}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin-top:-14px;float:right;shape-outside:inset(calc(100% - 18px) 0 0 0)}.message-time{font-size:11px;font-weight:500}.message-row.sent .message-time{color:#fffc}.message-row.received .message-time{color:#94a3b8}.message-ticks{font-size:12px;line-height:1}.message-ticks.read{color:#60a5fa}.message-row.sent .message-ticks.read{color:#fff}.message-ticks.delivered{color:#cbd5e1}.message-row.sent .message-ticks.delivered{color:#fff9}.attachment-preview{margin-top:6px;margin-bottom:16px;border-radius:8px;overflow:hidden;max-width:100%;border:1px solid rgba(0,0,0,.05)}.attachment-preview img{max-width:100%;max-height:250px;object-fit:cover;display:block;cursor:pointer;transition:transform .2s}.attachment-preview img:hover{transform:scale(1.02)}.attachment-file{display:flex;align-items:center;gap:12px;padding:12px;background:#0000000a;border-radius:12px;margin-bottom:14px;margin-top:6px;border:1px solid rgba(0,0,0,.05)}.message-row.sent .attachment-file{background:#ffffff1a;border-color:#fff3}.message-row.sent .attachment-file .ant-btn{color:#fff!important}.typing-indicator{padding:8px 16px;color:#64748b;font-size:13px;font-weight:500;align-self:flex-start;background:#fff;border-radius:16px;margin-bottom:8px;border:1px solid #E2E8F0;display:inline-block;animation:pulse 1.5s infinite}@keyframes pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.chat-input-wrapper{padding:16px 20px;background:#fff;display:flex;gap:12px;align-items:center;border-top:1px solid #E2E8F0}.chat-input-wrapper .ant-upload-wrapper{display:flex;align-items:center}.chat-input-wrapper .ant-upload .ant-btn{width:44px;height:44px;border-radius:12px;background:#f1f5f9;border:none;display:flex;align-items:center;justify-content:center;transition:all .2s}.chat-input-wrapper .ant-upload .ant-btn:hover:not([disabled]){background:#e2e8f0;color:#2563eb}.chat-input-wrapper .ant-input{border-radius:12px;padding:12px 16px;border:1px solid #E2E8F0;box-shadow:none;font-size:15px;background:#f8fafc;transition:all .2s}.chat-input-wrapper .ant-input:focus,.chat-input-wrapper .ant-input:hover{border-color:#2563eb;background:#fff}.chat-input-wrapper>.ant-btn-primary{border-radius:12px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#2563eb;border:none;box-shadow:0 4px 12px #2563eb4d;transition:all .2s}.chat-input-wrapper>.ant-btn-primary:hover:not([disabled]){transform:translateY(-2px);box-shadow:0 6px 16px #2563eb66}.chat-input-wrapper>.ant-btn-primary:disabled{background:#cbd5e1;box-shadow:none}@media (max-width: 768px){.chat-window{height:calc(100vh - 200px);border-radius:12px}.message-bubble{max-width:90%}.chat-header{padding:12px 16px}.chat-messages{padding:16px 12px}.chat-input-wrapper{padding:12px;gap:8px}}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}
