.login-container{display:flex;min-height:100vh;background:#eef0ff}.login-form-wrapper{width:100%}@media (min-width: 1024px){.login-form-wrapper{width:45%}}.login-form-wrapper{padding:3rem 4rem;display:flex;flex-direction:column;justify-content:center;background:#fff}.login-form-inner{max-width:380px;margin:0 auto;width:100%}.brand-header{display:flex;align-items:center;justify-content:start;gap:.75rem;margin-bottom:1.5rem}.brand-name{font-size:1.75rem;font-weight:700;color:#1f2937;letter-spacing:-.5px}.welcome-title{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:.25rem}.welcome-subtitle{color:#6b7280;font-size:.9rem;margin-bottom:1.5rem}.error-message{color:#ef4444;font-size:.875rem;padding:.6rem 1rem;background:#fee2e2;border-radius:.75rem;border:1px solid #fecaca;margin-bottom:1rem}.google-btn{width:100%;padding:.7rem 1rem;background:#fff;border:1.5px solid #DDE3FF;box-shadow:-3px 4px 7px #c7d2fe;border-radius:.75rem;display:flex;align-items:center;justify-content:center;gap:.75rem;color:#1f2937;font-weight:500;font-size:.9rem;cursor:pointer;transition:all .3s ease;margin-bottom:1rem}.google-btn:hover{background:#f1f3ff;border-color:#5865f2;transform:translateY(-1px);box-shadow:0 2px 8px #5865f21a}.google-btn:active{transform:scale(.98)}.google-icon{width:1.1rem;height:1.1rem;flex-shrink:0}.divider{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.divider:before,.divider:after{content:"";flex:1;height:1px;background:#dde3ff}.divider span{color:#9ca3af;font-size:.75rem;white-space:nowrap;font-weight:500;letter-spacing:.5px}.auth-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.8rem;font-weight:500;color:#1f2937}.form-group input{padding:.6rem .85rem;background:#fff;border:1.5px solid #DDE3FF;border-radius:.6rem;color:#1f2937;font-size:.9rem;transition:all .3s ease}.form-group input:focus{outline:none;border-color:#5865f2;box-shadow:0 0 0 3px #5865f21a}.form-group input::placeholder{color:#9ca3af;font-size:.85rem}.form-group input.input-error{border-color:#ef4444}.form-group input.input-error:focus{box-shadow:0 0 0 3px #ef44441a}.field-error{color:#ef4444;font-size:.75rem;margin-top:.15rem}.form-options{display:flex;align-items:center;justify-content:space-between;margin:.15rem 0}.checkbox-label{display:flex;align-items:center;gap:.4rem;color:#6b7280;font-size:.85rem;cursor:pointer}.checkbox-label input[type=checkbox]{width:.9rem;height:.9rem;accent-color:#5865F2;cursor:pointer;border-radius:.2rem}.checkbox-label input[type=checkbox]:focus{outline:2px solid rgba(88,101,242,.3);outline-offset:2px}.checkbox-label:hover{color:#1f2937}.forgot-password{background:none;border:none;color:#5865f2;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .3s ease}.forgot-password:hover{color:#4752c4}.submit-btn{width:100%;padding:.7rem 1rem;background:#1f2937;color:#fff;font-weight:600;font-size:.9rem;border:none;border-radius:.6rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.4rem;margin-top:.25rem}.submit-btn .arrow-icon{width:1rem;height:1rem;transition:transform .3s ease}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 16px #5865f24d}.submit-btn:hover:not(:disabled) .arrow-icon{transform:translate(4px)}.submit-btn:active:not(:disabled){transform:translateY(0)}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.toggle-form{text-align:center;font-size:.85rem;color:#6b7280;margin-top:.25rem}.toggle-form button{background:none;border:none;color:#5865f2;font-weight:600;cursor:pointer;transition:all .3s ease}.toggle-form button:hover{color:#4752c4}.hero-section{display:none}@media (min-width: 1024px){.hero-section{display:flex;width:55%;padding:3rem;flex-direction:column;justify-content:center;align-items:center;background:linear-gradient(135deg,#5865f2,#2939ee);position:relative;overflow:hidden}}.hero-pattern{position:absolute;inset:0;opacity:.1}.hero-pattern .circle{position:absolute;border:4px solid white;border-radius:50%;animation:float 6s ease-in-out infinite}.hero-pattern .circle-1{top:2.5rem;left:2.5rem;width:8rem;height:8rem;animation-delay:0s}.hero-pattern .circle-2{bottom:5rem;right:5rem;width:6rem;height:6rem;animation-delay:1.5s}.hero-pattern .circle-3{top:50%;left:25%;width:4rem;height:4rem;animation-delay:3s}.hero-pattern .circle-4{bottom:33%;left:50%;width:5rem;height:5rem;animation-delay:4.5s}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(5deg)}}.chat-bubbles{margin-bottom:2.5rem;position:relative;width:100%;display:flex;flex-direction:column;align-items:center}.bubble-large{width:14rem;height:8rem;margin:0 auto 1.25rem;background:#ffffff26;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:2rem 2rem 2rem .5rem;padding:1.25rem;transform:rotate(-2deg);display:flex;flex-direction:column;gap:.6rem;animation:floatBubble 4s ease-in-out infinite}.bubble-large .bubble-line{height:.6rem;background:#ffffff4d;border-radius:.5rem;width:100%;animation:shimmer 3s ease-in-out infinite}.bubble-large .bubble-line.short{width:50%}@keyframes floatBubble{0%,to{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(2deg) translateY(-10px)}}.bubble-small-group{display:flex;justify-content:center;gap:.75rem;width:100%;max-width:18rem}.bubble-small{width:7rem;height:4.5rem;background:#ffffff1f;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:1.5rem 1.5rem .5rem;padding:.85rem;display:flex;flex-direction:column;gap:.4rem}.bubble-small-1{animation:floatBubbleSmall 5s ease-in-out infinite .5s;transform-origin:bottom left}.bubble-small-2{animation:floatBubbleSmall 5s ease-in-out infinite 1.5s;transform-origin:bottom right}.bubble-small .bubble-line{height:.4rem;background:#ffffff4d;border-radius:.5rem;width:100%;animation:shimmer 3s ease-in-out infinite}.bubble-small .bubble-line.short{width:50%}.bubble-small .bubble-line.medium{width:75%}@keyframes floatBubbleSmall{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(3deg)}}@keyframes shimmer{0%,to{opacity:.3}50%{opacity:.6}}.floating-dots{position:absolute;inset:0;pointer-events:none}.floating-dots .dot{position:absolute;background:#fff;border-radius:50%;animation:pulse 2s ease-in-out infinite}.floating-dots .dot-1{top:-1.5rem;right:20%;width:.6rem;height:.6rem;animation-delay:0s}.floating-dots .dot-2{top:40%;right:-2rem;width:.4rem;height:.4rem;animation-delay:.5s}.floating-dots .dot-3{bottom:-1rem;left:20%;width:.5rem;height:.5rem;animation-delay:1s}@keyframes pulse{0%,to{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(1.3)}}.hero-content{max-width:440px;text-align:center;color:#fff;position:relative;z-index:1}.hero-content h2{font-size:2.25rem;font-weight:700;margin-bottom:.75rem;letter-spacing:-.5px;line-height:1.2}.hero-content p{font-size:1rem;color:#ffffffe6;line-height:1.6;margin-bottom:2.5rem}.stats{display:flex;justify-content:center;align-items:center;gap:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.15)}.stats .stat-item{text-align:center}.stats .stat-item .stat-number{font-size:1.75rem;font-weight:700;margin-bottom:.2rem}.stats .stat-item .stat-label{font-size:.8rem;color:#ffffffb3}.stats .stat-divider{width:1px;height:2.5rem;background:#fff3}@media (max-width: 1024px){.login-form-wrapper{padding:2.5rem}.login-form-inner{max-width:340px}}@media (max-width: 768px){.login-form-wrapper{padding:2rem;width:100%}.login-form-inner{max-width:100%}.welcome-title,.brand-name{font-size:1.5rem}}@media (max-width: 480px){.login-form-wrapper{padding:1.5rem}.brand-header{margin-bottom:1.25rem}.welcome-title{font-size:1.25rem}.welcome-subtitle{font-size:.85rem}.google-btn{padding:.6rem .85rem;font-size:.85rem}.form-group input{padding:.55rem .7rem;font-size:.85rem}.submit-btn{padding:.65rem;font-size:.85rem}}.chat-list-container{position:relative;width:100%;height:100%;display:flex;flex-direction:column;background:#fff;padding:20px 16px 0;box-sizing:border-box}.search-wrapper{position:relative;display:flex;align-items:center;background:#e2e5ec;border-radius:999px;padding:0 14px;margin-bottom:16px}.search-wrapper .search-icon{color:#9ca3af;flex-shrink:0}.search-wrapper .search-input{flex:1;border:none;background:transparent;outline:none;padding:11px 10px;font-size:14px;color:#1f2937}.search-wrapper .search-input::placeholder{color:#9ca3af}.search-wrapper .filter-icon-btn{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#6b7280;cursor:pointer;padding:4px;flex-shrink:0}.search-wrapper .filter-icon-btn:hover{color:#5865f2}.chat-tabs{display:flex;align-items:center;gap:6px;margin-bottom:14px}.chat-tab{border:none;background:transparent;color:#6b7280;font-size:13.5px;font-weight:500;padding:7px 14px;border-radius:999px;cursor:pointer;transition:background .15s ease,color .15s ease;white-space:nowrap}.chat-tab:hover{color:#1f2937}.chat-tab.active{background:#5865f2;color:#fff;font-weight:600}.chat-list-body{flex:1;overflow-y:auto;padding-bottom:90px}.empty-state{text-align:center;color:#9ca3af;font-size:13px;padding:24px 0}.chat-items{display:flex;flex-direction:column}.chat-item{position:relative;display:flex;align-items:flex-start;gap:12px;padding:14px 6px;border-bottom:1px solid #F1F1F4;cursor:pointer;transition:background .15s ease}.chat-item:hover{background:#f7f8fc}.chat-item:hover .ellipsis-button{opacity:1}.chat-item.active{background:#eef0ff}.avatar{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:600;background:#5865f2}.avatar.bot-avatar{background:linear-gradient(135deg,#6366f1,#4f46e5)}.chat-info{flex:1;min-width:0}.chat-info .chat-title{margin:0 0 3px;font-size:14.5px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-info .chat-preview{margin:0;font-size:13px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-meta{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:8px;padding-top:2px}.chat-meta .chat-time{font-size:12px;color:#9ca3af;white-space:nowrap}.chat-meta .unread-badge{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#5865f2;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}.ellipsis-button{position:absolute;top:10px;right:6px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;border:none;background:#fff;color:#6b7280;box-shadow:0 1px 4px #0000001f;opacity:0;cursor:pointer;transition:opacity .15s ease}.ellipsis-button:hover{color:#5865f2}.archived-row{display:flex;align-items:center;gap:8px;width:100%;background:transparent;border:none;padding:16px 6px;color:#9ca3af;font-size:13px;cursor:pointer}.archived-row:hover{color:#6b7280}.new-chat-fab{position:absolute;right:20px;bottom:20px;width:52px;height:52px;border-radius:50%;border:none;background:#5865f2;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 16px #c7d2fe;transition:background .15s ease,transform .15s ease}.new-chat-fab:hover{background:#4752c4;transform:translateY(-1px)}.my-profile{flex:1;display:flex;flex-direction:column;background:#f7f8fc;height:100vh;box-sizing:border-box}.my-profile-scroll{flex:1;overflow-y:auto}.my-profile-inner{max-width:640px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:16px}.profile-card{background:#fff;border:1px solid #DDE3FF;border-radius:16px}.avatar-card{padding:32px;display:flex;justify-content:center}.avatar-wrapper{position:relative}.avatar-circle{width:128px;height:128px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#5865f2);color:#fff;font-size:40px;font-weight:700}.avatar-camera-btn{position:absolute;bottom:8px;right:8px;width:40px;height:40px;border-radius:50%;border:none;background:#5865f2;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 16px #c7d2fe;transition:background .15s ease}.avatar-camera-btn:hover{background:#4752c4}.fields-card{overflow:hidden}.profile-field{padding:20px;border-bottom:1px solid #DDE3FF}.profile-field.last{border-bottom:none}.field-row{display:flex;align-items:flex-start;gap:16px}.field-icon{margin-top:2px;color:#6b7280;flex-shrink:0}.field-content{flex:1;min-width:0}.field-label{display:block;font-size:12px;color:#9ca3af;margin-bottom:4px}.field-value{margin:0;font-size:15px;color:#1f2937}.field-edit-btn{width:32px;height:32px;border-radius:8px;border:none;background:transparent;cursor:pointer;transition:background .15s ease}.field-edit-btn:hover{background:#f1f3ff}.field-editing .field-label{margin-bottom:8px}.field-input,.field-textarea{width:100%;background:transparent;border:none;padding:0;font-size:15px;color:#1f2937;outline:none;font-family:inherit}.field-textarea{resize:none}.username-input-row{display:flex;align-items:center}.username-input-row .username-at{color:#9ca3af;margin-right:2px}.username-input-row .field-input{flex:1}.field-hint{margin:8px 0 0;font-size:12px;color:#9ca3af}.field-actions{display:flex;gap:8px;margin-top:12px}.save-btn{display:flex;align-items:center;justify-content:center;padding:8px;border:none;border-radius:8px;background:#5865f2;color:#fff;cursor:pointer;transition:background .15s ease}.save-btn:hover{background:#4752c4}.cancel-btn{display:flex;align-items:center;justify-content:center;padding:8px;border:none;border-radius:8px;background:#f1f3ff;color:#6b7280;cursor:pointer;transition:background .15s ease}.cancel-btn:hover{background:#dde3ff;color:#1f2937}.logout-card{display:flex;align-items:center;gap:16px;width:100%;background:#fff;border:1px solid #FECACA;border-radius:16px;padding:20px;cursor:pointer;transition:background .2s ease}.logout-card:hover{background:#fef2f2}.logout-card:hover .logout-chevron{color:#ef4444}.logout-icon{color:#ef4444;flex-shrink:0}.logout-text{flex:1;text-align:left}.logout-title{margin:0;font-size:14px;font-weight:600;color:#ef4444}.logout-subtitle{margin:2px 0 0;font-size:13px;color:#f87171}.logout-chevron{color:#fca5a5;transition:color .15s ease}.empty-chat-state{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:#f7f8fc;box-sizing:border-box}.empty-chat-illustration{position:relative;width:140px;height:110px;margin-bottom:28px}.empty-chat-illustration .bubble{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:28px;box-shadow:0 8px 20px #c7d2fe}.empty-chat-illustration .bubble-back{top:0;right:0;width:64px;height:52px;background:#fff;border:1px solid #DDE3FF;color:#9ca3af;border-radius:20px 20px 4px}.empty-chat-illustration .bubble-front{bottom:0;left:0;width:84px;height:68px;background:linear-gradient(135deg,#6366f1,#5865f2);color:#fff;border-radius:22px 22px 22px 4px}.empty-chat-illustration .sparkle{position:absolute;color:#5865f2;opacity:.9}.empty-chat-illustration .sparkle-one{top:6px;left:4px}.empty-chat-illustration .sparkle-two{bottom:10px;right:6px;color:#a78bfa}.empty-chat-title{margin:0 0 8px;font-size:18px;font-weight:700;color:#1f2937}.empty-chat-subtitle{margin:0 0 24px;max-width:320px;font-size:13.5px;line-height:1.6;color:#6b7280}.empty-chat-cta{display:flex;align-items:center;gap:8px;border:none;background:#5865f2;color:#fff;font-size:14px;font-weight:600;padding:11px 22px;border-radius:999px;cursor:pointer;box-shadow:0 6px 16px #c7d2fe;transition:background .15s ease,transform .15s ease}.empty-chat-cta:hover{background:#4752c4;transform:translateY(-1px)}.media-message{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.media-item{flex:0 0 auto;max-width:100%}.media-image{max-width:260px;max-height:300px;border-radius:14px;cursor:pointer;transition:opacity .2s ease,transform .2s ease;object-fit:cover;background:#eef0ff}.media-image:hover{opacity:.92;transform:scale(1.01)}.media-video-wrapper{position:relative;border-radius:14px;overflow:hidden;background:#000;max-width:320px}.media-video-wrapper .media-video{width:100%;max-height:300px;display:block;border-radius:14px}.media-audio-wrapper{min-width:200px;max-width:280px;padding:8px 0}.media-audio-wrapper .media-audio{width:100%;border-radius:14px;background:#eef0ff}.media-file{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fff;border-radius:14px;cursor:pointer;box-shadow:0 2px 10px #c7d2fe59;min-width:200px;max-width:280px;transition:background .15s ease,transform .15s ease;border:1px solid #DDE3FF}.media-file:hover{background:#f1f3ff;transform:translateY(-1px)}.media-file .file-icon-wrapper{flex-shrink:0;color:#e0524b;display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:#e0524b1a;border-radius:10px}.media-file .file-info{flex:1;min-width:0}.media-file .file-info .file-name{margin:0;font-size:13px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-file .file-info .file-meta{margin:2px 0 0;font-size:11.5px;color:#6b7280}.media-file .file-external{color:#9ca3af;flex-shrink:0;transition:color .15s ease}.media-file .file-external:hover{color:#5865f2}@media (max-width: 640px){.media-image{max-width:180px;max-height:200px}.media-video-wrapper{max-width:220px}.media-file{min-width:150px;max-width:220px;padding:10px 12px}.media-file .file-info .file-name{font-size:12px}}.file-attachment{position:relative;display:inline-block;border-radius:14px;overflow:visible;box-shadow:0 2px 10px #c7d2fe59;transition:transform .15s ease;color:#1f2937}.file-attachment:hover{transform:translateY(-2px)}.file-attachment:hover .remove-btn{opacity:1;transform:scale(1)}.attachment-preview{width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #DDE3FF;border-radius:14px;overflow:hidden;position:relative}.remove-btn{position:absolute;top:-8px;right:-8px;width:24px;height:24px;background:#e0524b;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:scale(.8);transition:all .2s ease;z-index:9999;border:none;font-size:11px;font-weight:500;padding:-16px 16px;border-radius:14px}.remove-btn:hover{transform:scale(1.1);background:#d42d24}.image-preview{padding:0}.video-preview{position:relative}.video-preview img{object-fit:cover}.video-preview .video-overlay{position:absolute;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;color:#fff;transition:background .15s ease}.video-preview .video-overlay:hover{background:#0000004d}.loading-preview{background:#dde3ff;animation:pulse-loading 1.5s ease-in-out infinite}.loading-preview .loading-icon{color:#6b7280}@keyframes pulse-loading{0%,to{opacity:1}50%{opacity:.5}}.audio-preview{background:#eef0ff;color:#5865f2}.file-preview{flex-direction:column;gap:4px;background:#eef0ff;color:#6b7280}.file-preview .file-name-label{font-size:10px;font-weight:500;color:#1f2937;max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-preview-item{display:inline-flex;align-items:center;border-radius:10px;overflow:hidden;background:#fff;border:1px solid #DDE3FF;box-shadow:0 2px 10px #c7d2fe59;transition:transform .15s ease,box-shadow .15s ease}.file-preview-item:hover{transform:translateY(-1px);box-shadow:0 4px 16px #c7d2fe66}.preview-image{width:60px;height:60px;object-fit:cover;border-radius:10px;display:block}.preview-audio{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#eef0ff;border-radius:10px}.preview-audio .audio-icon{color:#5865f2}.preview-audio .preview-label{font-size:11px;color:#6b7280;font-weight:500}.preview-video{position:relative;width:60px;height:60px;border-radius:10px;overflow:hidden;background:#000}.preview-video .video-thumbnail{width:100%;height:100%;object-fit:cover}.preview-video .video-play-overlay{position:absolute;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;color:#fff;opacity:0;transition:opacity .15s ease}.preview-video .video-play-overlay:hover{opacity:1}.preview-file{display:flex;align-items:center;gap:8px;padding:8px 12px;min-width:120px;max-width:260px}.preview-file .file-icon{color:#e0524b;flex-shrink:0}.preview-file .file-info{flex:1;min-width:0}.preview-file .file-info .file-name{margin:0;font-size:12px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-file .file-info .file-size{margin:1px 0 0;font-size:10px;color:#6b7280}.attachment-modal{position:absolute;bottom:54px;left:12px;background:#fff;border-radius:20px;box-shadow:0 6px 20px #c7d2fe80;padding:12px;min-width:180px;z-index:50;border:1px solid #DDE3FF;animation:modal-slide-up .2s ease-out}@keyframes modal-slide-up{0%{opacity:0;transform:translateY(10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid #DDE3FF;margin-bottom:8px}.modal-header .modal-icon{color:#5865f2}.modal-header .modal-title{font-size:13px;font-weight:600;color:#1f2937}.modal-options{display:flex;flex-direction:column;gap:4px}.modal-option{display:flex;align-items:center;gap:12px;padding:8px 12px;border:none;background:transparent;border-radius:10px;cursor:pointer;transition:background .15s ease;width:100%;text-align:left}.modal-option:hover{background:#f1f3ff}.modal-option .option-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-option .image-icon{background:#22c55e26;color:#22c55e}.modal-option .video-icon{background:#5865f226;color:#5865f2}.modal-option .audio-icon{background:#8b5cf626;color:#8b5cf6}.modal-option .pdf-icon{background:#e0524b26;color:#e0524b}.modal-option .option-label{font-size:13px;font-weight:500;color:#1f2937}@media (max-width: 640px){.attachment-modal{min-width:150px;padding:10px;bottom:48px;left:8px}.modal-option{padding:6px 10px}.modal-option .option-icon{width:28px;height:28px}.modal-option .option-icon svg{width:16px;height:16px}.modal-option .option-label{font-size:12px}}@keyframes chat-spin{to{transform:rotate(360deg)}}.chat-history{display:flex;flex-direction:column;height:100vh;width:100%;background:#f7f8fc;color:#1f2937}.chat-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #DDE3FF;padding:14px 24px}.chat-header-left{display:flex;align-items:center;gap:12px}.chat-avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#5865f2,#4752c4);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;flex-shrink:0}.chat-header-info{display:flex;flex-direction:column;gap:2px}.chat-header-info h2{margin:0;font-size:16px;font-weight:700;color:#1f2937}.online-status{margin:0;font-size:12px;color:#22c55e;font-weight:600}.last-seen{margin:0;font-size:12.5px;color:#6b7280}.chat-messages{flex:1;overflow-y:auto;padding:24px 26px 14px;display:flex;flex-direction:column;gap:16px;background-image:url(/back3.png);background-size:cover;background-position:center}.chat-messages::-webkit-scrollbar{width:6px}.chat-messages::-webkit-scrollbar-thumb{background:#00000014;border-radius:999px}.chat-loading{display:flex;justify-content:center;padding:8px 0}.chat-spinner{width:22px;height:22px;border:2.5px solid #EEF0FF;border-top-color:#5865f2;border-radius:50%;animation:chat-spin .7s linear infinite}.message-row{display:flex;align-items:flex-end;gap:10px}.message-row.own{justify-content:flex-end}.message-row.other{justify-content:flex-start}.message-avatar{width:30px;height:30px;border-radius:50%;background:#eef0ff;color:#5865f2;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;flex-shrink:0}.message-col{display:flex;flex-direction:column;max-width:68%}.message-col.own{align-items:flex-end}.message-col.other{align-items:flex-start}.sender-name{font-size:12.5px;font-weight:600;color:#5865f2;margin-bottom:4px;padding:0 4px}.message-wrapper{position:relative;width:100%}.message-actions{position:absolute;top:-20px;display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #DDE3FF;border-radius:999px;padding:4px 8px;box-shadow:0 2px 10px #c7d2fe59;z-index:10}.message-actions.own{right:0}.message-actions.other{left:0}.action-btn{width:28px;height:28px;border:none;background:transparent;color:#6b7280;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.action-btn:hover{background:#f1f3ff;color:#5865f2}.emoji-picker{position:absolute;top:-36px;display:flex;align-items:center;gap:2px;background:#fff;border:1px solid #DDE3FF;border-radius:999px;padding:4px 8px;box-shadow:0 2px 10px #c7d2fe59;z-index:10}.emoji-picker.own{right:0}.emoji-picker.other{left:0}.emoji-option{border:none;background:transparent;font-size:18px;cursor:pointer;padding:2px 4px;border-radius:50%;transition:transform .15s ease}.emoji-option:hover{transform:scale(1.2);background:#f1f3ff}.message-bubble{position:relative;padding:12px 16px 10px;border-radius:20px;font-size:14.5px;line-height:1.5;box-shadow:0 2px 10px #c7d2fe59;word-wrap:break-word}.message-bubble.own{background:#5865f2;color:#fff;border-top-right-radius:4px}.message-bubble.other{background:#eef0ff;border:1px solid #DDE3FF;color:#1f2937;border-top-left-radius:4px}.message-bubble.media-only{padding:.7rem;border:none;box-shadow:none}.reply-preview{margin-bottom:10px;padding:8px 12px;border-radius:10px}.reply-preview.own{background:#fddcdc75;border-left:3px solid #eef0ff}.reply-preview.other{background:#0000000d;border-left:3px solid #5865F2}.reply-content .reply-sender{font-size:12px;font-weight:600;color:#5865f2;margin:0 0 2px}.reply-content .reply-sender.own{color:#04061a}.reply-content .reply-text{font-size:13px;color:#6b7280;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reply-content .reply-text.own{color:#000000b3}.reply-content .reply-text.other{color:#6b7280}.reply-content .reply-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.message-attachments{margin-bottom:8px}.message-attachments.no-text{margin-bottom:0}.message-text{display:flex;flex-direction:column;gap:4px}.message-content{margin:0;line-height:1.6;word-break:break-word}.nexus-tag{font-weight:700;color:#5865f2}.nexus-tag.other{color:#5865f2}.nexus-tag.own{color:#fefeff}.message-time{font-size:11px;align-self:flex-end;margin-top:4px}.message-time.own{color:#f9f8f8b3}.message-time.other{color:#9ca3af}.markdown-ul{margin:6px 0;padding-left:18px;list-style-type:disc;list-style-position:outside}.markdown-li{margin:3px 0;font-size:14px;list-style-type:disc;list-style-position:outside}.markdown-strong{font-weight:700}.markdown-p{margin:4px 0;font-size:14px;line-height:1.55}.markdown-h1{font-weight:700;margin:8px 0 4px}.markdown-h2{font-size:14.5px;font-weight:700;margin:8px 0 4px}.reaction-badge{position:absolute;bottom:-16px;display:flex;align-items:center;gap:4px;background:#fff;border:1px solid #DDE3FF;border-radius:999px;padding:2px 8px;box-shadow:0 2px 10px #c7d2fe59;cursor:pointer;transition:background .15s ease}.reaction-badge.own{right:8px}.reaction-badge.other{left:8px}.reaction-badge:hover{background:#f1f3ff}.reaction-item{display:flex;align-items:center;gap:2px;font-size:14px}.reaction-count{font-size:11px;color:#6b7280;font-weight:500}.typing-indicator{display:flex;justify-content:flex-start;align-items:center;padding:4px 0}.typing-bubble{background:#fff;border:1px solid #DDE3FF;padding:12px 18px;border-radius:4px 20px 20px;box-shadow:0 2px 10px #c7d2fe59}.typing-dots{display:flex;gap:4px}.typing-dots span{width:6px;height:6px;border-radius:50%;background:#9ca3af;animation:chat-typing-bounce 1.2s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.15s}.typing-dots span:nth-child(3){animation-delay:.3s}@keyframes chat-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.chat-input-container{flex-shrink:0;background:#fff;margin:0 16px 16px;border-radius:20px;box-shadow:0 6px 20px #c7d2fe80;padding:10px 0}.chat-input-container.has-reply{border-radius:20px}.reply-input-preview{display:flex;align-items:flex-start;justify-content:space-between;padding:8px 16px 12px;margin:0 14px 8px;background:#f1f3ff;border-radius:14px;border-left:3px solid #5865F2}.reply-preview-content{flex:1;min-width:0}.reply-preview-content .reply-label{font-size:12px;font-weight:600;color:#5865f2;margin:0 0 2px}.reply-preview-content .reply-preview-text{font-size:13px;color:#6b7280;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reply-preview-content .reply-preview-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.reply-close-btn{width:28px;height:28px;border:none;background:transparent;color:#6b7280;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s ease,color .15s ease}.reply-close-btn:hover{background:#0000000d;color:#1f2937}.attachments-preview{padding:0 14px 10px}.attachments-preview .attachments-list{display:flex;flex-wrap:wrap;gap:10px;padding:10px;background:#f7f8fc;border-radius:14px}.input-row{display:flex;align-items:center;gap:10px;padding:0 14px;position:relative}.input-wrapper{flex:1;position:relative;display:flex;align-items:center;min-height:44px}.nexus-mode-indicator{position:absolute;left:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px;background:#eef0ff;color:#5865f2;padding:4px 8px 4px 10px;border-radius:999px;font-size:12px;font-weight:500;z-index:2}.nexus-mode-close{border:none;background:transparent;color:#5865f2;cursor:pointer;padding:0 2px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .15s ease}.nexus-mode-close:hover{background:#5865f226}.message-input{border:none;outline:none;background:transparent;font-size:14.5px;color:#1f2937;width:100%;padding:10px 12px;min-height:44px}.message-input::placeholder{color:#6b7280}.message-input:disabled{opacity:.6;cursor:not-allowed}.send-btn{width:44px;height:44px;border:none;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s ease,transform .1s ease;box-shadow:0 4px 12px #6c5ce959;background:#5865f2}.send-btn svg{transform:translate(-1px)}.send-btn:hover:not(.disabled){transform:translateY(-1px);background:#4752c4}.send-btn.disabled{background:#eef0ff;color:#9ca3af;cursor:not-allowed;box-shadow:none}.send-btn .send-loader{width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:chat-spin .7s linear infinite}.group-details-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:10px;background:transparent;color:#9ca3af;cursor:pointer;transition:background .15s ease,color .15s ease}.group-details-btn:hover{background:#f1f3ff;color:#1f2937}@keyframes nexus-spin{to{transform:rotate(360deg)}}.nexus-ai{display:flex;flex-direction:column;height:100vh;width:100%;background:#f7f8fc;color:#1f2937}.nexus-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #DDE3FF;padding:14px 24px}.nexus-header .nexus-header-left{display:flex;align-items:center;gap:12px}.nexus-header .nexus-avatar{width:46px;height:46px;border-radius:50%;background:#5c5bed;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nexus-header .nexus-header-info{display:flex;flex-direction:column;gap:2px}.nexus-header .nexus-title-row{display:flex;align-items:center;gap:8px}.nexus-header .nexus-title-row h2{margin:0;font-size:16px;font-weight:700;color:#1f2937}.nexus-header .nexus-badge{background:#eef0ff;color:#5865f2;font-size:11px;font-weight:600;padding:2px 10px;border-radius:999px}.nexus-header .nexus-tagline{margin:0;font-size:12.5px;color:#6b7280}.nexus-header .nexus-header-actions{display:flex;align-items:center;gap:6px}.nexus-header .icon-btn{width:36px;height:36px;border:none;background:transparent;color:#6b7280;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease}.nexus-header .icon-btn:hover{background:#f1f3ff;color:#5865f2}.nexus-messages{flex:1;overflow-y:auto;padding:24px 26px 14px;display:flex;flex-direction:column;gap:16px}.nexus-messages::-webkit-scrollbar{width:6px}.nexus-messages::-webkit-scrollbar-thumb{background:#00000014;border-radius:999px}.nexus-loading{display:flex;justify-content:center;padding:8px 0}.nexus-spinner{width:22px;height:22px;border:2.5px solid #EEF0FF;border-top-color:#5865f2;border-radius:50%;animation:nexus-spin .7s linear infinite}.date-divider{align-self:center}.date-divider span{background:#fff;color:#6b7280;font-size:12px;font-weight:500;padding:6px 16px;border-radius:999px;box-shadow:0 2px 10px #c7d2fe59}.nexus-message-row{display:flex;align-items:flex-end;gap:10px}.nexus-message-row.own{justify-content:flex-end}.nexus-message-row.other{justify-content:flex-start}.nexus-message-avatar{width:30px;height:30px;border-radius:50%;background:#eef0ff;color:#5865f2;display:flex;align-items:center;justify-content:center;flex-shrink:0}.nexus-message-col{display:flex;flex-direction:column;max-width:68%}.nexus-message-col.own{align-items:flex-end}.nexus-message-col.other{align-items:flex-start}.nexus-sender-name{font-size:12.5px;font-weight:600;color:#6b7280;margin-bottom:4px;padding:0 4px}.nexus-attachments{display:flex;gap:8px;margin-bottom:8px;flex-wrap:wrap}.nexus-attachment-image{max-width:260px;border-radius:14px;cursor:pointer;padding:.5rem;transition:opacity .15s ease;background:#5865f2}.nexus-attachment-image:hover{opacity:.9}.nexus-attachment-file{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border-radius:14px;cursor:pointer;box-shadow:0 2px 10px #c7d2fe59;min-width:220px;transition:background .15s ease}.nexus-attachment-file:hover{background:#f1f3ff}.nexus-attachment-file .file-icon{color:#e0524b;flex-shrink:0}.nexus-attachment-file .file-info{flex:1;min-width:0}.nexus-attachment-file .file-name{margin:0;font-size:13px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nexus-attachment-file .file-meta{margin:2px 0 0;font-size:11.5px;color:#6b7280}.nexus-attachment-file .file-external{color:#9ca3af;flex-shrink:0}.nexus-bubble{position:relative;padding:12px 16px 10px;border-radius:20px;font-size:14.5px;line-height:1.5;box-shadow:0 2px 10px #c7d2fe59;word-wrap:break-word}.nexus-bubble.own{background:#5865f2;color:#fff;border-top-right-radius:4px}.nexus-bubble.other{background:#eef0ff;border:1px solid #F1F1F4;color:#1f2937;border-top-left-radius:4px;min-width:260px}.nexus-bubble-text .md-ul{margin:6px 0;padding-left:18px;list-style-type:disc;list-style-position:outside}.nexus-bubble-text .md-li{margin:3px 0;font-size:14px;color:#1f2937;list-style-type:disc;list-style-position:outside}.nexus-bubble-text .md-strong{font-weight:900;color:#1f2937}.nexus-bubble-text .md-p{margin:4px 0;font-size:14px;line-height:1.55}.nexus-bubble-text .md-h1{font-weight:700;margin:8px 0 4px;color:#1f2937}.nexus-bubble-text .md-h2{font-size:14.5px;font-weight:700;margin:8px 0 4px;color:#1f2937}.nexus-bubble-meta{display:flex;align-items:center;gap:4px;margin-top:6px}.nexus-bubble-meta.own,.nexus-bubble-meta.other{justify-content:flex-end}.nexus-bubble-meta .nexus-time{font-size:11px}.nexus-bubble-meta .nexus-time.own{color:#fff}.nexus-bubble-meta .nexus-time.other{color:#9ca3af}.nexus-bubble-meta .nexus-read-icon{color:#5865f2}.nexus-bubble-footer{display:flex;align-items:center;gap:16px;margin-top:10px;padding-top:10px;border-top:1px solid #F1F1F4}.nexus-bubble-footer .footer-action{display:flex;align-items:center;gap:5px;border:none;background:transparent;font-size:12.5px;color:#6b7280;cursor:pointer;padding:0;transition:color .15s ease}.nexus-bubble-footer .footer-action:hover{color:#5865f2}.nexus-bubble-footer .footer-spacer{flex:1}.nexus-bubble-footer .footer-icon-btn{border:none;background:transparent;color:#6b7280;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px;transition:color .15s ease}.nexus-bubble-footer .footer-icon-btn:hover{color:#5865f2}.nexus-typing-bubble{background:#fff;border:1px solid #F1F1F4;padding:14px 18px;border-radius:4px 20px 20px;box-shadow:0 2px 10px #c7d2fe59}.nexus-typing-dots{display:flex;gap:4px}.nexus-typing-dots span{width:6px;height:6px;border-radius:50%;background:#9ca3af;animation:nexus-typing-bounce 1.2s infinite ease-in-out}.nexus-typing-dots span:nth-child(2){animation-delay:.15s}.nexus-typing-dots span:nth-child(3){animation-delay:.3s}@keyframes nexus-typing-bounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}.nexus-quick-actions{flex-shrink:0;display:flex;flex-wrap:wrap;gap:10px;padding:0 26px 16px;background:#f7f8fc}.quick-action-chip{border:1px solid #F1F1F4;background:#fff;color:#4752c4;font-size:13px;font-weight:500;padding:9px 16px;border-radius:999px;cursor:pointer;box-shadow:0 2px 10px #c7d2fe59;transition:background .15s ease,transform .1s ease}.quick-action-chip:hover{background:#f1f3ff;transform:translateY(-1px)}.nexus-input-container{flex-shrink:0;background:#fff;margin:0 16px 16px;border-radius:20px;box-shadow:0 6px 20px #c7d2fe80;padding:10px 0}.nexus-attachments-preview{padding:0 20px 10px}.nexus-attachments-preview .attachments-preview-list{display:flex;flex-wrap:wrap;gap:10px;padding:10px;background:#f7f8fc;border-radius:14px}.attachment-preview-item{position:relative}.attachment-preview-item .preview-image{width:72px;height:72px;object-fit:cover;border-radius:14px}.attachment-preview-item .preview-file{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border-radius:14px}.attachment-preview-item .preview-file .file-icon{color:#e0524b}.attachment-preview-item .preview-file .file-name{margin:0;font-size:13px;font-weight:600;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attachment-preview-item .preview-file .file-meta{margin:2px 0 0;font-size:11px;color:#6b7280}.attachment-preview-item .preview-remove-btn{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border:none;border-radius:50%;background:#e0524b;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s ease}.attachment-preview-item:hover .preview-remove-btn{opacity:1}.nexus-input-row{display:flex;align-items:center;gap:10px;padding:0 14px;position:relative}.attachment-btn{width:40px;height:40px;border:none;background:transparent;color:#6b7280;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s ease,color .15s ease}.attachment-btn:hover:not(:disabled){background:#f1f3ff;color:#5865f2}.attachment-btn:disabled{opacity:.5;cursor:not-allowed}.nexus-attachment-modal{position:absolute;bottom:54px;left:12px;background:#fff;border-radius:14px;box-shadow:0 6px 20px #c7d2fe80;padding:8px;display:flex;flex-direction:column;gap:4px;z-index:20;min-width:160px}.nexus-attachment-modal .modal-option{display:flex;align-items:center;gap:10px;border:none;background:transparent;padding:9px 10px;border-radius:10px;font-size:13.5px;color:#1f2937;cursor:pointer;text-align:left}.nexus-attachment-modal .modal-option:hover{background:#f1f3ff}.nexus-attachment-modal .modal-icon-image{color:#22c55e}.nexus-attachment-modal .modal-icon-pdf{color:#e0524b}.nexus-input-wrapper{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;padding:4px}.nexus-message-input{border:none;outline:none;background:transparent;font-size:14.5px;color:#1f2937;width:100%;padding:0}.nexus-message-input::placeholder{color:#6b7280}.nexus-input-hint{font-size:12px;color:#9ca3af;margin-top:2px}.nexus-send-btn{width:44px;height:44px;border:none;border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s ease,transform .1s ease;box-shadow:0 4px 12px #6c5ce959;background:#5865f2}.nexus-send-btn svg{transform:translate(-1px)}.nexus-send-btn:hover:not(.disabled){transform:translateY(-1px)}.nexus-send-btn.disabled{background:#eef0ff;color:#9ca3af;cursor:not-allowed;box-shadow:none}.nexus-send-btn .send-loader{width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:nexus-spin .7s linear infinite}.nexus-send-btn .send-pulse{width:14px;height:14px;background:#fff;border-radius:3px;animation:nexus-pulse 1s infinite ease-in-out}@keyframes nexus-pulse{0%,to{opacity:1}50%{opacity:.4}}.sidebar-container{width:200px;height:100vh;display:flex;flex-direction:column;padding:24px 18px;background:linear-gradient(160deg,#4e42e0,#3e35c9);color:#fff;box-sizing:border-box}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:0 6px 29px}.sidebar-brand .brand-icon{color:#fff}.sidebar-brand .brand-name{font-size:22px;font-weight:700;color:#fff}.new-chat-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;margin-bottom:24px;background:#fff;color:#4e42e0;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 4px 10px #0000001f;transition:transform .15s ease,box-shadow .15s ease}.new-chat-btn:hover{transform:translateY(-1px);box-shadow:0 6px 14px #00000029}.sidebar-nav{display:flex;flex-direction:column;gap:4px}.sidebar-nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:14px;background:transparent;border:none;border-radius:12px;color:#ffffffbf;font-size:14px;font-weight:500;cursor:pointer;position:relative;transition:background .15s ease,color .15s ease}.sidebar-nav-item:hover{background:#ffffff14;color:#fff}.sidebar-nav-item.active{background:#ffffff24;color:#fff;font-weight:600}.sidebar-nav-item .unread-badge{margin-left:auto;background:#4752c4;color:#fff;font-size:11px;font-weight:700;line-height:1;padding:3px 7px;border-radius:999px}.sidebar-spacer{flex:1}.nexus-ai-card{background:#ffffff14;border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:16px;margin-bottom:16px}.nexus-ai-card .nexus-ai-header{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#fff;margin-bottom:8px}.nexus-ai-card .nexus-ai-desc{font-size:12px;line-height:1.5;color:#fff9;margin:0 0 14px}.nexus-ai-card .ask-nexus-btn{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px 14px;background:#ffffff24;border:1px solid rgba(255,255,255,.22);border-radius:14px;color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s ease}.nexus-ai-card .ask-nexus-btn:hover{background:#ffffff38}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:10px 6px;border-top:1px solid rgba(255,255,255,.08);cursor:pointer}.sidebar-profile .profile-avatar{position:relative}.sidebar-profile .profile-avatar .avatar-circle{width:36px;height:36px;border-radius:50%;background:#fff;color:#4e42e0;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}.sidebar-profile .profile-avatar .online-dot{position:absolute;bottom:0;right:0;width:10px;height:10px;border-radius:50%;background:#22c55e;border:2px solid #3E35C9}.sidebar-profile .profile-info{flex:1;min-width:0}.sidebar-profile .profile-info .profile-name{margin:0;font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile .profile-info .profile-status{margin:0;font-size:12px;color:#fff9}.sidebar-profile .profile-chevron{color:#fff9}.sidebar-bottom-icons{display:flex;align-items:center;gap:8px;padding:10px 6px 0;justify-content:space-between}.sidebar-bottom-icons .icon-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:transparent;border:none;color:#ffffffbf;cursor:pointer;transition:background .15s ease,color .15s ease}.sidebar-bottom-icons .icon-btn:hover{background:#ffffff14;color:#fff}.sidebar-bottom-icons .icon-btn.active{background:#ffffff24;color:#fff}.add-chat-modal-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px}.add-chat-modal-backdrop{position:absolute;inset:0;background:#1f293766;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.add-chat-modal{position:relative;width:100%;max-width:520px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #DDE3FF;border-radius:20px;box-shadow:0 20px 48px #5865f22e}.add-chat-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #DDE3FF;flex-shrink:0}.add-chat-modal-header .header-left{display:flex;align-items:center;gap:12px}.add-chat-modal-header .header-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef0ff;color:#5865f2;flex-shrink:0}.add-chat-modal-header .header-title{margin:0;font-size:17px;font-weight:600;color:#1f2937}.add-chat-modal-header .header-subtitle{margin:2px 0 0;font-size:12px;color:#9ca3af}.add-chat-modal-header .close-btn{display:flex;align-items:center;justify-content:center;background:transparent;border:none;padding:6px;border-radius:8px;color:#9ca3af;cursor:pointer;transition:background .15s ease,color .15s ease}.add-chat-modal-header .close-btn:hover{background:#f1f3ff;color:#1f2937}.add-chat-modal-body{padding:24px;display:flex;flex-direction:column;gap:20px;overflow-y:auto}.chat-type-toggle{display:flex;gap:8px;padding:4px;background:#f1f3ff;border-radius:12px}.toggle-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border:none;border-radius:10px;background:transparent;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s ease}.toggle-btn:hover{color:#1f2937}.toggle-btn.active{background:#5865f2;color:#fff;font-weight:600;box-shadow:0 6px 16px #c7d2fe}.field{display:flex;flex-direction:column}.field-label{font-size:13px;font-weight:500;color:#1f2937;margin-bottom:8px}.text-input{width:100%;background:#f7f8fc;border:1px solid #DDE3FF;border-radius:12px;padding:12px 16px;font-size:14px;color:#1f2937;outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.text-input::placeholder{color:#9ca3af}.text-input:focus{border-color:#5865f2;box-shadow:0 0 0 3px #eef0ff}.text-input.with-icon{padding-left:40px}.search-input-wrapper{position:relative;margin-bottom:12px}.search-input-wrapper .search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}.user-list{background:#fff;border:1px solid #DDE3FF;border-radius:12px;max-height:240px;overflow-y:auto}.user-list-empty{padding:32px;text-align:center;color:#9ca3af;font-size:13px}.user-row{display:flex;align-items:center;gap:12px;padding:12px;cursor:pointer;border-bottom:1px solid #F1F3FF;transition:background .15s ease}.user-row:last-child{border-bottom:none}.user-row:hover{background:#f7f8fc}.user-row.selected{background:#eef0ff}.user-avatar{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#5865f2);color:#fff;font-size:16px;font-weight:600}.user-details{flex:1;min-width:0}.user-details .user-name{font-size:14px;font-weight:500;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-details .user-email{font-size:12px;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-checkbox{flex-shrink:0;width:20px;height:20px;border-radius:6px;border:2px solid #DDE3FF;display:flex;align-items:center;justify-content:center;transition:all .15s ease}.user-checkbox.checked{background:#5865f2;border-color:#5865f2}.user-checkbox .check-icon{width:12px;height:12px;color:#fff}.selected-participants{display:flex;flex-direction:column;gap:8px}.selected-participants-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:#6b7280}.selected-chips{display:flex;flex-wrap:wrap;gap:8px}.selected-chip{display:flex;align-items:center;gap:8px;background:#f1f3ff;border:1px solid #DDE3FF;border-radius:999px;padding:4px 12px 4px 4px}.selected-chip .chip-avatar{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#5865f2);color:#fff;font-size:11px;font-weight:600}.selected-chip .chip-name{font-size:12px;font-weight:500;color:#1f2937}.selected-chip .chip-remove{display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#9ca3af;cursor:pointer;padding:0}.selected-chip .chip-remove:hover{color:#1f2937}.create-btn{width:100%;border:none;background:#5865f2;color:#fff;border-radius:12px;padding:14px;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 8px 20px #c7d2fe;transition:background .15s ease,box-shadow .15s ease}.create-btn:hover:not(:disabled){background:#4752c4}.create-btn:disabled{background:#f1f3ff;color:#9ca3af;cursor:not-allowed;box-shadow:none}.details-modal-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:flex-end}.details-modal-backdrop{position:absolute;inset:0;background:#1f293766;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.details-modal{position:relative;background:#fff;width:100%;max-width:420px;height:100%;overflow-y:auto;box-shadow:-12px 0 32px #5865f224}.details-close-btn{position:absolute;top:24px;left:24px;z-index:10;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:10px;background:transparent;color:#9ca3af;cursor:pointer;transition:background .15s ease,color .15s ease}.details-close-btn:hover{background:#f1f3ff;color:#1f2937}.group-summary{display:flex;flex-direction:column;align-items:center;padding:48px 24px 24px}.group-avatar{width:96px;height:96px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6366f1,#5865f2);color:#fff;margin-bottom:16px}.group-name{margin:0;font-size:19px;font-weight:600;color:#1f2937}.group-meta{margin:4px 0 0;font-size:13px;color:#9ca3af}.participants-section{padding:0 24px 24px}.participants-heading{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#1f2937}.participants-heading h3{margin:0;font-size:14px;font-weight:600}.participants-list{display:flex;flex-direction:column;gap:10px}.participant-row{display:flex;align-items:center;justify-content:space-between;background:#f7f8fc;border:1px solid #DDE3FF;border-radius:12px;padding:12px}.participant-left{display:flex;align-items:center;gap:12px}.participant-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef0ff;color:#5865f2}.participant-name-row{display:flex;align-items:center;gap:8px}.participant-name{margin:0;font-size:14px;font-weight:500;color:#1f2937}.admin-badge{background:#dcfce7;color:#16a34a;font-size:11px;font-weight:600;padding:2px 8px;border-radius:6px}.participant-email{margin:1px 0 0;font-size:12.5px;color:#9ca3af}.remove-btn{border:none;background:#ef4444;color:#fff;font-size:13px;font-weight:500;padding:7px 16px;border-radius:8px;cursor:pointer;transition:background .15s ease;flex-shrink:0}.remove-btn:hover{background:#dc2626}.admin-actions{padding:0 24px 24px;display:flex;flex-direction:column;gap:12px}.add-participant-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:none;background:#5865f2;color:#fff;font-size:14px;font-weight:600;padding:13px;border-radius:12px;cursor:pointer;box-shadow:0 6px 16px #c7d2fe;transition:background .15s ease}.add-participant-btn:hover{background:#4752c4}.delete-group-btn{width:100%;border:1px solid #FECACA;background:#fff;color:#ef4444;font-size:14px;font-weight:600;padding:13px;border-radius:12px;cursor:pointer;transition:background .15s ease}.delete-group-btn:hover{background:#fef2f2}.add-participants-view{padding:48px 24px 24px}.add-participants-title{margin:0 0 4px;font-size:19px;font-weight:600;color:#1f2937}.add-participants-subtitle{margin:0 0 20px;font-size:13px;color:#9ca3af}.details-search-wrapper{position:relative;margin-bottom:16px}.details-search-wrapper .details-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}.details-search-input{width:100%;background:#f7f8fc;border:1px solid #DDE3FF;border-radius:12px;padding:11px 16px 11px 40px;font-size:14px;color:#1f2937;outline:none;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.details-search-input::placeholder{color:#9ca3af}.details-search-input:focus{border-color:#5865f2;box-shadow:0 0 0 3px #eef0ff}.selected-count{margin-bottom:16px;font-size:13px;font-weight:500;color:#5865f2}.available-users-list{display:flex;flex-direction:column;gap:8px;max-height:384px;overflow-y:auto}.available-users-empty{text-align:center;padding:32px 0;color:#9ca3af;font-size:13px}.available-user-row{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:12px;cursor:pointer;background:#f7f8fc;border:1px solid transparent;transition:background .15s ease,border-color .15s ease}.available-user-row:hover{background:#f1f3ff}.available-user-row.selected{background:#eef0ff;border-color:#5865f2}.selected-check{width:20px;height:20px;border-radius:50%;background:#5865f2;display:flex;align-items:center;justify-content:center;flex-shrink:0}.selected-check .check-icon{width:12px;height:12px;color:#fff}.add-participants-actions{position:sticky;bottom:0;background:#fff;padding:16px 24px 24px;display:flex;flex-direction:column;gap:12px;border-top:1px solid #DDE3FF}.add-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;border:none;background:#5865f2;color:#fff;font-size:14px;font-weight:600;padding:13px;border-radius:12px;cursor:pointer;box-shadow:0 6px 16px #c7d2fe;transition:background .15s ease}.add-btn:hover:not(:disabled){background:#4752c4}.add-btn:disabled{background:#f1f3ff;color:#9ca3af;cursor:not-allowed;box-shadow:none}.cancel-add-btn{width:100%;border:1px solid #DDE3FF;background:#fff;color:#6b7280;font-size:14px;font-weight:600;padding:13px;border-radius:12px;cursor:pointer;transition:background .15s ease}.cancel-add-btn:hover{background:#f1f3ff}.participant-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px;text-transform:uppercase}/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-gray-50:oklch(98.5% .002 247.839);--color-gray-900:oklch(21% .034 264.665);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.flex{display:flex}.h-screen{height:100vh}.w-1\/3{width:33.3333%}.w-2\/3{width:66.6667%}.flex-col{flex-direction:column}.bg-gray-50{background-color:var(--color-gray-50)}@media (prefers-color-scheme:dark){.dark\:bg-gray-900{background-color:var(--color-gray-900)}}}#root{box-sizing:border-box;margin:0;padding:0;font-family:Roboto Slab,serif;font-style:normal;font-weight:400}.ubuntu-medium{font-family:Roboto Slab,serif;font-style:normal;font-weight:500}.ubuntu-bold{font-family:Roboto Slab,serif;font-style:normal;font-weight:700}.ubuntu-light-italic{font-family:Roboto Slab,serif;font-style:italic;font-weight:300}.ubuntu-regular-italic{font-family:Roboto Slab,serif;font-style:italic;font-weight:400}.ubuntu-medium-italic{font-family:Roboto Slab,serif;font-style:italic;font-weight:500}.ubuntu-bold-italic{font-family:Roboto Slab,serif;font-style:italic;font-weight:700}.scrollbar-hide::-webkit-scrollbar{display:none}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}@keyframes typingBreathe{0%,to{opacity:.3;transform:scale(.95)}50%{opacity:1;transform:scale(1)}}.animate-typing{animation:1.5s ease-in-out infinite typingBreathe}
