@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans:wght@400;500;600;700&display=swap";*{margin:0;padding:0;box-sizing:border-box}html{font-family:Inter,system-ui,sans-serif}body{background:#f9fafb;color:#111827;font-family:Inter,system-ui,sans-serif;min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#ffffff1a;border-radius:9999px}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#ec4899,#8b5cf6);border-radius:9999px;-webkit-transition:all .3s ease;transition:all .3s ease}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#db2777,#7c3aed);transform:scale(1.1)}.glass-effect{background:#ffffff40;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.18)}.glass-card{background:#ffffff26;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px #0000001a;margin-top:8px}.gradient-text{background:linear-gradient(135deg,#ec4899,#8b5cf6,#3b82f6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.shadow-glow{box-shadow:0 0 20px #ec48994d}.shadow-glow-purple{box-shadow:0 0 20px #8b5cf64d}.layout-container{min-height:100vh;width:100vw;overflow:hidden;display:flex;flex-direction:column}.header{background:#0e0217;border-bottom:1px solid #E5E7EB;padding:0 24px;height:64px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;z-index:10}.main-content{flex:1;display:flex;overflow:hidden;padding:8px;border:1px solid #E5E7EB;border-radius:4px}.sidebar{background:#0b61cb;width:280px;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid #E5E7EB}.bg-headerbar{background:linear-gradient(135deg,#1e293b,#334155,#475569);border-bottom:1px solid rgba(148,163,184,.2)}.bg-sidebar{background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-right:1px solid #e2e8f0;min-height:100vh;height:100%;gap:10px}.header-menu-item{background:#ffffff1a;border:1px solid rgba(255,255,255,.15);min-width:150px;align-items:center;justify-content:center;margin:4px;padding:4px 10px;border-radius:4px;font-size:14px;font-weight:500;color:#e2e8f0;transition:all .3s ease}.header-menu-item:hover{background:#fff3;color:#fff}.header-menu-item.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;box-shadow:0 4px 20px #3b82f64d}.sidebar-menu-item{color:#64748b;background:transparent;margin:4px}.sidebar-menu-item:hover{background:#3b82f614;color:#3b82f6}.sidebar-menu-item.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff;box-shadow:0 2px 8px #3b82f633}.user-profile-section{background:#ffffff26;border:1px solid rgba(255,255,255,.2)}.user-profile-section:hover{background:#ffffff40}.content-area{flex:1;display:flex;overflow:hidden}.conversation-pane{width:400px;background:#fff;border-right:1px solid #E5E7EB;display:flex;flex-direction:column;flex-shrink:0}.chat-pane{flex:1;background:#fff;display:flex;flex-direction:column;height:100%}.brand-logo{width:40px;height:40px;background:linear-gradient(135deg,#00b8a9,#089b8e);border-radius:8px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #00b8a94d}.brand-title{font-size:18px;font-weight:600;color:#fff;margin-left:12px}.brand-subtitle{font-size:12px;color:#9ca3af;margin-left:12px}.channel-status{display:flex;align-items:center;gap:16px}.channel-item{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f9fafb;border-radius:6px;font-size:12px;font-weight:500;color:#374151}.status-dot{width:6px;height:6px;border-radius:50%;background:#10b981}.sidebar-header{padding:20px;border-bottom:1px solid #374151}.sidebar-search{width:100%;padding:10px 12px;background:#527cc6;border:1px solid #4B5563;border-radius:6px;color:#483b3b;font-size:14px}.sidebar-search::-moz-placeholder{color:#527cc6}.sidebar-search::placeholder{color:#527cc6}.sidebar-menu{flex:1;padding:16px 0}.menu-item{display:flex;align-items:center;gap:12px;padding:12px 20px;color:#d1d5db;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.menu-item:hover{background:#374151;color:#fff}.menu-item.active{background:#f36fa3;color:#fff}.menu-item.active:hover{background:#e85c94}.conversation-header{padding:20px;border-bottom:1px solid #E5E7EB;background:#fff}.conversation-title{font-size:20px;font-weight:700;color:#111827;margin-bottom:16px;display:flex;align-items:center;gap:8px}.unread-badge{background:#ef4444;color:#fff;border-radius:50%;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.search-input{width:100%;border:0px solid #E5E7EB;border-radius:4px;font-size:14px;margin-bottom:12px;background:#fff}.search-input:focus{outline:none;border-color:#f36fa3;box-shadow:0 0 0 3px #f36fa31a}.filter-container{display:flex;gap:8px}.filter-select{flex:1;padding:1px;border:0px solid #E5E7EB;border-radius:6px;font-size:12px;background:#fff}.conversation-list{flex:1;overflow-y:auto;padding:8px}.conversation-item{padding:16px;border-radius:8px;cursor:pointer;transition:all .2s;margin-bottom:4px;position:relative}.conversation-item:hover{background:#f9fafb}.conversation-item.active{background:#fef2f2;border-left:3px solid #F36FA3}.conversation-avatar{width:48px;height:48px;border-radius:50%;border:2px solid white;box-shadow:0 2px 8px #0000001a}.channel-icon{position:absolute;bottom:2px;right:2px;width:16px;height:16px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #0000001a}.vip-badge{position:absolute;top:2px;right:2px;width:16px;height:16px;color:#f6c44e}.conversation-content{flex:1;min-width:0}.conversation-name{font-size:14px;font-weight:600;margin-bottom:4px;display:flex;align-items:center;justify-content:space-between}.conversation-time{font-size:12px;color:#6b7280;font-weight:400}.conversation-message{font-size:13px;color:#6b7280;margin-bottom:8px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-tags{display:flex;align-items:center;gap:6px;justify-content:space-between}.tag{padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500;border:none}.tag-status-open{background:#00b8a9;color:#fff}.tag-status-pending{background:#f59e0b;color:#fff}.tag-status-resolved{background:#10b981;color:#fff}.tag-custom{background:#3b82f6;color:#fff;font-size:11px;border-radius:12px}.chat-header{padding:16px 20px;border-bottom:1px solid #E5E7EB;background:#fff;display:flex;align-items:center;justify-content:space-between}.chat-contact-info{display:flex;align-items:center;gap:12px}.chat-contact-avatar{width:40px;height:40px;border-radius:50%}.chat-contact-details h3{font-size:16px;font-weight:600;color:#111827;margin-bottom:2px}.chat-contact-status{font-size:12px;color:#10b981;font-weight:500}.chat-actions{display:flex;align-items:center;gap:8px}.chat-action-btn{width:32px;height:32px;border-radius:6px;border:1px solid #E5E7EB;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.chat-action-btn:hover{background:#f9fafb;border-color:#d1d5db}.chat-messages{flex:1;padding:20px;overflow-y:auto;background:#f9fafb}.message{margin-bottom:16px;display:flex;align-items:flex-end;gap:8px}.message.customer{flex-direction:row-reverse}.message-avatar{width:32px;height:32px;border-radius:50%;flex-shrink:0}.message-bubble{background:#e5e7eb;max-width:280px;padding:12px 16px;border-radius:18px;font-size:14px;line-height:1.4;position:relative}.message-bubble.customer{background:#fff;border:1px solid #E5E7EB;color:#111827;border-bottom-right-radius:4px}.message-bubble.agent{background:#f36fa3;color:#fff;border-bottom-left-radius:4px}.message-bubble.bot{background:#00b8a9;color:#fff;border-bottom-left-radius:4px}.message-time{font-size:11px;color:#9ca3af;margin-top:4px;text-align:right}.message.customer .message-time{text-align:left}.message-composer{padding:16px 20px;border-top:1px solid #E5E7EB;background:#fff}.composer-input{width:100%;padding:12px 16px;border:1px solid #E5E7EB;border-radius:20px;font-size:14px;margin-bottom:12px;background:#fff}.composer-input:focus{outline:none;border-color:#f36fa3}.composer-actions{display:flex;align-items:center;justify-content:space-between}.composer-buttons{display:flex;align-items:center;gap:8px}.composer-btn{width:32px;height:32px;border-radius:50%;border:1px solid #E5E7EB;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.composer-btn:hover{background:#f9fafb}.composer-btn.send{background:#f36fa3;border-color:#f36fa3;color:#fff}.composer-btn.send:hover{background:#e85c94}.quick-replies{display:flex;gap:8px;margin-top:12px}.quick-reply-btn{padding:6px 12px;border:1px solid #E5E7EB;border-radius:16px;background:#fff;font-size:12px;color:#374151;cursor:pointer;transition:all .2s}.quick-reply-btn:hover{background:#f9fafb;border-color:#d1d5db}.profile-panel{width:320px;background:#fff;border-left:1px solid #E5E7EB;display:flex;flex-direction:column;flex-shrink:0;height:100%}.profile-header{padding:20px;border-bottom:1px solid #E5E7EB;text-align:center}.profile-avatar{width:80px;height:80px;border-radius:50%;margin:0 auto 16px;border:3px solid white;box-shadow:0 4px 12px #0000001a}.profile-name{font-size:18px;font-weight:600;color:#111827;margin-bottom:4px}.profile-status{font-size:12px;color:#10b981;font-weight:500;margin-bottom:16px}.profile-info{padding:0 20px 20px;border-bottom:1px solid #E5E7EB}.info-item{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px;color:#374151}.info-label{font-weight:500;min-width:80px}.info-value{color:#111827}.loginform{min-width:480px}.profile-tags{display:flex;gap:6px;margin-top:12px}.profile-tabs{display:flex;border:1px solid #E5E7EB;border-radius:4px}.profile-tab{flex:1;padding:12px 16px;text-align:center;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;border:2px solid transparent;transition:all .2s}.profile-tab.active{color:#f36fa3;border-bottom-color:#f36fa3}.profile-content{flex:1;padding:20px;overflow-y:auto}.profile-panel .flex.items-center.justify-center.h-full,.chat-pane .flex.items-center.justify-center.h-full{min-height:400px}.summary-cards{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.summary-card{padding:16px;border:1px solid #E5E7EB;border-radius:8px;background:#fff}.summary-card h4{font-size:14px;font-weight:600;color:#111827;margin-bottom:4px}.summary-card p{font-size:24px;font-weight:700;color:#f36fa3}.activity-section h3{font-size:16px;font-weight:600;color:#111827;margin-bottom:12px}.activity-item{padding:12px 0;border-bottom:1px solid #F3F4F6}.activity-item:last-child{border-bottom:none}.activity-text{font-size:14px;color:#374151;margin-bottom:4px;line-height:1.4}.activity-time{font-size:12px;color:#9ca3af}.flex{display:flex}.flex-col{flex-direction:column}.flex-1{flex:1}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.space-x-2>*+*{margin-left:8px}.space-x-3>*+*{margin-left:12px}.space-x-4>*+*{margin-left:16px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.p-2{padding:8px}.p-4{padding:16px}.p-6{padding:24px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.px-4{padding-left:16px;padding-right:16px}.py-1{padding-top:4px;padding-bottom:4px}.py-2{padding-top:8px;padding-bottom:8px}.py-3{padding-top:12px;padding-bottom:12px}.text-xs{font-size:12px}.text-sm{font-size:14px}.text-lg{font-size:18px}.text-xl{font-size:20px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-white{color:#fff}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-900{color:#111827}.text-blue-900{color:#0e47c0}.bg-white{background:#fff}.bg-transparent{background:transparent}.border{border:1px solid}.border-0{border:0}.rounded{border-radius:4px}.rounded-lg{border-radius:8px}.rounded-xl{border-radius:12px}.rounded-2xl{border-radius:16px}.rounded-full{border-radius:9999px}.shadow{box-shadow:0 1px 3px #0000001a}.shadow-sm{box-shadow:0 1px 2px #0000000d}.shadow-lg{box-shadow:0 10px 15px #0000001a}.shadow-xl{box-shadow:0 20px 25px #0000001a}.cursor-pointer{cursor:pointer}.transition-all{transition:all .3s}.transition-colors{transition:color .3s,background-color .3s,border-color .3s}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative{position:relative}.absolute{position:absolute}.hidden{display:none}.block{display:block}.inline-flex{display:inline-flex}.w-full{width:100%}.h-full{height:100%}.min-w-0{min-width:0}.max-w-xs{max-width:320px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}@media (max-width: 1200px){.conversation-pane{width:350px}.profile-panel{width:280px}}@media (max-width: 768px){.sidebar{width:240px}.conversation-pane{width:300px}.profile-panel{width:260px}}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.animate-fade-in{animation:fadeIn .3s ease-out}.animate-slide-in{animation:slideIn .3s ease-out}.animate-scale-in{animation:scaleIn .3s ease-out}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:grab}.react-flow__node.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}
