@import url(https://fonts.googleapis.com/css?family=Montserrat);*{margin:0;padding:0}*,header{box-sizing:border-box}header{align-items:center;background:#42424281;display:flex;padding:15px;width:100%}.logo img{height:45px;margin-right:10px;width:45px}.Namepr{color:#fff;font-family:Montserrat}.messenger-wrapper{align-items:center;box-sizing:border-box;display:flex;gap:20px;justify-content:center;min-height:85vh;padding:0 20px;width:100%}.messenger{flex-shrink:0}body{background:linear-gradient(to left top,#0000 48.9%,#111112 51%,#111112 78%,#0000 80%),linear-gradient(to left top,#111112 28%,#0000 30%);background-color:#000;background-size:6em 6em;margin:0;overflow:hidden}.wrapper{align-items:center;display:flex;justify-content:center;min-height:93vh;text-align:center;width:100%}.messenger{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#2a2a2ae6;border-radius:16px;display:flex;height:85vh;max-width:1100px;overflow:hidden;width:90vw}.messenger-sidebar{background:#1a1a1ae6;border-right:1px solid #5a5a5a;display:flex;flex-direction:column;overflow:hidden;width:320px}.messenger-chat{display:flex;flex:1 1;flex-direction:column}.context-menu{background:#005c0a;border-radius:8px;position:fixed}.context-menu-item{border-radius:8px;color:#fff;cursor:pointer;font-family:Montserrat;font-size:14px;min-width:150px;padding:10px 15px;transition:background .2s}.context-menu-item:hover{background:#014522;border-radius:8px;min-width:150px}.reply-message-btn{align-items:center;background:#02851e;border:none;border-radius:50%;bottom:-8px;color:#1a1a1a;cursor:pointer;display:flex;font-size:12px;height:24px;justify-content:center;opacity:0;position:absolute;right:-8px;transition:opacity .2s,transform .2s;width:24px;z-index:10}.message:hover .reply-message-btn{opacity:1}.reply-message-btn:hover{background:#016a36;transform:scale(1.1)}.reply-preview{align-items:center;background:#3a3a3a;border-left:3px solid #015e2c;border-radius:8px;display:flex;justify-content:space-between;margin:0 auto 10px;padding:8px 15px;width:80%}.reply-preview-label{color:#79f57d;font-size:12px}.reply-preview-text{color:#fff;font-size:13px;font-style:italic}.reply-preview-cancel{align-items:center;background:none;border:1px solid #afafaf;border-radius:50%;color:#afafaf;cursor:pointer;display:flex;font-size:16px;height:24px;justify-content:center;transition:all .2s;width:24px}.reply-preview-cancel:hover{background:#f44;border-color:#f44;color:#fff;transform:scale(1.1)}.message.me .reply-message-btn{left:-8px;right:auto}.delete-message-btn{height:24px;transition:opacity .2s,transform .2s;width:24px;z-index:10}.replied-message{background:#002e1226;border-left:3px solid #02716d;border-radius:8px;color:#fff;margin-bottom:8px;padding:6px 10px}.replied-author{font-size:11px;margin-bottom:2px}.replied-author,.replied-text{color:#fff;font-family:Montserrat;font-weight:700}.replied-text{font-size:12px;text-align:start}.message.me .replied-message{background:rgba(1,48,16,.308)}.scroll-to-bottom-btn{background:#79c1f5;border:none;border-radius:20px;bottom:100px;box-shadow:0 2px 10px #0003;color:#1a1a1a;cursor:pointer;display:block;font-family:Montserrat;font-size:12px;font-weight:700;padding:8px 16px;position:absolute;right:20px;transition:all .2s;z-index:100}.scroll-to-bottom-btn:hover{background:#5fa8d3;transform:scale(1.02)}.chats-list{display:flex;flex-direction:column;height:100%;overflow:hidden;scrollbar-color:#3e3e3e #1a1a1a}.chats-empty{align-items:center;color:red;display:flex;font-family:Montserrat;font-size:18px;height:100%;justify-content:center}.chats-header{border-bottom:1px solid #5a5a5aaa;padding:20px}.chats-header h3{color:#afafaf;font-family:Montserrat;font-size:20px;margin:0}.chats-items{flex:1 1;min-height:0;overflow-x:hidden;overflow-y:auto}.chat-item{border-bottom:1px solid #3a3a3a;cursor:pointer;display:flex;padding:15px 20px;transition:background .2s}.chat-item:hover{background:#3a3a3a}.chat-item.active{background:#000101a3}.chat-avatar{align-items:center;background:#424242;border-radius:50%;display:flex;flex-shrink:0;font-size:24px;height:48px;justify-content:center;margin-right:12px;position:relative;width:48px}.chat-info{flex:1 1;min-width:0}.chat-name{color:#d3d3d3;font-family:Montserrat;font-size:16px;font-weight:700;margin-bottom:6px;text-align:start}.public-badge{background:#424242;border-radius:10px;color:#afafaf;font-size:10px;margin-left:8px;padding:2px 6px}.chat-last-message{color:#888;text-align:start}.chat-meta{flex-shrink:0;text-align:right}.chat-time{color:#888;margin-bottom:4px}.chat-time,.chat-unread{font-family:Montserrat;font-size:11px}.chat-unread{background:#630101;border-radius:10px;color:#fff;display:inline-block;padding:2px 6px}.verify-container{align-items:center;display:flex;justify-content:center;min-height:80vh}.verify-form{background:#504a4a32;border-radius:16px;max-width:450px;padding:40px;text-align:center;width:100%}.Mail h1{color:#afafaf;margin-bottom:20px}.Mail h1,.Mail p{font-family:Montserrat}.Mail p{color:#888;margin-bottom:5px}.verify-email{color:#79c1f5!important;font-weight:700;margin-bottom:20px!important}.code-inputs{display:flex;gap:12px;justify-content:center;margin:30px 0}.code-input{background:#3a3a3a;border:2px solid #5a5a5a;border-radius:12px;color:#fff;font-family:Montserrat;font-size:24px;font-weight:700;height:60px;text-align:center;width:50px}.code-input:focus{border-color:#79c1f5;outline:none}.resend-section{margin-top:20px}.resend-btn{background:#0000;border:none;color:#79c1f5;cursor:pointer;font-family:Montserrat;font-size:14px}.resend-btn:disabled{color:#888;cursor:not-allowed}.file-uploader{margin-right:10px}.file-preview,.file-uploader{align-items:center;display:flex}.file-preview{background:#3a3a3a;border-radius:20px;gap:8px;padding:5px 10px}.file-name{color:#afafaf;font-family:Montserrat;font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.remove-file-btn{background:none;border:none;color:#f44;cursor:pointer;font-size:14px;font-weight:700}.message-attachment{margin-top:8px}.attachment-image{border-radius:8px;cursor:pointer;max-height:150px;max-width:200px}.attachment-file{align-items:center;background:#0003;border-radius:8px;color:#79c1f5;display:inline-flex;font-size:12px;gap:8px;padding:5px 10px;text-decoration:none}.attachment-file:hover{background:#0000004d}.profile-container{background:#2a2a2ae6;display:flex;flex-direction:column;height:100%;overflow-y:auto}.profile-header{align-items:center;background:#1a1a1ae6;border-bottom:1px solid #5a5a5a;display:flex;gap:20px;padding:30px;position:relative}.profile-avatar-large{background:#79c1f5}.profile-header-info{flex:1 1}.profile-header-info h2{color:#afafaf;margin:0}.profile-login{color:#888;font-size:14px;margin-top:5px}.close-profile-btn{background:none;border:none;color:#afafaf;cursor:pointer;font-size:24px;position:absolute;right:15px;top:15px}.close-profile-btn:hover{color:#fff}.profile-info{display:flex;flex-direction:column;gap:20px;padding:20px 30px}.profile-row{display:flex;gap:15px}.profile-label{color:#79c1f5;font-weight:700;width:100px}.profile-value{color:#d3d3d3;flex:1 1}.profile-textarea{resize:vertical}.profile-date-input,.profile-edit-input,.profile-textarea{background:#3a3a3a;border:1px solid #5a5a5a;border-radius:8px;color:#d3d3d3;flex:1 1;font-family:Montserrat;padding:8px}.profile-actions{border-top:1px solid #5a5a5a;display:flex;gap:15px;padding:20px 30px}.profile-cancel-btn,.profile-chat-btn,.profile-edit-btn,.profile-save-btn{border:none;border-radius:8px;cursor:pointer;font-family:Montserrat;font-weight:700;padding:10px 20px}.profile-edit-btn{background:#79c1f5;color:#1a1a1a}.profile-save-btn{background:#4caf50;color:#fff}.profile-cancel-btn{background:#f44336;color:#fff}.profile-cancel-btn:hover{background:#d32f2f}.profile-chat-btn{background:#79c1f5;color:#1a1a1a}.profile-loading{align-items:center;color:#afafaf;display:flex;height:100%;justify-content:center}.profile-avatar-wrapper{height:80px;position:relative;width:80px}.profile-avatar-img,.profile-avatar-large{height:80px;width:80px}.profile-avatar-large{align-items:center;background:#79f5c1;border-radius:50%;color:#fff;display:flex;font-size:36px;justify-content:center}.users-list .auth-btn{align-items:center;margin-bottom:10px;margin-top:10px}.profile-avatar-edit{align-items:center;background:#29292980;border:none;border-radius:50%;bottom:-5px;cursor:pointer;display:flex;font-size:14px;height:28px;justify-content:center;position:absolute;right:-5px;text-align:center;transition:all .2s;width:28px}.profile-avatar-edit:hover{background:#5fa8d3;transform:scale(1.1)}.chat-avatar-img,.chat-header-avatar-img,.profile-avatar-img,.user-avatar-img{border-radius:50%;height:100%;object-fit:cover;width:100%}.message-files{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.message-files a{color:#7a00ff;font-family:Montserrat}.message-file-image{border-radius:8px;cursor:pointer;max-height:250px;max-width:250px;transition:transform .2s}.message-file-image:hover{transform:scale(1.02)}.message-file-link{align-items:center;background:#0003;border-radius:8px;color:#79c1f5;display:inline-flex;font-size:12px;gap:6px;padding:6px 10px;text-decoration:none}.message-file-link:hover{background:#0000004d}.image-viewer-overlay{align-items:center;animation:fadeIn .2s ease;background:#000000e6;bottom:0;cursor:pointer;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.image-viewer-content{animation:zoomIn .2s ease;cursor:default;max-height:90vh;max-width:90vw;position:relative}@keyframes zoomIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.image-viewer-img{border-radius:8px;box-shadow:0 4px 20px #00000080;max-height:90vh;max-width:90vw;object-fit:contain}.image-viewer-close{background:none;border:none;color:#fff;cursor:pointer;font-size:32px;padding:5px 10px;position:absolute;right:0;top:-50px;transition:all .2s;z-index:2001}.image-viewer-close:hover{color:#79c1f5;transform:scale(1.1)}.chat-container{background:#2a2a2aa7;display:flex;flex-direction:column;height:100%;position:relative;scrollbar-color:#3e3e3e #1a1a1a;width:100%}.chat-header{background:#1a1a1a93;border-bottom:1px solid #5a5a5a;padding:15px 20px}.chat-header-info{align-items:center;display:flex;gap:12px}.chat-header-info h2{color:#afafaf;font-family:Montserrat;font-size:20px;margin:0}.chat-avatar-large{align-items:center;background:#424242;border-radius:50%;display:flex;font-size:24px;height:48px;justify-content:center;overflow:hidden;transition:all .2s;width:48px}.chat-avatar-large:hover{opacity:.8}.avatar-edit-overlay{align-items:center;background:#00000080;border-radius:50%;cursor:pointer;display:flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s;width:100%}.chat-avatar-large:hover .avatar-edit-overlay{opacity:1}.chat-header h2{font-size:20px}.chat-badge,.chat-header h2{color:#afafaf;font-family:Montserrat}.chat-badge{background:#424242;border-radius:12px;font-size:11px;margin-left:8px;padding:2px 8px}.chat-messages{flex:1 1;gap:10px;min-height:0;overflow-y:auto;padding:15px}.chat-messages,.message{display:flex;flex-direction:column}.message{max-width:70%}.message.me{align-items:flex-end;margin-left:auto}.message.them{align-items:flex-start;margin-right:auto}.message-bubble{overflow-wrap:break-word;white-space:normal}.message.me .message-bubble{background:#00ff73a3;border-bottom-right-radius:4px;color:#fff}.message.them .message-bubble{background:#0f0f0fa3;border-bottom-left-radius:4px;color:#d3d3d3}.message-author{color:#79c1f5;font-size:12px;font-weight:700;margin-bottom:4px}.message-author,.message-text{font-family:Montserrat;text-align:start}.message-text{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word;white-space:normal;word-break:break-word}.custom-notification{animation:slideUp .3s ease;border-radius:8px;bottom:30px;box-shadow:0 4px 15px #0000004d;font-family:Montserrat;font-size:14px;font-weight:700;left:50%;padding:12px 24px;position:fixed;transform:translateX(-50%);white-space:nowrap;z-index:2000}.custom-notification.success{background:#4caf50;color:#fff}.custom-notification.error{background:#f44;color:#fff}@keyframes slideUp{0%{opacity:0;transform:translateX(-50%) translateY(20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.chats-header-row{align-items:center;display:flex;justify-content:space-between}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b3;bottom:0;color:#fff;display:flex;font-family:Montserrat;font-size:16px;justify-content:center;left:0;position:fixed;right:0;scrollbar-color:#3e3e3e #1a1a1a;top:0;z-index:1000}.create-chat-modal{background:#2a2a2a;border-radius:16px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:500px;overflow:hidden;width:90%}.create-chat-btn{background:#3a3a3a;border:none;border-radius:8px;color:#afafaf;cursor:pointer;font-size:18px;padding:5px 10px;transition:all .2s}.modal-header h3{color:#fff;font-family:Montserrat;font-size:17px;margin-top:15px}.create-chat-btn:hover{background:#79c1f5;color:#1a1a1a}.modal-body{flex:1 1;overflow-y:auto;padding:20px}.form-group1{color:#afafaf;font-size:14px;margin-bottom:8px;margin-top:8px}.form-group1 label{margin-bottom:3px}.form-group label,.form-group1 label{color:#afafaf;display:block;font-family:Montserrat;font-size:14px}.form-group label{margin-bottom:8px}.chat-name-input,.user-search-input{background:#3a3a3a;border:1px solid #5a5a5a;border-radius:8px;color:#fff;font-family:Montserrat;padding:10px;width:100%}.selected-users{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:5px}.selected-user-tag{align-items:center;background:#79c1f5;border-radius:16px;color:#1a1a1a;display:inline-flex;font-size:12px;gap:6px;padding:4px 8px}.selected-user-tag button{background:none;border:none;color:#1a1a1a;cursor:pointer;font-size:12px}.users-list-modal{border:1px solid #5a5a5a;border-radius:8px;max-height:300px;overflow-y:auto}.user-item-modal{align-items:center;border-bottom:1px solid #3a3a3a;cursor:pointer;display:flex;padding:10px;transition:background .2s}.user-item-modal:hover{background:#3a3a3a}.user-item-modal.selected{background:#79c1f5;color:#1a1a1a}.user-avatar-modal{align-items:center;background:#79c1f5;border-radius:50%;display:flex;height:36px;justify-content:center;margin-right:10px;width:36px}.check-mark{color:#4caf50;font-weight:700;margin-left:auto}.modal-footer{border-top:1px solid #5a5a5a;display:flex;gap:10px;justify-content:flex-end;padding:15px 20px}.cancel-btn{background:#4a4a4a;border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:Montserrat;padding:8px 16px}.cancel-btn:hover{background:#f57979;color:#1a1a1a;transform:scale(1.02)}.user-name-modal{text-align:start}.create-btn{background:#79c1f5;border:none;border-radius:8px;color:#1a1a1a;cursor:pointer;font-family:Montserrat;font-weight:700;padding:8px 16px}.create-btn:hover{background:#5fd363;color:#1a1a1a;transform:scale(1.02)}.create-btn:disabled{cursor:not-allowed;opacity:.5}.sidebar-tabs{background:#1a1a1ae6;border-bottom:1px solid #5a5a5a;display:flex}.sidebar-tab{background:#0000;border:none;color:#afafaf;cursor:pointer;flex:1 1;font-family:Montserrat;font-size:14px;padding:12px;transition:all .2s}.sidebar-tab:hover{background:#3a3a3a;color:#fff}.sidebar-tab.active{background:#2a2a2a;border-bottom:2px solid #79c1f5;color:#79c1f5}.users-list-container{background:#2a2a2ae6;display:flex;flex-direction:column;height:100%;overflow:hidden;scrollbar-color:#3e3e3e #1a1a1a}.users-search-header{border-bottom:1px solid #5a5a5a;padding:15px}.users-search{background:#3a3a3a;border:1px solid #5a5a5a;border-radius:8px;box-sizing:border-box;color:#fff;font-family:Montserrat;font-size:14px;padding:10px 15px;width:100%}.users-search:focus{border-color:#79c1f5;outline:none}.users-list{flex:1 1;min-height:0;overflow-x:hidden;overflow:hidden}.user-status{color:#939393;font-family:Montserrat;font-size:14px;margin-top:auto}.user-item{align-items:center;border-bottom:1px solid #3a3a3a;cursor:pointer;display:flex;padding:12px 15px;transition:background .2s}.user-item:hover{background:#3a3a3a}.user-avatar{align-items:center;background:#79c1f5;border-radius:50%;display:flex;flex-shrink:0;font-size:20px;height:48px;justify-content:center;margin-right:12px;position:relative;width:48px}.online-dot{background:#4caf50;border:2px solid #1a1a1a;border-radius:50%;bottom:2px;height:12px;position:absolute;right:2px;width:12px}.online-text{color:#4caf50;font-size:12px}.offline-text{color:#888;font-size:12px}.user-status{font-size:12px;margin-top:4px}.user-item .user-avatar{align-items:center;background:#79c1f5;border-radius:50%;display:flex;flex-shrink:0;font-size:16px;height:40px;justify-content:center;margin-right:12px;width:40px}.user-item .user-info{flex:1 1;font-family:Montserrat;text-align:start}.chat-last-message{color:#8c9fab;font-family:Montserrat;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-item .user-name{color:#fff;font-family:Montserrat;font-weight:700;margin-bottom:2px}.user-item .user-login{color:#888;font-family:Montserrat;font-size:11px}.users-empty,.users-loading{align-items:center;color:#888;display:flex;font-family:Montserrat;justify-content:center;padding:40px}.confirm-modal{animation:modalFadeIn .2s ease;background:#2a2a2a;border-radius:16px;box-shadow:0 10px 40px #0000004d;max-width:400px;overflow:hidden;width:90%}.confirm-delete-btn{background:#f44;border:none;border-radius:8px;color:#fff;cursor:pointer;font-family:Montserrat;font-weight:700;padding:8px 20px}.confirm-delete-btn:hover{background:#c00}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.no-chats{color:#888}.no-chat-selected,.no-chats{align-items:center;display:flex;font-family:Montserrat;font-size:16px;height:100%;justify-content:center}.no-chat-selected{color:#fff}.no-chats p{background:#1a1a1ae6;border-radius:12px;padding:20px 30px}.button-exit-chat{align-items:end;background:#40e0d000;color:#fff;font-family:Montserrat;font-size:20px;margin-top:5px;position:absolute;right:20px;text-align:center;top:15px;width:auto}.member-count-badge{background:#3a3a3a;border-radius:12px;color:#afafaf;font-size:12px;font-weight:400;margin-left:10px;padding:2px 8px}.chat-header h2{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin:0}.date-separator{display:flex;justify-content:center;margin:20px 0;position:relative}.date-separator-text{background:#3a3a3a;border-radius:20px;color:#afafaf;font-family:Montserrat;font-size:12px;padding:4px 12px}.message-time{color:#888;font-family:Montserrat;font-size:10px;margin-top:4px;padding:0 4px}.message-bubble{word-wrap:break-word;border-radius:18px;max-width:100%;padding:10px 16px;position:relative}.delete-message-btn{align-items:center;background:#f44;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:12px;height:20px;justify-content:center;opacity:0;position:absolute;right:-8px;top:-8px;transition:opacity .2s;width:20px}.message:hover .delete-message-btn{opacity:1}.delete-message-btn:hover{background:#c00;transform:scale(1.1)}.message.deleted .message-bubble{background:#3a3a3ab2;color:#888;font-style:italic}.message.deleted .message-bubble em{font-size:12px}.message.deleted .delete-message-btn{display:none}.creating-overlay{align-items:center;background:#1a1a1a;border-radius:8px;bottom:20px;box-shadow:0 4px 15px #0000004d;color:#fff;display:flex;font-family:Montserrat;gap:10px;left:50%;padding:10px 20px;position:fixed;transform:translateX(-50%);z-index:1000}.creating-spinner{animation:spin .8s linear infinite;border:2px solid #5a5a5a;border-radius:50%;border-top-color:#79c1f5;height:20px;width:20px}@keyframes spin{to{transform:rotate(1turn)}}.chat-input-area{background:#1a1a1aa7;border-top:1px solid #5a5a5a;display:flex;gap:5px;padding:20px}.chat-input-area textarea{background:#2a2a2a;border:1px solid #5a5a5a;border-radius:8px;color:#d3d3d3;flex:1 1;font-family:Montserrat;font-size:14px;margin-right:10px;padding:10px 12px;resize:none}.chat-input-area textarea:focus{border-color:#00020396;outline:none}.chat-input-area textarea::placeholder{color:#888}.chat-input-area button{background:#010e187f;border:1px solid #5a5a5a;border-radius:8px;color:#fff;cursor:pointer;font-family:Montserrat;font-weight:700;margin-bottom:0;padding:20px;text-align:center;transition:all .3s}.chat-input-area button:hover{background:#000101a3;border-color:#888}.loading{color:#afafaf;font-family:Montserrat;font-size:18px;height:100%}.loading,.reg-container{align-items:center;display:flex;justify-content:center}.reg-container{flex:1 1;padding:auto}.error-message{background:#630101;border-radius:15px}.error-message,.success-message{color:#fff;font-family:Montserrat;font-size:14px;margin-bottom:10px;margin-left:auto;margin-right:auto;max-height:300px;max-width:300px;padding:1%;text-align:center}.success-message{background:#195700;border-radius:10px}.auth-form,.reg-form{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#42424281;border-radius:16px;max-width:450px;padding:35px 40px;width:100%}.reg-group input{background:#fff;border:2px solid #e0e0e0;border-radius:10px;color:#333;margin-bottom:15px;padding:6px;width:50%}.reg-group input,.reg-group label{font-family:Montserrat;font-size:16px;font-weight:700}.reg-group label{color:#d3d3d3}.reg-group p{margin-bottom:20px}.reg-group{color:#fff;font-family:Montserrat;font-size:16px;font-weight:700;margin-bottom:5px}.auth-container{align-items:center;display:flex;flex:1 1;justify-content:center;padding:40px 20px}.reg-form h2{color:#afafaf;font-family:Montserrat;font-size:32px;margin-bottom:20px;text-align:center}.reg-footer{color:#d3d3d3}.Regbut,.reg-footer{font-family:Montserrat;font-size:16px;font-weight:700;text-align:center}.Regbut{border:2px solid #fff;border-radius:10px;margin-bottom:15px;margin-top:10px;width:50%}.reg-form a{font-family:Montserrat;font-size:16px;font-weight:700}.Regbut:hover{background:#afafaf;border:2px solid #afafaf}.auth-form h2{color:#afafaf;font-size:32px;text-align:center}.auth-btn,.auth-form h2{font-family:Montserrat;margin-bottom:20px}.auth-btn{background-color:#000;border:2px solid #000;border-radius:8px;color:#fff;font-size:16px;font-weight:700;padding:7px;position:relative;width:auto;z-index:1}.auth-btn:before{animation:glowing 20s linear infinite;background:linear-gradient(45deg,red,#ff7300,#fffb00,#48ff00,#00ffd5,#002bff,#7a00ff,#ff00c8,red);background-size:400%;border-radius:10px;content:"";filter:blur(5px);height:calc(100% + 4px);left:-2px;opacity:0;position:absolute;top:-2px;transition:opacity .3s ease-in-out;width:calc(100% + 4px);z-index:-1}.auth-btn:active{color:#000}.auth-btn:active:after{background:#0000}.auth-btn:hover:before{opacity:1}.auth-btn:active{transform:scale(.98)}.auth-btn:after{border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%}@keyframes glowing{0%{background-position:0 0}50%{background-position:400% 0}to{background-position:0 0}}.chat-messages,.chats-items,.users-list{overflow-y:scroll!important;scrollbar-width:thin}.chat-messages::-webkit-scrollbar,.chats-items::-webkit-scrollbar,.users-list::-webkit-scrollbar{display:block!important;height:8px;width:8px}.chat-messages::-webkit-scrollbar-track,.chats-items::-webkit-scrollbar-track,.users-list::-webkit-scrollbar-track{background:#3a3a3a;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb,.chats-items::-webkit-scrollbar-thumb,.users-list::-webkit-scrollbar-thumb{background:#79c1f5;border-radius:4px}.chat-messages::-webkit-scrollbar-thumb:hover,.chats-items::-webkit-scrollbar-thumb:hover,.users-list::-webkit-scrollbar-thumb:hover{background:#5fa8d3}.form-field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;text-align:left}.form-field label{color:#d3d3d3;font-weight:600;letter-spacing:.3px}.form-field input,.form-field label{font-family:Montserrat;font-size:14px}.form-field input{background:#2a2a2a;border:1px solid #5a5a5a;border-radius:10px;box-sizing:border-box;color:#fff;padding:12px 15px;transition:all .2s ease;width:100%}.form-field input:focus{border-color:#79c1f5;box-shadow:0 0 0 2px #79c1f533;outline:none}.form-field input::placeholder{color:#888;font-size:13px}.form-field input:disabled{cursor:not-allowed;opacity:.6}.link-btn{background:none;border:none;color:#79c1f5;cursor:pointer;font-family:Montserrat;font-size:14px;font-weight:600;margin-left:5px;transition:color .2s}.link-btn:hover{color:#5fa8d3;text-decoration:underline}.auth-footer{color:#d3d3d3;font-family:Montserrat;font-size:14px;margin-top:10px;text-align:center}.theme-toggle-btn{align-items:center;background:#0000;background:#3a3a3a;border:1px solid #5a5a5a;border-radius:50%;color:#afafaf;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;margin-left:10px;margin-right:10px;transition:all .3s;width:40px}.theme-toggle-btn:hover{background:#79c1f5;border-color:#79c1f5;color:#1a1a1a;transform:scale(1.05)}.light-theme .theme-toggle-btn{background:#e5e5e5;border-color:#d0d0d0;color:#555}.light-theme .theme-toggle-btn:hover{background:#79c1f5;color:#fff}.light-theme{background:linear-gradient(to left top,#0000 48.9%,#f1f1f1 51%,#f1f1f1 78%,#0000 80%),linear-gradient(to left top,#f1f1f1 28%,#0000 30%);background-color:#fff;background-size:6em 6em;color:#1f1f1f}.light-theme header{background:#ffffffeb}.light-theme .chat-container,.light-theme .confirm-modal,.light-theme .create-chat-modal,.light-theme .messenger,.light-theme .profile-container,.light-theme .users-list-container{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:hsla(0,0%,96%,.555);border:1px solid #ffffffa6;box-shadow:0 18px 40px #00000014;color:#1f1f1f;scrollbar-color:#b0afaf #f5f5f5d1}.light-theme .chat-header,.light-theme .chat-input-area,.light-theme .messenger-sidebar,.light-theme .profile-header,.light-theme .sidebar-tabs{background:#e8e8e8e6;border-color:#d0d0d0bf}.light-theme header{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffdb;border-bottom:1px solid #00000014}.light-theme p{color:#000}.light-theme .Mail h1,.light-theme .Namepr,.light-theme .auth-form h2,.light-theme .chat-header h2,.light-theme .chat-name,.light-theme .form-field label,.light-theme .message-text,.light-theme .modal-header h3,.light-theme .profile-header-info h2,.light-theme .profile-value,.light-theme .reg-form h2,.light-theme .reg-group label,.light-theme .user-name{color:#1f1f1f}.light-theme .Mail p,.light-theme .auth-footer,.light-theme .chat-last-message,.light-theme .chat-time,.light-theme .form-group1,.light-theme .message-time,.light-theme .offline-text,.light-theme .profile-login,.light-theme .reg-footer,.light-theme .user-item .user-login{color:#666}.light-theme .auth-form,.light-theme .reg-form{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffc4;box-shadow:0 4px 20px #00000014}.light-theme .auth-form h2,.light-theme .reg-form h2{color:#1f1f1f}.light-theme .form-field input,.light-theme .reg-group input{background:#f5f5f5;border:1px solid #d0d0d0;color:#1f1f1f}.light-theme .form-field input:focus,.light-theme .reg-group input:focus{border-color:#79c1f5;box-shadow:0 0 0 2px #79c1f533}.light-theme .chats-list{scrollbar-color:#b0afaf #f5f5f5d1}.light-theme .form-field input::placeholder,.light-theme .reg-group input::placeholder{color:#999}.light-theme .form-field label,.light-theme .reg-group label{color:#333}.light-theme .auth-btn{background:#79c1f5;border:2px solid #79c1f5;color:#fff}.light-theme .auth-btn:before{display:none}.light-theme .auth-btn:hover{background:#5fa8d3;border-color:#5fa8d3}.light-theme .Regbut{background:#e5e5e5;border:2px solid #79c1f5;color:#1f1f1f}.light-theme .Regbut:hover{background:#79c1f5;color:#fff}.light-theme .message.them .message-bubble{background:#e8e8e8;color:#1f1f1f}.light-theme .message.me .message-bubble{background:#c8ffe0;color:#1f1f1f}.light-theme .message-author{color:#2196f3}.light-theme .message.deleted .message-bubble{background:#e0e0e0;color:#777}.light-theme .chat-avatar,.light-theme .chat-avatar-large{background:#d9d9d9}.light-theme .chat-input-area textarea,.light-theme .chat-name-input,.light-theme .code-input,.light-theme .profile-date-input,.light-theme .profile-edit-input,.light-theme .profile-textarea,.light-theme .user-search-input,.light-theme .users-search{background:#fff;border:1px solid #d0d0d0;color:#1f1f1f}.light-theme .chat-input-area textarea::placeholder{color:#999}.light-theme .chat-input-area textarea:focus,.light-theme .users-search:focus{border-color:#79c1f5}.light-theme .reply-preview{background:#f0f0f0}.light-theme .replied-author,.light-theme .replied-text{color:#1f1f1f}.light-theme .chat-input-area button{background:#79c1f5;border:none;color:#fff}.light-theme .chat-input-area button:hover{background:#5fa8d3}.light-theme .user-item{border-bottom:1px solid #e5e5e5}.light-theme .user-item:hover{background:#ececec}.light-theme .sidebar-tab:hover{background:#e5e5e5}.light-theme .chat-messages::-webkit-scrollbar-track,.light-theme .chats-items::-webkit-scrollbar-track,.light-theme .users-list::-webkit-scrollbar-track{background:#e5e5e5}.light-theme .chat-messages::-webkit-scrollbar-thumb,.light-theme .chats-items::-webkit-scrollbar-thumb,.light-theme .users-list::-webkit-scrollbar-thumb{background:#b7dfff}.light-theme .error-message{background:#ffebee;color:#c62828}.light-theme .success-message{background:#e8f5e9;color:#2e7d32}.light-theme .modal-overlay{scrollbar-color:#b0afaf #f5f5f5d1}.light-theme .date-separator-text{background:#e5e5e5}.light-theme .messenger-sidebar{background:#f0f0f0;border-right:1px solid #d8d8d8}.light-theme .sidebar-tabs{background:#e8e8e8;border-bottom:1px solid #d0d0d0}.light-theme .sidebar-tab{color:#555}.light-theme .sidebar-tab:hover{background:#dcdcdc;color:#000}.light-theme .sidebar-tab.active{background:#fff;border-bottom:2px solid #2196f3;color:#2196f3}.light-theme .chats-list{background:#f5f5f5}.light-theme .chats-header{background:#f0f0f0;border-bottom:1px solid #e0e0e0}.light-theme .chats-header h3{color:#1f1f1f}.light-theme .chat-item{border-bottom:1px solid #e8e8e8}.light-theme .chat-item:hover{background:#e8e8e8}.light-theme .chat-item.active{background:#ddefff}.light-theme .chat-name{color:#1f1f1f}.light-theme .chat-last-message{color:#666}.light-theme .chat-time{color:#888}.light-theme .chat-unread{background:#f44;color:#fff}.light-theme .users-list-container{background:#f5f5f5}.light-theme .users-search-header{background:#f0f0f0;border-bottom:1px solid #e0e0e0}.light-theme .users-search{background:#fff;border:1px solid #d0d0d0;color:#1f1f1f}.light-theme .users-search:focus{border-color:#79c1f5}.light-theme .user-item{border-bottom:1px solid #e8e8e8}.light-theme .user-item:hover{background:#e8e8e8}.light-theme .user-name{color:#1f1f1f}.light-theme .user-login{color:#888}.light-theme .online-text{color:#4caf50}.light-theme .offline-text{color:#999}.light-theme .profile-container{background:#f5f5f5}.light-theme .profile-header{background:#e8e8e8;border-bottom:1px solid #d8d8d8}.light-theme .profile-header-info h2{color:#1f1f1f}.light-theme .profile-login{color:#666}.light-theme .profile-label{color:#2196f3}.light-theme .profile-value{color:#1f1f1f}.light-theme .profile-date-input,.light-theme .profile-edit-input,.light-theme .profile-textarea{background:#fff;border:1px solid #d0d0d0;color:#1f1f1f}.light-theme .profile-date-input:focus,.light-theme .profile-edit-input:focus,.light-theme .profile-textarea:focus{border-color:#79c1f5}.light-theme .profile-actions{border-top:1px solid #e0e0e0}.light-theme .profile-edit-btn{background:#79c1f5;color:#fff}.light-theme .profile-edit-btn:hover{background:#5fa8d3}.light-theme .profile-save-btn{background:#4caf50;color:#fff}.light-theme .profile-cancel-btn{background:#f44336;color:#fff}.light-theme .profile-chat-btn{background:#79c1f5;color:#fff}.light-theme .profile-chat-btn:hover{background:#5fa8d3}.light-theme .profile-logout-btn{background:#f44336;color:#fff}.light-theme .profile-logout-btn:hover{background:#d32f2f}.light-theme .profile-avatar-large{background:#79c1f5;color:#fff}.light-theme .profile-avatar-edit{background:#0000004d;color:#fff}.light-theme .profile-avatar-edit:hover{background:#79c1f5}.light-theme .chat-container{background:#fafafa}.light-theme .chat-header{background:#e8e8e8;border-bottom:1px solid #d8d8d8}.light-theme .chat-header h2{color:#1f1f1f}.light-theme .member-count-badge{background:#e0e0e0;color:#555}.light-theme .connection-status.online{color:#4caf50}.light-theme .connection-status.offline{color:#999}.light-theme .date-separator-text{background:#e0e0e0;color:#555}.light-theme .reply-preview{background:#e8e8e8;border-left:3px solid #00a86b}.light-theme .reply-preview-label{color:#00a86b}.light-theme .reply-preview-text{color:#1f1f1f}.light-theme .replied-message{background:#00a86b14}.light-theme .replied-author{color:#00a86b}.light-theme .replied-text{color:#555}.light-theme .create-chat-btn{background:#e5e5e5;color:#555}.light-theme .create-chat-btn:hover,.light-theme .scroll-to-bottom-btn{background:#79c1f5;color:#fff}.light-theme .scroll-to-bottom-btn:hover{background:#5fa8d3}.light-theme .close-profile-btn{color:#888}.light-theme .close-profile-btn:hover{color:#1f1f1f}.light-theme .modal-overlay{background:#00000080}.light-theme .confirm-modal,.light-theme .create-chat-modal{background:#fff}.light-theme .modal-header{border-bottom:1px solid #e0e0e0}.light-theme .modal-header h3{color:#1f1f1f}.light-theme .modal-close{color:#888}.light-theme .modal-close:hover{color:#1f1f1f}.light-theme .modal-footer{border-top:1px solid #e0e0e0}.light-theme .cancel-btn{background:#e5e5e5;color:#1f1f1f}.light-theme .reg-group{color:#333}.light-theme .cancel-btn:hover{background:#d5d5d5}.light-theme .create-btn{background:#79c1f5;color:#fff}.light-theme .create-btn:hover{background:#5fa8d3}.light-theme ::selection{background:#79c1f5;color:#fff}
/*# sourceMappingURL=main.28241b6d.css.map*/