.tekup-widget-container{position:fixed;bottom:20px;z-index:999999;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}.tekup-chat-button{width:60px;height:60px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px #0003;transition:transform .2s,box-shadow .2s;position:relative}.tekup-chat-button:hover{transform:scale(1.1);box-shadow:0 6px 24px #00000040}.tekup-chat-button:active{transform:scale(.95)}.tekup-chat-window{width:380px;height:600px;max-height:calc(100vh - 100px);max-width:calc(100vw - 40px);background:#fff;border-radius:16px;box-shadow:0 8px 40px #00000026;display:flex;flex-direction:column;overflow:hidden;animation:tekup-slideUp .3s ease-out}@keyframes tekup-slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.tekup-chat-header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;color:#fff;flex-shrink:0}.tekup-chat-header-info{display:flex;align-items:center;gap:12px}.tekup-chat-avatar{width:36px;height:36px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center}.tekup-chat-title{font-weight:600;font-size:15px}.tekup-chat-subtitle{font-size:12px;opacity:.85}.tekup-chat-close{background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;opacity:.8;transition:opacity .2s}.tekup-chat-close:hover{opacity:1}.tekup-chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#f8fafc}.tekup-message{max-width:85%;padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.5;animation:tekup-fadeIn .2s ease-out;white-space:pre-wrap;word-wrap:break-word}@keyframes tekup-fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.tekup-message-user{align-self:flex-end;background:var(--tekup-primary, #2563eb);color:#fff;border-bottom-right-radius:4px}.tekup-message-assistant{align-self:flex-start;background:#fff;color:#1e293b;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.tekup-message-content{word-wrap:break-word}.tekup-typing-indicator{display:flex;gap:4px;padding:4px 0}.tekup-typing-indicator span{width:8px;height:8px;border-radius:50%;background:#94a3b8;animation:tekup-bounce 1.4s infinite ease-in-out}.tekup-typing-indicator span:nth-child(1){animation-delay:0s}.tekup-typing-indicator span:nth-child(2){animation-delay:.2s}.tekup-typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes tekup-bounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}.tekup-sources-bar{border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.tekup-sources-toggle{width:100%;padding:8px 16px;background:none;border:none;cursor:pointer;font-size:12px;color:#64748b;text-align:left}.tekup-sources-toggle:hover{background:#f1f5f9}.tekup-sources-list{padding:0 16px 8px;display:flex;flex-direction:column;gap:4px}.tekup-source-item{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;border-radius:6px;text-decoration:none;font-size:12px;background:#f8fafc}.tekup-source-item:hover{background:#f1f5f9}.tekup-source-title{color:var(--tekup-primary, #2563eb);font-weight:500}.tekup-source-url{color:#94a3b8;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:150px;white-space:nowrap}.tekup-chat-input-area{display:flex;padding:12px 16px;gap:8px;border-top:1px solid #e2e8f0;background:#fff;flex-shrink:0}.tekup-chat-input{flex:1;padding:10px 16px;border:1px solid #e2e8f0;border-radius:24px;font-size:14px;outline:none;transition:border-color .2s;font-family:inherit}.tekup-chat-input:focus{border-color:var(--tekup-primary, #2563eb);box-shadow:0 0 0 2px var(--tekup-primary-light, rgba(37, 99, 235, .1))}.tekup-chat-input:disabled{background:#f1f5f9;cursor:not-allowed}.tekup-send-button{width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:opacity .2s,transform .2s}.tekup-send-button:hover:not(:disabled){opacity:.9;transform:scale(1.05)}.tekup-send-button:disabled{opacity:.4;cursor:not-allowed}.tekup-send-button:active:not(:disabled){transform:scale(.95)}.tekup-chat-messages::-webkit-scrollbar{width:4px}.tekup-chat-messages::-webkit-scrollbar-track{background:transparent}.tekup-chat-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.tekup-chat-messages::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 480px){.tekup-chat-window{width:calc(100vw - 20px);height:calc(100vh - 80px);max-height:calc(100vh - 80px);border-radius:12px}}
