*{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary:#0e1621;--bg-secondary:#17212b;--bg-tertiary:#1e2c3a;--bg-hover:#202b36;--bg-active:#2b5278;--bg-message-own:#2b5278;--bg-message-other:#182533;--bg-input:#242f3d;--bg-modal:#1e2c3a;--text-primary:#f5f5f5;--text-secondary:#7e919d;--text-accent:#6ab2f2;--text-link:#6ab3f3;--text-danger:#e53935;--text-green:#4caf50;--border-color:#0e1621;--border-light:#1e2c3a55;--scrollbar:#2c3e50;--scrollbar-hover:#3d5a73;--shadow:0 2px 20px #0000004d;--radius:12px;--radius-sm:8px;--transition:0.2s ease}#root,body,html{height:100%;overflow:hidden;width:100%}body{-webkit-font-smoothing:antialiased;background:#0e1621;background:var(--bg-primary);color:#f5f5f5;color:var(--text-primary);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#0000}::-webkit-scrollbar-thumb{background:#2c3e50;background:var(--scrollbar);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#3d5a73;background:var(--scrollbar-hover)}::selection{background:#2b5278;background:var(--bg-active);color:#f5f5f5;color:var(--text-primary)}.app-container{overflow:hidden}.app-container,.auth-page{display:flex;height:100vh;width:100vw}.auth-page{align-items:center;background:linear-gradient(135deg,#0e1621,#17212b 50%,#1e2c3a);justify-content:center}.auth-card{background:#17212b;background:var(--bg-secondary);border-radius:16px;box-shadow:0 2px 20px #0000004d;box-shadow:var(--shadow);max-width:400px;padding:48px 40px;width:100%}.auth-logo{align-items:center;background:linear-gradient(135deg,#6ab2f2,#2b5278);border-radius:50%;display:flex;font-size:48px;height:120px;justify-content:center;margin:0 auto 24px;width:120px}.auth-card h1{font-size:24px;font-weight:600;margin-bottom:8px;text-align:center}.auth-card p.subtitle{color:#7e919d;color:var(--text-secondary);font-size:14px;margin-bottom:32px;text-align:center}.auth-form{display:flex;flex-direction:column;gap:16px}.input-group{position:relative}.input-group input{background:#242f3d;background:var(--bg-input);border:2px solid #0000;border-radius:8px;border-radius:var(--radius-sm);color:#f5f5f5;color:var(--text-primary);font-family:inherit;font-size:15px;outline:none;padding:14px 16px;transition:.2s ease;transition:var(--transition);width:100%}.input-group input::placeholder{color:#7e919d;color:var(--text-secondary)}.input-group input:focus{border-color:#6ab2f2;border-color:var(--text-accent)}.btn-primary{background:#6ab2f2;background:var(--text-accent);border:none;border-radius:8px;border-radius:var(--radius-sm);color:#fff;cursor:pointer;font-family:inherit;font-size:15px;font-weight:600;padding:14px;transition:.2s ease;transition:var(--transition);width:100%}.btn-primary:hover{background:#5a9fd4;transform:translateY(-1px)}.btn-primary:active{transform:translateY(0)}.auth-switch{color:#7e919d;color:var(--text-secondary);font-size:14px;margin-top:16px;text-align:center}.auth-switch span{color:#6ab2f2;color:var(--text-accent);cursor:pointer;font-weight:500}.auth-switch span:hover{text-decoration:underline}.auth-error{background:#e5393522;border-radius:8px;border-radius:var(--radius-sm);color:#e53935;color:var(--text-danger);font-size:13px;padding:10px 14px;text-align:center}.sidebar{background:#17212b;background:var(--bg-secondary);border-right:1px solid #0e1621;border-right:1px solid var(--border-color);display:flex;flex-direction:column;height:100vh;min-width:380px;width:380px}.sidebar-header{gap:8px;height:56px;padding:8px 12px}.menu-btn,.sidebar-header{align-items:center;display:flex;flex-shrink:0}.menu-btn{background:#0000;border:none;border-radius:50%;color:#7e919d;color:var(--text-secondary);cursor:pointer;font-size:20px;height:40px;justify-content:center;transition:.2s ease;transition:var(--transition);width:40px}.menu-btn:hover{background:#202b36;background:var(--bg-hover);color:#f5f5f5;color:var(--text-primary)}.search-container{flex:1 1;position:relative}.search-input{background:#242f3d;background:var(--bg-input);border:none;border-radius:22px;color:#f5f5f5;color:var(--text-primary);font-family:inherit;font-size:14px;outline:none;padding:10px 16px 10px 40px;transition:.2s ease;transition:var(--transition);width:100%}.search-input::placeholder{color:#7e919d;color:var(--text-secondary)}.search-input:focus{background:#1e2c3a;background:var(--bg-tertiary)}.search-icon{color:#7e919d;color:var(--text-secondary);font-size:14px;left:14px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.chat-list{flex:1 1;overflow-x:hidden;overflow-y:auto}.chat-item{align-items:center;cursor:pointer;display:flex;gap:12px;padding:8px 12px;position:relative;transition:.2s ease;transition:var(--transition)}.chat-item:hover{background:#202b36;background:var(--bg-hover)}.chat-item.active{background:#2b5278;background:var(--bg-active)}.chat-avatar{align-items:center;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:20px;font-weight:600;height:54px;justify-content:center;overflow:hidden;position:relative;width:54px}.chat-avatar img{height:100%;object-fit:cover;width:100%}.online-dot{background:#4caf50;background:var(--text-green);border:3px solid #17212b;border:3px solid var(--bg-secondary);border-radius:50%;bottom:1px;height:14px;position:absolute;right:1px;width:14px}.chat-item.active .online-dot{border-color:#2b5278;border-color:var(--bg-active)}.chat-info{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.chat-info-top{align-items:center;display:flex;justify-content:space-between}.chat-name{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-time{color:#7e919d;color:var(--text-secondary);flex-shrink:0;font-size:12px;margin-left:8px}.chat-item.active .chat-time{color:#ffffffaa}.chat-info-bottom{align-items:center;display:flex;justify-content:space-between}.chat-last-msg{color:#7e919d;color:var(--text-secondary);flex:1 1;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-last-msg .sender-name{color:#6ab2f2;color:var(--text-accent);font-weight:500}.chat-item.active .chat-last-msg{color:#ffffffaa}.unread-badge{align-items:center;background:#6ab2f2;background:var(--text-accent);border-radius:11px;color:#fff;display:flex;flex-shrink:0;font-size:12px;font-weight:600;height:22px;justify-content:center;margin-left:8px;min-width:22px;padding:0 6px}.chat-item.active .unread-badge{background:#fff;color:#2b5278;color:var(--bg-active)}.section-header{color:#6ab2f2;color:var(--text-accent);font-size:14px;font-weight:600;padding:12px 16px 8px}.search-results{flex:1 1;overflow-y:auto}.user-item{align-items:center;cursor:pointer;display:flex;gap:12px;padding:10px 16px;transition:.2s ease;transition:var(--transition)}.user-item:hover{background:#202b36;background:var(--bg-hover)}.user-item .chat-avatar{font-size:18px;height:46px;width:46px}.user-item-info h4{font-size:15px;font-weight:500}.user-item-info p{color:#7e919d;color:var(--text-secondary);font-size:13px}.chat-window{background:#0e1621;background:var(--bg-primary);display:flex;flex:1 1;flex-direction:column;height:100vh;position:relative}.chat-window:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23fff' fill-opacity='.02' fill-rule='evenodd'/%3E%3C/svg%3E");content:"";inset:0;pointer-events:none;position:absolute;z-index:0}.chat-window>*{position:relative;z-index:1}.chat-header{align-items:center;background:#17212b;background:var(--bg-secondary);border-bottom:1px solid #0e1621;border-bottom:1px solid var(--border-color);display:flex;flex-shrink:0;gap:12px;height:56px;padding:8px 16px}.chat-header .chat-avatar{cursor:pointer;font-size:16px;height:42px;width:42px}.chat-header-info{cursor:pointer;flex:1 1;min-width:0}.chat-header-info h3{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-header-info p{color:#7e919d;color:var(--text-secondary);font-size:13px}.chat-header-info p.online{color:#6ab2f2;color:var(--text-accent)}.header-actions{display:flex;gap:4px}.header-actions button{align-items:center;background:#0000;border:none;border-radius:50%;color:#7e919d;color:var(--text-secondary);cursor:pointer;display:flex;font-size:18px;height:40px;justify-content:center;transition:.2s ease;transition:var(--transition);width:40px}.header-actions button:hover{background:#202b36;background:var(--bg-hover);color:#f5f5f5;color:var(--text-primary)}.messages-area{display:flex;flex:1 1;flex-direction:column;overflow-y:auto;padding:8px 0}.messages-container{display:flex;flex:1 1;flex-direction:column;justify-content:flex-end;margin:0 auto;max-width:720px;padding:0 16px;width:100%}.date-separator{display:flex;justify-content:center;padding:8px 0;position:sticky;top:0;z-index:2}.date-separator span{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0006;border-radius:12px;color:#fffc;font-size:13px;font-weight:500;padding:4px 12px}.message-wrapper{align-items:flex-start;display:flex;margin-bottom:2px;padding:0 8px}.message-wrapper.own{justify-content:flex-end}.message-wrapper.other{justify-content:flex-start}.message-wrapper.continued{margin-bottom:1px}.message-wrapper.last-in-group{margin-bottom:8px}.message-bubble{word-wrap:break-word;border-radius:12px;line-height:1.4;max-width:480px;min-width:80px;padding:6px 10px 4px;position:relative}.message-wrapper.own .message-bubble{background:#2b5278;background:var(--bg-message-own);border-bottom-right-radius:4px}.message-wrapper.other .message-bubble{background:#182533;background:var(--bg-message-other);border-bottom-left-radius:4px}.message-wrapper.own.last-in-group .message-bubble{border-bottom-right-radius:12px}.message-wrapper.other.last-in-group .message-bubble{border-bottom-left-radius:12px}.message-sender{color:#6ab2f2;color:var(--text-accent);font-size:13px;font-weight:600;margin-bottom:2px}.message-text{font-size:15px;line-height:1.45;white-space:pre-wrap}.message-meta{align-items:center;display:flex;float:right;gap:4px;justify-content:flex-end;margin-left:12px;margin-top:2px;padding-top:2px}.message-time{color:#ffffff77;font-size:11px}.message-edited{color:#ffffff55;font-size:11px;font-style:italic}.message-status{color:#ffffff77;display:flex;font-size:14px}.message-status.read{color:#6ab2f2}.reply-preview{background:#ffffff11;border-left:2px solid #6ab2f2;border-left:2px solid var(--text-accent);border-radius:4px;cursor:pointer;font-size:13px;margin-bottom:4px;padding:4px 8px}.reply-preview .reply-name{color:#6ab2f2;color:var(--text-accent);font-size:12px;font-weight:600}.reply-preview .reply-text{color:#7e919d;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-image{border-radius:8px;margin:4px 0;max-width:320px;overflow:hidden}.message-image img{display:block;width:100%}.message-file{gap:10px;padding:4px 0}.file-icon,.message-file{align-items:center;display:flex}.file-icon{background:#6ab2f2;background:var(--text-accent);border-radius:10px;flex-shrink:0;font-size:18px;height:42px;justify-content:center;width:42px}.file-info{min-width:0}.file-name{color:#f5f5f5;color:var(--text-primary);font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-input-area{background:#17212b;background:var(--bg-secondary);border-top:1px solid #0e1621;border-top:1px solid var(--border-color);padding:8px 8px 12px}.reply-bar{align-items:center;background:#1e2c3a;background:var(--bg-tertiary);border-radius:8px 8px 0 0;border-radius:var(--radius-sm) var(--radius-sm) 0 0;display:flex;gap:10px;margin-bottom:-1px;padding:8px 12px}.reply-bar-content{border-left:2px solid #6ab2f2;border-left:2px solid var(--text-accent);flex:1 1;min-width:0;padding-left:10px}.reply-bar-content .reply-name{color:#6ab2f2;color:var(--text-accent);font-size:13px;font-weight:600}.reply-bar-content .reply-text{color:#7e919d;color:var(--text-secondary);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-bar button{background:#0000;border:none;color:#7e919d;color:var(--text-secondary);cursor:pointer;font-size:18px;padding:4px}.input-row{align-items:flex-end;background:#242f3d;background:var(--bg-input);border-radius:22px;display:flex;gap:8px;padding:4px 4px 4px 6px}.input-row button{align-items:center;background:#0000;border:none;border-radius:50%;color:#7e919d;color:var(--text-secondary);cursor:pointer;display:flex;flex-shrink:0;font-size:20px;height:40px;justify-content:center;transition:.2s ease;transition:var(--transition);width:40px}.input-row button:hover{color:#6ab2f2;color:var(--text-accent)}.input-row textarea{background:#0000;border:none;color:#f5f5f5;color:var(--text-primary);flex:1 1;font-family:inherit;font-size:15px;line-height:1.4;max-height:200px;min-height:36px;outline:none;padding:8px 4px;resize:none}.input-row textarea::placeholder{color:#7e919d;color:var(--text-secondary)}.send-btn{background:#6ab2f2!important;background:var(--text-accent)!important;border-radius:50%!important;color:#fff!important;transition:.2s ease;transition:var(--transition)}.send-btn:hover{background:#5a9fd4!important;transform:scale(1.05)}.empty-state{background:#0e1621;background:var(--bg-primary);flex:1 1;flex-direction:column;gap:16px}.empty-state,.empty-state-icon{align-items:center;display:flex;justify-content:center}.empty-state-icon{background:#17212b;background:var(--bg-secondary);border-radius:50%;font-size:48px;height:120px;width:120px}.empty-state h3{font-size:20px;font-weight:500}.empty-state h3,.empty-state p{color:#7e919d;color:var(--text-secondary)}.empty-state p{font-size:14px;line-height:1.5;max-width:300px;text-align:center}.modal-overlay{align-items:center;animation:fadeIn .2s ease;background:#00000080;display:flex;inset:0;justify-content:center;position:fixed;z-index:1000}.modal{animation:slideUp .25s ease;background:#1e2c3a;background:var(--bg-modal);border-radius:16px;box-shadow:0 2px 20px #0000004d;box-shadow:var(--shadow);max-height:80vh;max-width:420px;overflow-y:auto;width:100%}.modal-header{align-items:center;border-bottom:1px solid #1e2c3a55;border-bottom:1px solid var(--border-light);display:flex;justify-content:space-between;padding:16px 20px}.modal-header h2{font-size:18px;font-weight:600}.modal-close{align-items:center;background:#0000;border:none;border-radius:50%;color:#7e919d;color:var(--text-secondary);cursor:pointer;display:flex;font-size:20px;height:36px;justify-content:center;width:36px}.modal-close:hover{background:#202b36;background:var(--bg-hover)}.modal-body{padding:20px}.modal-body .input-group{margin-bottom:16px}.modal-body label{color:#6ab2f2;color:var(--text-accent);display:block;font-size:13px;font-weight:500;margin-bottom:6px}.modal-actions{border-top:1px solid #1e2c3a55;border-top:1px solid var(--border-light);display:flex;gap:10px;justify-content:flex-end;padding:16px 20px}.btn-secondary{background:#0000;border:none;border-radius:8px;border-radius:var(--radius-sm);color:#6ab2f2;color:var(--text-accent);cursor:pointer;font-family:inherit;font-size:14px;font-weight:500;padding:10px 20px;transition:.2s ease;transition:var(--transition)}.btn-secondary:hover{background:#202b36;background:var(--bg-hover)}.btn-small{border-radius:8px;border-radius:var(--radius-sm);font-size:14px;padding:10px 24px}.profile-avatar-large{align-items:center;border-radius:50%;color:#fff;display:flex;font-size:36px;font-weight:600;height:100px;justify-content:center;margin:0 auto 20px;width:100px}.sidebar-menu-overlay{animation:fadeIn .15s ease;background:#0006;inset:0;position:fixed;z-index:999}.sidebar-menu{animation:slideRight .2s ease;background:#17212b;background:var(--bg-secondary);bottom:0;display:flex;flex-direction:column;left:0;position:fixed;top:0;width:300px;z-index:1000}.sidebar-menu-header{background:#1e2c3a;background:var(--bg-tertiary);padding:16px 20px}.sidebar-menu-header .user-avatar-wrap{margin-bottom:12px}.sidebar-menu-header h3{font-size:16px;font-weight:600}.sidebar-menu-header p{color:#7e919d;color:var(--text-secondary);font-size:13px}.sidebar-menu-items{flex:1 1;padding:8px 0}.sidebar-menu-item{align-items:center;cursor:pointer;display:flex;font-size:15px;gap:16px;padding:12px 20px;transition:.2s ease;transition:var(--transition)}.sidebar-menu-item:hover{background:#202b36;background:var(--bg-hover)}.sidebar-menu-item .icon{color:#7e919d;color:var(--text-secondary);font-size:20px;text-align:center;width:28px}.sidebar-menu-item.danger,.sidebar-menu-item.danger .icon{color:#e53935;color:var(--text-danger)}.context-menu{animation:fadeIn .1s ease;background:#17212b;background:var(--bg-secondary);border-radius:8px;border-radius:var(--radius-sm);box-shadow:0 4px 20px #0006;min-width:180px;padding:6px 0;position:fixed;z-index:1001}.context-menu-item{align-items:center;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:10px 16px;transition:.2s ease;transition:var(--transition)}.context-menu-item:hover{background:#202b36;background:var(--bg-hover)}.context-menu-item.danger{color:#e53935;color:var(--text-danger)}.context-menu-item .icon{font-size:16px;text-align:center;width:20px}.member-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.member-chip{align-items:center;background:#2b5278;background:var(--bg-active);border-radius:16px;display:flex;font-size:13px;gap:6px;padding:4px 10px 4px 6px}.member-chip button{background:none;border:none;color:#7e919d;color:var(--text-secondary);cursor:pointer;display:flex;font-size:14px;padding:0}.member-list-select .user-item{padding:8px 12px}.member-list-select .user-item.selected{background:#2b5278;background:var(--bg-active)}.checkbox{align-items:center;border:2px solid #7e919d;border:2px solid var(--text-secondary);border-radius:50%;display:flex;flex-shrink:0;height:22px;justify-content:center;transition:.2s ease;transition:var(--transition);width:22px}.checkbox.checked{border-color:#6ab2f2;border-color:var(--text-accent)}.checkbox.checked,.fab{background:#6ab2f2;background:var(--text-accent)}.fab{align-items:center;border:none;border-radius:50%;box-shadow:0 4px 12px #0000004d;color:#fff;cursor:grab;display:flex;font-size:24px;height:56px;justify-content:center;position:fixed;transition:transform .1s;user-select:none;-webkit-user-select:none;width:56px;z-index:100}.fab:active{cursor:grabbing;transform:scale(1.1)}.fab:hover{background:#5a9fd4}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideRight{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@media (max-width:768px){.sidebar{min-width:100%;width:100%}.app-container.chat-open .sidebar,.empty-state{display:none}.chat-window{width:100%}.back-btn-mobile{display:flex!important}}.back-btn-mobile{align-items:center;background:#0000;border:none;border-radius:50%;color:#7e919d;color:var(--text-secondary);cursor:pointer;display:none;flex-shrink:0;font-size:20px;height:40px;justify-content:center;width:40px}.back-btn-mobile:hover{background:#202b36;background:var(--bg-hover)}
/*# sourceMappingURL=main.fb17c8aa.css.map*/