body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.auth-card{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001a;max-width:400px;padding:40px;width:100%}.auth-card h2{color:#333;font-size:28px;font-weight:600;margin-bottom:30px;text-align:center}.auth-form{gap:20px}.auth-form,.form-group{display:flex;flex-direction:column}.form-group input{border:2px solid #e1e5e9;border-radius:8px;font-size:16px;padding:12px 16px;transition:border-color .3s ease}.form-group input:focus{border-color:#667eea;outline:none}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.auth-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px;transition:transform .2s ease,box-shadow .2s ease}.auth-button:hover:not(:disabled){box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.auth-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.error-message{background-color:#fdf2f2;border-left:4px solid #e74c3c;border-radius:6px;color:#e74c3c;padding:12px}.success-message{background-color:#f2fdf5;border-left:4px solid #27ae60;border-radius:6px;color:#27ae60;padding:12px}.auth-switch{color:#666;margin-top:20px;text-align:center}.link-button{background:none;border:none;color:#667eea;cursor:pointer;font-size:inherit;text-decoration:underline}.link-button:hover{color:#5a6fd8}@media (max-width:480px){.auth-container{padding:10px}.auth-card{padding:30px 20px}.auth-card h2{font-size:24px}}.verification-loading{align-items:center;display:flex;flex-direction:column;gap:20px;padding:40px 0}.profile-slideout-overlay{align-items:stretch;background-color:#00000080;bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:0;z-index:10000}.profile-slideout{background:#fff;box-shadow:-4px 0 24px #00000026;display:flex;flex-direction:column;height:100vh;max-width:90vw;overflow:hidden;transform:translateX(100%);transition:transform .3s ease-in-out;width:400px}.profile-slideout.open{transform:translateX(0)}.profile-slideout-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:20px}.profile-slideout-header h2{font-size:20px;font-weight:600;margin:0}.profile-close-button{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:32px;justify-content:center;transition:background-color .2s ease;width:32px}.profile-close-button:hover{background:#ffffff4d}.profile-slideout-content{flex:1 1;overflow-y:auto;padding:24px}.profile-error,.profile-loading{align-items:center;color:#666;display:flex;font-size:16px;height:100%;justify-content:center}.profile-error{color:#ef4444}.profile-info{display:flex;flex-direction:column;gap:24px}.profile-avatar-section{align-items:center;display:flex;flex-direction:column;gap:12px}.profile-avatar-large{object-fit:cover}.profile-avatar-large,.profile-avatar-placeholder{border:4px solid #f0f0f0;border-radius:50%;height:120px;width:120px}.profile-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;font-size:48px;font-weight:600;justify-content:center}.profile-status-indicator{border-radius:20px;font-size:14px;font-weight:500;padding:6px 16px;text-align:center}.profile-status-indicator.online{background:#10b981;color:#fff}.profile-status-indicator.offline{background:#6b7280;color:#fff}.profile-actions{display:flex;justify-content:center;margin:20px 0}.dm-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:25px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.dm-button:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.dm-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.profile-details{gap:20px}.profile-details,.profile-field{display:flex;flex-direction:column}.profile-field{gap:6px}.profile-field label{color:#6b7280;font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.profile-value{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:16px;line-height:1.5;min-height:20px;padding:12px}@media (max-width:768px){.profile-slideout{max-width:100vw;width:100vw}.profile-slideout-content{padding:16px}.profile-avatar-large,.profile-avatar-placeholder{height:100px;width:100px}.profile-avatar-placeholder{font-size:40px}}@media (max-width:480px){.profile-slideout-header{padding:16px}.profile-slideout-header h2{font-size:18px}.profile-slideout-content{padding:12px}.profile-details{gap:16px}}.chat-container{background-color:#f5f7fa;display:flex;flex-direction:column;height:100vh}.chat-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;color:#fff;display:flex;justify-content:space-between;min-height:60px;padding:10px 20px}.chat-title h1{font-size:24px;font-weight:600;margin:0}.connection-status{align-items:center;display:flex;font-size:14px;gap:8px;opacity:.9}.desktop-only{display:flex}.mobile-only{display:none}.status-indicator{font-size:12px}.chat-controls{align-items:center;display:flex;gap:20px}.room-info{flex-direction:row;flex-wrap:nowrap;gap:10px}.room-info,.room-info-left{align-items:center;height:100%}.room-info-left{display:flex;flex:1 1;gap:0;min-width:0}.room-header-avatar{border:2px solid #ffffff4d;border-radius:50%;flex-shrink:0;height:56px;margin-right:12px;overflow:hidden;width:56px}.room-header-picture{height:100%;object-fit:cover;width:100%}.room-header-placeholder{align-items:center;background-color:#e0e0e0;color:#666;display:flex;font-size:24px;font-weight:700;height:100%;justify-content:center;width:100%}.room-name{font-weight:500}.room-name-container{align-items:center;flex:1 1;min-width:0;position:relative}.room-name-button{align-items:center;background:none;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:22px;font-weight:600;gap:4px;max-width:100%;overflow:hidden;padding:4px 8px;text-overflow:ellipsis;transition:background-color .2s ease;white-space:nowrap}.room-name-button:hover{background:#ffffff1a}.room-menu-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;left:0;margin-top:8px;min-width:200px;overflow:hidden;position:absolute;top:100%;z-index:1000}.user-count-button{background:#fff3;border:none;border-radius:15px;color:#fff;cursor:pointer;font-size:14px;padding:6px 12px;transition:background-color .3s ease}.user-count-button:hover{background:#ffffff4d}.header-notification-badge{align-items:center;animation:pulse 2s infinite;background:#ef4444;border-radius:20px;color:#fff;display:inline-flex;font-size:.85rem;font-weight:600;gap:4px;margin-left:12px;padding:4px 10px}.leave-room-button{background:#ef4444;border:none;border-radius:15px;color:#fff;cursor:pointer;font-size:14px;margin-left:8px;padding:6px 12px;transition:background-color .3s ease}.leave-room-button:hover{background:#dc2626}.clear-room-button{background:#f59e0b;border:none;border-radius:15px;color:#fff;cursor:pointer;font-size:14px;margin-left:8px;padding:6px 12px;transition:background-color .3s ease}.clear-room-button:hover{background:#d97706}.user-info{gap:15px}.profile-menu-container{position:relative}.profile-button{background:none;border:none;border-radius:50%;cursor:pointer;overflow:hidden;padding:0;transition:transform .2s ease}.profile-button:hover{transform:scale(1.05)}.profile-picture-small{object-fit:cover}.profile-picture-placeholder-small,.profile-picture-small{border:2px solid #ffffff4d;border-radius:50%;height:36px;width:36px}.profile-picture-placeholder-small{align-items:center;background:#fff3;color:#fff;display:flex;font-size:16px;font-weight:600;justify-content:center}.profile-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;margin-top:8px;min-width:180px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.dropdown-item{color:#333;gap:10px;padding:12px 16px}.dropdown-item:hover{background:#f5f7fa}.dropdown-item.logout{color:#ef4444}.dropdown-item.logout:hover{background:#fee}.dropdown-divider{background:#e1e5e9;height:1px;margin:4px 0}.test-button{background:#fff3;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .3s ease}.test-button:hover{background:#ffffff4d}.logout-button{background:#fff3;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .3s ease}.logout-button:hover{background:#ffffff4d}.chat-main{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.chat-content,.messages-container{display:flex;flex:1 1;overflow:hidden;position:relative}.messages-container{flex-direction:column}.messages-list{display:flex;flex:1 1;flex-direction:column;gap:10px;justify-content:flex-end;overflow-y:auto;padding:20px;scrollbar-color:#667eea4d #0000;scrollbar-width:thin}.messages-list::-webkit-scrollbar{width:8px}.messages-list::-webkit-scrollbar-track{background:#0000}.messages-list::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#667eea4d;border:2px solid #0000;border-radius:20px}.messages-list::-webkit-scrollbar-thumb:hover{background-color:#667eea80}.no-messages{align-items:center;color:#999;display:flex;font-style:italic;height:100%;justify-content:center}.message{word-wrap:break-word;-webkit-touch-callout:none;background:#0000!important;border:none!important;box-shadow:none!important;max-width:70%;transition:opacity .3s ease;-webkit-user-select:none;user-select:none}.own-message{align-self:flex-end}.other-message{align-self:flex-start}.message-header{align-items:center;color:#666;display:flex;font-size:12px;justify-content:space-between;margin-bottom:5px}.message-username{font-weight:600}.message-username.clickable{cursor:pointer;transition:color .2s ease}.message-username.clickable:hover{color:#667eea;text-decoration:underline}.message-time{margin-left:10px;opacity:.7}.message-content{background:#fff;border:1px solid #0000000d;border-radius:18px;box-shadow:0 1px 3px #0000001a;line-height:1.4;padding:12px 16px}.own-message .message-content{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.deleted-message{opacity:.6!important}.deleted-message .message-content{border:1px dashed #ddd;font-style:italic}.deleted-message .message-content,.deleted-message.own-message .message-content{background:#f5f5f5!important;color:#999!important}.message-expiration{color:#999;font-size:11px;margin-top:4px;text-align:right}.own-message .message-expiration{text-align:left}.message.compact-style{background:#0000!important;border:none!important;border-radius:0;box-shadow:none!important;margin:0;max-width:100%;padding:2px 16px}.message.compact-style:hover{background-color:#00000005!important}.message.compact-style.own-message{align-self:flex-end;background:#0000!important;color:inherit}.message.compact-style.other-message{align-self:flex-start;background:#0000!important}.compact-style .message-header{font-weight:500;margin-bottom:2px}.compact-style .message-username{color:#5865f2;font-weight:500}.compact-style.own-message .message-username{color:#3ba55c}.compact-style .message-content{color:#2e3338;font-size:15px;font-weight:400;line-height:1.375;padding:0}.compact-style .message-time{color:#72767d;font-size:11px;font-weight:400}.message-wrapper .message.compact-style{margin:0;padding:2px 0}.message-wrapper:has(.compact-style){margin-bottom:0}.message-wrapper{margin-bottom:5px}.message-wrapper.consecutive-wrapper{margin-bottom:2px}.consecutive-wrapper{margin-bottom:1px;margin-top:1px}.consecutive-message{margin-top:1px}.consecutive-message.own-message .message-content{border-top-right-radius:4px}.consecutive-message.other-message .message-content{border-top-left-radius:4px}.inline-time{color:#ffffffb3;display:none;font-size:11px;margin-left:8px;opacity:0;transition:opacity .2s}.other-message .inline-time{color:#0006}.message:hover .inline-time{display:inline;opacity:1}.consecutive-wrapper:has(.compact-style){margin-bottom:0;margin-top:0}.compact-style .inline-time{color:#72767d}.message:not(.compact-style).own-message{align-self:flex-end;margin-left:20%}.message.left-aligned,.message:not(.compact-style).other-message{align-self:flex-start;margin-right:20%}.message.right-aligned{align-self:flex-end;margin-left:20%}.message:not(.compact-style).own-color .message-content{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.message:not(.compact-style).other-color .message-content{background:#fff;border:1px solid #e1e5e9;color:#333}.read-receipt.right-receipt{padding-right:15px;text-align:right}.read-receipt.left-receipt{padding-left:15px;text-align:left}.message-reactions{align-items:center;display:flex;flex-wrap:wrap;gap:4px;margin-bottom:2px;margin-top:4px}.message-reactions.own-reactions,.message-reactions.right-reactions{justify-content:flex-end;padding-right:15px}.message-reactions.left-reactions{justify-content:flex-start;padding-left:15px}.reaction-item{align-items:center;background:#0000000d;border-radius:12px;cursor:pointer;display:inline-flex;font-size:14px;gap:2px;line-height:1;padding:2px 6px;transition:all .2s ease;user-select:none;-webkit-user-select:none}.reaction-item:hover{background:#0000001a;transform:scale(1.05)}.reaction-item.user-reacted{background:#667eea1a;border:1px solid #667eea4d}.reaction-emoji{font-size:16px}.reaction-count{color:#666;font-size:12px;font-weight:500;min-width:12px;text-align:center}.message-context-menu{animation:contextMenuFadeIn .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 4px 24px #00000026,0 2px 8px #0000001a;max-width:280px;min-width:200px;padding:4px;position:relative;z-index:9999}.message-context-menu:after{border-color:#fff #0000 #0000;border-style:solid;border-width:8px 8px 0;bottom:-8px;content:"";filter:drop-shadow(0 2px 4px rgba(0,0,0,.1));height:0;left:50%;position:absolute;transform:translateX(-50%);width:0}.message-context-menu.below:after{border-color:#0000 #0000 #fff;border-width:0 8px 8px;bottom:auto;top:-8px}@keyframes contextMenuFadeIn{0%{opacity:0;transform:translateX(-50%) translateY(10px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.context-menu-content{padding:4px}.context-menu-item{align-items:center;border-radius:8px;color:#333;cursor:pointer;display:flex;font-size:14px;gap:10px;padding:10px 12px;transition:background-color .15s ease}.context-menu-item:hover{background-color:#f5f5f5}.context-menu-icon{font-size:16px}.context-menu-text{flex:1 1}.context-menu-divider{background:#e1e5e9;height:1px;margin:4px 8px}.context-menu-item.delete-option{-webkit-tap-highlight-color:transparent;color:#ef4444;cursor:pointer;-webkit-user-select:none;user-select:none}.context-menu-item.delete-option:hover{background-color:#fee}.context-menu-item.delete-option:active{background-color:#fdd}.context-menu-reactions{display:flex;flex-wrap:wrap;gap:4px;padding:8px}.reaction-emoji-button{-webkit-tap-highlight-color:transparent;background:none;border:none;border-radius:8px;cursor:pointer;font-size:20px;padding:6px;transition:all .15s ease;user-select:none;-webkit-user-select:none}.reaction-emoji-button:hover{background:#0000000d;transform:scale(1.15)}.reaction-emoji-button:active{transform:scale(.95)}.reaction-details-modal{animation:fadeIn .15s ease-out;background:#fff;border:1px solid #0000000d;border-radius:16px;box-shadow:0 8px 32px #0000001f,0 2px 8px #00000014;display:flex;flex-direction:column;max-height:320px;max-width:360px;min-width:280px;overflow:hidden;z-index:10002}.reaction-details-modal .modal-header{align-items:center;background:#fafbfc;border-bottom:1px solid #e8ecf0;color:#1a1a1a;display:flex;font-size:16px;font-weight:600;gap:12px;padding:16px 20px}.reaction-details-modal .modal-emoji{font-size:24px}.reaction-details-modal .modal-count{background:#667eea1a;border-radius:12px;color:#667eea;font-size:14px;font-weight:600;padding:4px 8px}.reaction-details-modal .modal-content{background:#fff;max-height:260px;overflow-y:auto}.reaction-user-item{align-items:center;border-bottom:1px solid #f0f2f5;display:flex;justify-content:space-between;padding:14px 20px;transition:background-color .15s ease}.reaction-user-item:hover{background-color:#f8f9fa}.reaction-user-item:last-child{border-bottom:none}.reaction-user-item .user-info{align-items:center;display:flex;gap:12px}.reaction-user-item .user-avatar{border-radius:50%;box-shadow:0 1px 4px #00000014;height:36px;object-fit:cover;width:36px}.reaction-user-item .user-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 1px 4px #00000014;color:#fff;display:flex;font-size:14px;font-weight:600;height:36px;justify-content:center;width:36px}.reaction-user-item .user-name{color:#1a1a1a;font-size:14px;font-weight:500}.reaction-user-item .reaction-time{color:#6b7280;font-size:13px;font-weight:400}.reaction-details-modal .no-reactions{color:#8b92a8;font-size:14px;font-weight:400;padding:48px 24px;text-align:center}.scroll-to-bottom-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;bottom:20px;box-shadow:0 2px 8px #00000026;color:#fff;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:absolute;right:20px;transition:transform .2s ease,box-shadow .2s ease;width:40px;z-index:10}.scroll-to-bottom-button:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.message-input-container{background:#fff;border-top:1px solid #e1e5e9;padding:15px 20px}.message-input-header{align-items:center;display:flex;gap:15px;justify-content:space-between;margin-bottom:10px}.timeout-selector{flex:1 1;position:relative}.dm-online-indicator{align-items:center;background:#f8f9fa;border-radius:20px;display:flex;font-size:14px;gap:6px;padding:6px 12px}.online-status-icon{font-size:12px;line-height:1}.online-status-text{color:#666;font-weight:500}.timeout-button{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:20px;color:#666;cursor:pointer;font-size:12px;padding:8px 12px;transition:background-color .3s ease}.timeout-button:hover{background:#e9ecef}.timeout-dropdown{background:#fff;border:1px solid #e1e5e9;border-radius:8px;bottom:100%;box-shadow:0 5px 15px #0000001a;left:0;max-height:200px;min-width:150px;overflow-y:auto;position:absolute;z-index:10}.timeout-option{background:none;border:none;cursor:pointer;display:block;font-size:14px;padding:10px 15px;text-align:left;transition:background-color .3s ease;width:100%}.timeout-option:hover{background:#f8f9fa}.timeout-option.selected{background:#667eea;color:#fff}.message-form{align-items:flex-end;display:flex;gap:10px}.message-textarea{-webkit-text-size-adjust:100%;border:1px solid #e1e5e9;border-radius:20px;flex:1 1;font-family:inherit;font-size:16px;max-height:100px;min-height:44px;padding:12px 16px;resize:none;transform:translateZ(0);transition:opacity .3s ease,color .3s ease}.message-textarea.sending{color:#999;cursor:not-allowed;opacity:.6}.message-textarea:focus{border-color:#667eea;outline:none}input[type=email],input[type=password],input[type=text],select,textarea{font-size:16px!important;touch-action:manipulation}.message-textarea:disabled,.message-textarea:read-only{background-color:#f5f5f5;cursor:not-allowed}.message-wrapper{display:flex;flex-direction:column;margin-bottom:4px;position:relative}.read-receipt{color:#999;cursor:pointer;font-size:14px;margin-bottom:4px;margin-top:-2px;transition:color .2s ease;-webkit-user-select:none;user-select:none}.read-receipt:hover{color:#666}.read-receipt.own-receipt{padding-right:15px;text-align:right}.message-wrapper:has(.compact-style) .read-receipt{font-size:12px;margin-bottom:2px;margin-top:0;padding-right:16px}.read-status{color:#4a9eff}.sent-status{color:#999}.read-receipt.profile-pictures{padding-right:10px}.read-profile-pictures{align-items:center;display:flex;justify-content:flex-end}.read-profile-picture-wrapper{margin-left:-8px;position:relative;z-index:1}.read-profile-picture-wrapper:first-child{margin-left:0}.read-profile-picture-wrapper:hover{z-index:2}.read-profile-picture{border:2px solid #fff;border-radius:50%;box-shadow:0 1px 3px #0003;height:20px;object-fit:cover;width:20px}.read-profile-picture-placeholder{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.read-profile-picture-more,.read-profile-picture-placeholder{align-items:center;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 3px #0003;display:flex;font-size:10px;font-weight:600;height:20px;justify-content:center;width:20px}.read-profile-picture-more{background:#f0f0f0;color:#666;margin-left:-8px}.read-receipts-modal{background:#fff;border:1px solid #0000000d;border-radius:16px;box-shadow:0 8px 32px #0000001f,0 2px 8px #00000014;display:flex;flex-direction:column;max-height:320px;max-width:360px;min-width:280px;overflow:hidden;z-index:10002}.read-receipts-modal .modal-header{background:#fafbfc;border-bottom:1px solid #e8ecf0;color:#1a1a1a;font-size:16px;font-weight:600;padding:16px 20px}.read-receipts-modal .modal-content{background:#fff;max-height:260px;overflow-y:auto}.read-receipt-item{align-items:center;border-bottom:1px solid #f0f2f5;display:flex;justify-content:space-between;padding:14px 20px;transition:background-color .15s ease}.read-receipt-item:hover{background-color:#f8f9fa}.read-receipt-item:last-child{border-bottom:none}.reader-info{align-items:center;display:flex;gap:12px}.reader-avatar{object-fit:cover}.reader-avatar,.reader-avatar-placeholder{border-radius:50%;box-shadow:0 1px 4px #00000014;height:36px;width:36px}.reader-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;font-size:14px;font-weight:600;justify-content:center}.reader-name{color:#1a1a1a;font-size:14px;font-weight:500}.read-time{color:#6b7280;font-size:13px;font-weight:400}.no-readers{background:#fff;color:#8b92a8;font-size:14px;font-weight:400;padding:48px 24px;text-align:center}.send-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:20px;color:#fff;cursor:pointer;font-weight:600;padding:12px 20px;transition:transform .2s ease,box-shadow .2s ease}.send-button:hover:not(:disabled){box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.send-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.user-list-sidebar{background:#fff;border-left:1px solid #e1e5e9;width:250px}.user-list-overlay{display:none}.user-list{display:flex;flex-direction:column;height:100%}.user-list-header{align-items:center;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:15px 20px}.user-list-header h3{color:#333;font-size:16px;margin:0}.close-button{background:none;border:none;color:#666;cursor:pointer;font-size:16px;padding:4px}.close-button:hover{color:#333}.user-list-content{display:flex;flex:1 1;flex-direction:column;gap:12px;overflow-y:auto;padding:15px;scrollbar-color:#667eea4d #0000;scrollbar-width:thin}.user-list-content::-webkit-scrollbar{width:6px}.user-list-content::-webkit-scrollbar-track{background:#0000}.user-list-content::-webkit-scrollbar-thumb{background-color:#667eea4d;border-radius:20px}.user-list-content::-webkit-scrollbar-thumb:hover{background-color:#667eea80}.user-item-wrapper{position:relative}.user-item{align-items:center;border-radius:8px;cursor:default;display:flex;gap:12px;padding:8px;transition:background-color .3s ease}.user-item.clickable{cursor:pointer}.user-item.clickable:hover{background:#f8f9fa}.user-item.current-user{opacity:.7}.user-dropdown{background:#fff;border:1px solid #e1e5e9;border-radius:8px;box-shadow:0 4px 12px #0000001a;left:10px;margin-top:4px;overflow:hidden;position:absolute;right:10px;top:100%;z-index:100}.dropdown-item{align-items:center;background:none;border:none;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:10px 16px;text-align:left;transition:background-color .2s ease;width:100%}.dropdown-item:hover{background:#f8f9fa}.dropdown-icon{font-size:16px}.user-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;font-size:14px;font-weight:600;justify-content:center}.user-avatar,.user-avatar-img{border-radius:50%;height:32px;width:32px}.user-avatar-img{border:2px solid #e1e5e9;object-fit:cover}.user-name{color:#333;font-weight:500}.no-users{color:#999;padding:20px}@media (max-width:768px){.chat-container{display:flex;flex-direction:column;height:100vh;height:100dvh}.chat-header{align-items:center;box-shadow:0 2px 10px #0000001a;display:flex;height:60px;justify-content:space-between;min-height:60px;padding:8px 16px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.chat-header.in-room{height:56px;min-height:56px;padding:4px 12px}.chat-main{flex:1 1;overflow:hidden}.chat-header .chat-title,.desktop-only{display:none}.mobile-only{display:flex}.connection-status.mobile-only{gap:0;margin-right:8px}.connection-status.mobile-only .status-indicator{font-size:10px}.chat-header .test-button{display:none}.chat-controls{align-items:center;display:flex;height:100%;width:auto}.chat-header.in-room .room-info{align-items:center;display:flex;flex:1 1;flex-direction:row;gap:8px;height:100%}.chat-header.in-room .room-info-left{gap:0;height:100%}.room-name{font-size:16px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-count-button{font-size:13px;padding:4px 10px;white-space:nowrap}.leave-room-button{font-size:13px;padding:6px 12px;white-space:nowrap}.chat-header.in-room .room-name-button{font-size:16px;font-weight:600;padding:2px 6px}.chat-header.in-room .leave-room-button{align-items:center;display:flex;font-size:14px;height:40px;padding:10px 16px}.chat-header.in-room .user-count-button{align-items:center;display:flex;font-size:14px;height:36px;padding:8px 12px}.user-info{align-items:center;display:flex;gap:8px;height:100%}.user-info span{font-size:14px}.chat-header:not(.in-room) .profile-menu-container{align-items:center;display:flex;height:100%}.chat-header:not(.in-room) .profile-button{align-items:center;border-radius:50%;display:flex;height:44px;justify-content:center;padding:0;width:44px}.chat-header:not(.in-room) .profile-picture-placeholder-small,.chat-header:not(.in-room) .profile-picture-small{font-size:20px!important;height:44px!important;width:44px!important}.logout-button{font-size:13px;padding:6px 12px}.message{max-width:85%}.messages-container{display:flex;flex:1 1;flex-direction:column;overflow:hidden;position:relative}.messages-list{gap:10px;padding:10px 10px 20px}.message-input-container{background:#fff;border-top:1px solid #e1e5e9;bottom:0;padding:10px;position:-webkit-sticky;position:sticky;z-index:5}.message-input-header{gap:10px;margin-bottom:8px}.timeout-selector{flex:0 1 auto}.timeout-button{font-size:11px;padding:6px 10px}.dm-online-indicator{font-size:13px;padding:4px 10px}.online-status-text{font-size:13px}.message-form{gap:8px}.message-textarea{font-size:16px;min-height:40px;padding:10px 14px}.send-button{font-size:14px;padding:10px 16px}.chat-header.in-room .room-header-avatar{border-width:1px;height:48px;margin-right:8px;width:48px}.chat-header.in-room .room-header-placeholder{font-size:22px}.user-list-overlay{background:#00000080;display:block;height:100%;left:0;position:fixed;top:0;width:100%;z-index:999}.user-list-sidebar{box-shadow:-2px 0 10px #0000001a;height:100%;max-width:300px;position:fixed;right:0;top:0;transform:translateX(100%);transition:transform .3s ease;width:80%;z-index:1000}.user-list-sidebar.open{transform:translateX(0)}}@media (max-width:480px){.chat-header{padding:6px 10px}.chat-header.in-room{min-height:52px;padding:12px 14px}.room-name{font-size:14px}.clear-room-button,.leave-room-button,.user-count-button{font-size:12px;padding:3px 8px}.logout-button{font-size:12px;padding:4px 10px}.messages-list{padding:8px}.close-image-modal{position:fixed;right:10px;top:10px}.message-header{font-size:11px}.message-content{font-size:14px;padding:8px 12px}.timeout-dropdown{bottom:calc(100% + 5px);left:50%;max-width:90vw;min-width:120px;right:auto;transform:translateX(-50%)}.message-form{align-items:flex-end;flex-direction:row}.message-textarea{font-size:16px;padding:8px 12px}.send-button{font-size:13px;padding:8px 14px}}.modal-overlay{z-index:10000}.modal-content{box-shadow:0 8px 32px #00000026;max-width:400px;min-width:300px}.modal-content h3{font-size:18px;margin:0 0 16px}.modal-input{border:1px solid #e1e5e9;border-radius:8px;font-size:14px;outline:none;padding:10px 12px;transition:border-color .2s ease;width:100%}.modal-input:focus{border-color:#667eea}.modal-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.modal-buttons button{border:none;border-radius:6px;cursor:pointer;font-size:14px;padding:8px 16px;transition:all .2s ease}.modal-buttons button:first-child{background:#f5f7fa;color:#666}.modal-buttons button:first-child:hover{background:#e9ecef}.modal-buttons button.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.modal-buttons button.primary:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.image-modal-overlay{background:#000c;cursor:pointer;height:100%;left:0;position:fixed;top:0;width:100%;z-index:10000}.image-modal-content,.image-modal-overlay{align-items:center;display:flex;justify-content:center}.image-modal-content{cursor:default;max-height:90vh;max-width:90vw;position:relative}.enlarged-image{border-radius:8px;box-shadow:0 4px 20px #00000080;max-height:90vh;max-width:100%;object-fit:contain}.close-image-modal{align-items:center;background:#ffffff1a;border:2px solid #fff;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;position:absolute;right:-40px;top:-40px;transition:all .2s ease;width:40px}.close-image-modal:hover{background:#fff3;transform:scale(1.1)}.room-header-picture.clickable{cursor:pointer;transition:transform .2s ease}.room-header-picture.clickable:hover{transform:scale(1.05)}.user-profile-backdrop{align-items:center;animation:fadeIn .2s ease;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.user-profile-popup{animation:slideUp .3s ease;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0003;max-width:400px;padding:30px;position:relative;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.popup-close{align-items:center;background:none;border:none;border-radius:50%;color:#999;cursor:pointer;display:flex;font-size:28px;height:30px;justify-content:center;position:absolute;right:15px;top:15px;transition:all .2s ease;width:30px}.popup-close:hover{background:#f5f5f5;color:#333}.popup-loading{color:#666;padding:40px;text-align:center}.popup-header{margin-bottom:20px;text-align:center}.popup-profile-picture{border:3px solid #e1e5e9;border-radius:50%;height:100px;margin-bottom:15px;object-fit:cover;width:100px}.popup-profile-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:40px;font-weight:600;height:100px;justify-content:center;margin:0 auto 15px;width:100px}.popup-header h2{color:#333;font-size:24px;margin:0 0 5px}.popup-username{color:#666;font-size:14px;margin:0}.popup-bio{background:#f8f9fa;border-radius:8px;margin-bottom:20px;padding:15px}.popup-bio p{color:#555;font-size:14px;line-height:1.5;margin:0;text-align:center}.popup-actions{display:flex;justify-content:center}.send-message-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:24px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px 24px;transition:transform .2s ease,box-shadow .2s ease}.send-message-button:hover{box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}@media (max-width:768px){.user-profile-popup{max-width:300px;padding:20px}.popup-profile-picture,.popup-profile-placeholder{font-size:32px;height:80px;width:80px}.popup-header h2{font-size:20px}}.test-simulator{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin:0 auto;max-width:1200px;padding:20px}.simulator-header{margin-bottom:30px;text-align:center}.simulator-header h2{color:#333;margin-bottom:10px}.simulator-header p{color:#666;font-size:14px}.simulator-controls{display:flex;flex-direction:column;gap:20px;margin-bottom:30px}.simulation-controls,.user-controls{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 16px;transition:transform .2s ease,box-shadow .2s ease}.btn-primary:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.btn-success{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 16px;transition:transform .2s ease,box-shadow .2s ease}.btn-success:hover:not(:disabled){box-shadow:0 4px 12px #10b9814d;transform:translateY(-2px)}.btn-warning{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 16px;transition:transform .2s ease,box-shadow .2s ease}.btn-warning:hover{box-shadow:0 4px 12px #f59e0b4d;transform:translateY(-2px)}.btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 16px;transition:transform .2s ease,box-shadow .2s ease}.btn-danger:hover{box-shadow:0 4px 12px #ef44444d;transform:translateY(-2px)}.btn-secondary{background:linear-gradient(135deg,#6b7280,#4b5563);border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 16px;transition:transform .2s ease,box-shadow .2s ease}.btn-secondary:hover{box-shadow:0 4px 12px #6b72804d;transform:translateY(-2px)}button:disabled{box-shadow:none!important;cursor:not-allowed;opacity:.5;transform:none!important}.simulator-status{background:#f8f9fa;border-radius:8px;margin-bottom:30px;padding:20px}.status-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.status-item{background:#fff;border-radius:6px;box-shadow:0 1px 3px #0000001a;padding:10px;text-align:center}.status-item strong{color:#333;display:block;margin-bottom:5px}.test-users-list h3{color:#333;margin-bottom:20px;text-align:center}.no-users{color:#666;font-style:italic;padding:40px;text-align:center}.users-grid{grid-gap:15px;display:grid;gap:15px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.user-card{border:2px solid #e1e5e9;border-radius:8px;padding:15px;transition:border-color .3s ease}.user-card.connected{background:#f0fdf4;border-color:#10b981}.user-card.disconnected{background:#fef2f2;border-color:#ef4444}.user-info{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.user-info strong{color:#333}.connection-status{font-size:12px;font-weight:500}.user-stats{color:#666;font-size:12px}@media (max-width:768px){.test-simulator{border-radius:0;margin:0;padding:15px}.simulation-controls,.user-controls{justify-content:stretch}.simulation-controls button,.user-controls button{flex:1 1;min-width:0}.status-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.users-grid{grid-template-columns:1fr}}.room-list-container{display:flex;flex-direction:column;height:100vh;margin:0 auto;max-width:1200px;overflow-y:auto;padding:20px;position:relative;scrollbar-color:#667eea4d #0000;scrollbar-width:thin}.offline-banner{animation:slideDown .3s ease;background:#fee;border-radius:8px;box-shadow:0 2px 4px #0000001a;color:#c00;font-weight:500;margin-bottom:20px;padding:12px 20px;text-align:center}.dm-requests-grid::-webkit-scrollbar,.room-list-container::-webkit-scrollbar,.rooms-grid::-webkit-scrollbar{width:8px}.dm-requests-grid::-webkit-scrollbar-track,.room-list-container::-webkit-scrollbar-track,.rooms-grid::-webkit-scrollbar-track{background:#0000}.dm-requests-grid::-webkit-scrollbar-thumb,.room-list-container::-webkit-scrollbar-thumb,.rooms-grid::-webkit-scrollbar-thumb{background-clip:content-box;background-color:#667eea4d;border:2px solid #0000;border-radius:20px}.dm-requests-grid::-webkit-scrollbar-thumb:hover,.room-list-container::-webkit-scrollbar-thumb:hover,.rooms-grid::-webkit-scrollbar-thumb:hover{background-color:#667eea80}.room-list-header{margin-bottom:15px;text-align:center}.room-list-header h2{color:#333;font-size:2.5rem;margin-bottom:10px}.room-list-header p{color:#666;font-size:1.1rem}.rooms-grid{grid-gap:15px;align-content:start;display:grid;flex:1 1;gap:15px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));height:-webkit-fit-content;height:fit-content;overflow-y:auto;padding-bottom:20px}.room-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;gap:12px;padding:16px;transition:transform .2s ease,box-shadow .2s ease}.room-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-4px)}.room-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px;width:100%}.room-info{display:flex;flex:1 1;flex-direction:column;gap:8px}.room-info h3{color:#333;font-size:1.5rem;margin:0}.room-top-line{align-items:center;display:flex;justify-content:space-between;width:100%}.room-name-and-status{align-items:center;display:flex;flex:1 1;gap:10px}.dm-avatar{align-items:center;display:flex;flex-shrink:0;justify-content:center}.dm-profile-picture{object-fit:cover}.dm-avatar-placeholder,.dm-profile-picture{border:2px solid #e5e7eb;border-radius:50%;height:40px;width:40px}.dm-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;font-size:16px;font-weight:600;justify-content:center}.room-name-container{display:flex;flex-direction:column;gap:0;line-height:1.2}.room-name-container h3{margin:0}.room-username{color:#999;font-size:.75rem;font-weight:400;line-height:1.2;margin-top:2px}.notification-badge{align-items:center;animation:slideIn .3s ease;background:#ef4444;border-radius:20px;color:#fff;display:flex;font-size:.85rem;font-weight:600;gap:4px;margin-left:auto;padding:4px 10px}.notification-bell{font-size:1rem}.unread-count{line-height:1}.room-description{color:#666;font-size:.9rem;margin-bottom:8px}.room-stats{align-items:center;display:flex;justify-content:space-between;margin-top:8px}.user-count{color:#555;font-size:.9rem}.room-status{font-size:.85rem;font-weight:500}.room-status.available{color:#10b981}.room-status.full{color:#ef4444}.join-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:12px 24px;transition:transform .2s ease,box-shadow .2s ease,opacity .2s ease}.join-button:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.join-button:disabled{background:#9ca3af;cursor:not-allowed;opacity:.7}.loading{font-size:1.1rem}.loading,.no-rooms{color:#666;padding:60px;text-align:center}.no-rooms p{font-size:1.1rem}@media (max-width:768px){.room-list-container{height:100vh;height:100dvh;padding:10px}.room-list-header{margin-bottom:10px}.room-list-header h2{font-size:1.5rem}.room-list-header p{font-size:.9rem;margin-top:5px}.room-tabs{margin-bottom:15px;padding-bottom:0}.tab-button{font-size:.9rem;padding:8px 16px}.rooms-grid{gap:10px;grid-template-columns:1fr;padding-bottom:15px}.room-card{padding:15px}.room-header h3,.room-info h3{font-size:1.2rem}.notification-badge{font-size:.75rem;padding:2px 8px}.room-description,.room-stats{font-size:.85rem}.join-button{font-size:.9rem;padding:10px 18px}}.room-tabs{border-bottom:2px solid #e1e5e9;display:flex;gap:10px;margin-bottom:15px;padding-bottom:0}.tab-button{background:none;border:none;border-bottom:3px solid #0000;color:#666;cursor:pointer;font-size:1rem;font-weight:500;margin-bottom:-2px;padding:12px 24px;position:relative;transition:color .3s ease}.tab-button:hover{color:#333}.tab-button.active{border-bottom-color:#667eea;color:#667eea}.tab-button.has-requests{color:#ef4444}.tab-button.has-requests:after{animation:pulse 2s infinite;background:#ef4444;border-radius:50%;content:"";height:8px;position:absolute;right:8px;top:8px;width:8px}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}.dm-requests-grid{grid-gap:20px;display:grid;flex:1 1;gap:20px;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));overflow-y:auto;padding-bottom:20px}.dm-request-card{background:#fff;border:2px solid #f59e0b;border-radius:12px;box-shadow:0 4px 6px #0000001a;padding:24px}.dm-request-info h4{color:#333;font-size:1.2rem;margin-bottom:8px}.dm-request-message{color:#666;font-size:.95rem;margin-bottom:16px}.dm-request-actions{display:flex;gap:12px}.accept-button,.deny-button{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:600;padding:10px 20px;transition:transform .2s ease,box-shadow .2s ease}.accept-button{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.accept-button:hover{box-shadow:0 4px 12px #10b98166;transform:translateY(-2px)}.deny-button{background:#f3f4f6;color:#666}.deny-button:hover{background:#e5e7eb}.create-group-dm-btn{background:#5865f2;border:none;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:14px;margin-top:0;padding:8px 16px;transition:background-color .2s;width:100%}.create-group-dm-btn:hover:not(:disabled){background:#4752c4}.create-group-dm-btn:disabled{cursor:not-allowed;opacity:.5}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;max-height:80vh;max-width:500px;overflow-y:auto;padding:24px;width:90%}.modal-content h3{color:#333;font-size:20px;margin:0 0 20px}.form-group{margin-bottom:20px}.form-group label{color:#555;margin-bottom:8px}.form-input{border:1px solid #ddd;font-size:14px;padding:10px 12px;transition:border-color .2s}.form-input:focus{border-color:#5865f2}.username-input-wrapper{margin-bottom:8px;position:relative}.username-input-row{display:flex;gap:8px}.username-suggestions{background:#fff;border:1px solid #ddd;border-radius:0 0 8px 8px;border-top:none;box-shadow:0 4px 6px #0000001a;left:0;max-height:150px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:10}.suggestion-item{cursor:pointer;font-size:14px;padding:10px 12px;transition:background-color .2s}.suggestion-item:hover{background-color:#f0f0f0}.remove-username-btn{background:#f44;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;padding:8px 12px;transition:background-color .2s}.remove-username-btn:hover{background:#c00}.add-username-btn{background:#0000;border:1px dashed #5865f2;border-radius:6px;color:#5865f2;cursor:pointer;font-size:14px;margin-top:8px;padding:8px 12px;transition:all .2s;width:100%}.add-username-btn:hover{background:#5865f2;color:#fff}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.cancel-btn,.create-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;padding:10px 20px;transition:all .2s}.cancel-btn{background:#e0e0e0;color:#333}.cancel-btn:hover{background:#d0d0d0}.create-btn{background:#5865f2;color:#fff}.create-btn:hover:not(:disabled){background:#4752c4}.create-btn:disabled{cursor:not-allowed;opacity:.5}@media (max-width:768px){.room-tabs{flex-wrap:wrap}.tab-button{flex:1 1;min-width:120px}.dm-requests-grid{grid-template-columns:1fr}.dm-request-card{padding:20px}}.notification-banner{align-items:center;animation:slideDown .3s ease-out;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 4px 20px #00000026;color:#fff;display:flex;gap:16px;left:50%;max-width:90%;min-width:300px;padding:16px 24px;position:fixed;top:20px;transform:translateX(-50%);z-index:10000}@keyframes slideDown{0%{opacity:0;transform:translateX(-50%) translateY(-100%)}to{opacity:1;transform:translateX(-50%) translateY(0)}}.notification-message{flex:1 1;font-size:15px;line-height:1.4}.notification-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:20px;height:28px;justify-content:center;transition:background-color .2s ease;width:28px}.notification-close:hover{background:#ffffff4d}.profile-container{background-color:#f5f7fa;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:fixed;right:0;top:0}.profile-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 10px #0000001a;color:#fff;display:flex;flex-shrink:0;justify-content:space-between;padding:15px 20px}.profile-header h1{color:#fff;font-size:24px;font-weight:600;margin:0}.back-button{background:#fff3;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:8px 16px;transition:background-color .3s ease}.back-button:hover{background:#ffffff4d}.profile-loading{color:#666;padding:50px;text-align:center}.profile-content{display:flex;flex:1 1;flex-direction:column;gap:20px;margin:0 auto;max-width:600px;overflow-y:auto;padding:20px;width:100%}.profile-section{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;padding:20px}.profile-section h2{color:#333;font-size:20px;margin:0 0 20px}.profile-picture-section{align-items:center;display:flex;flex-direction:column;gap:20px;text-align:center}.profile-picture-container{position:relative}.profile-picture-large{border:3px solid #e1e5e9;border-radius:50%;height:100px;object-fit:cover;width:100px}.profile-picture-placeholder{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:40px;font-weight:600;height:100px;justify-content:center;width:100px}.profile-picture-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.upload-button{background:#667eea;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background-color .3s ease}.upload-button:hover:not(:disabled){background:#5a67d8}.upload-button:disabled{cursor:not-allowed;opacity:.6}.remove-button{background:#ef4444;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background-color .3s ease}.remove-button:hover{background:#dc2626}.profile-form{display:flex;flex-direction:column;gap:20px}.form-group{position:relative}.form-group label{color:#666;display:block;font-size:14px;font-weight:500;margin-bottom:5px}.form-input{border:1px solid #e1e5e9;border-radius:8px;font-size:16px;padding:12px 16px;transition:border-color .3s ease;width:100%}.form-input:focus{border-color:#667eea;outline:none}.form-input.disabled{background:#f5f5f5;color:#999;cursor:not-allowed}.form-textarea{border:1px solid #e1e5e9;border-radius:8px;font-family:inherit;font-size:16px;padding:12px 16px;resize:vertical;transition:border-color .3s ease;width:100%}.form-textarea:focus{border-color:#667eea;outline:none}.form-select{background-color:#fff;border:1px solid #e1e5e9;border-radius:8px;cursor:pointer;font-size:16px;padding:10px 12px;transition:border-color .3s ease;width:100%}.form-select:focus{border-color:#667eea;outline:none}.form-help{color:#666;font-size:13px;margin-bottom:0;margin-top:4px}.char-count{bottom:-20px;color:#999;font-size:12px;position:absolute;right:12px}.error-message{background:#fee;color:#c33}.error-message,.success-message{border-radius:8px;font-size:14px;padding:10px 16px}.success-message{background:#e6ffed;color:#137333}.form-actions{margin-top:10px}.save-button{background:#10b981;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:12px 30px;transition:background-color .3s ease}.save-button:hover:not(:disabled){background:#059669}.save-button:disabled{cursor:not-allowed;opacity:.6}.danger-zone{background:#fffbfb;border:1px solid #fee}.danger-zone h2{color:#dc2626}.danger-zone .logout-button{background:#ef4444;border:none;border-radius:20px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:background-color .3s ease}.danger-zone .logout-button:hover{background:#dc2626}@media (max-width:768px){.profile-header{padding:12px 16px}.profile-header h1{font-size:20px}.back-button{font-size:13px;padding:6px 12px}.profile-content,.profile-section{padding:15px}.profile-picture-large,.profile-picture-placeholder{font-size:32px;height:80px;width:80px}.form-input,.form-textarea{font-size:16px}}.toggle-label{align-items:center;cursor:pointer;display:flex;position:relative;-webkit-user-select:none;user-select:none}.toggle-checkbox{cursor:pointer;height:0;opacity:0;position:absolute;width:0}.toggle-switch{background-color:#e1e5e9;border-radius:24px;display:inline-block;flex-shrink:0;height:24px;margin-right:12px;position:relative;transition:background-color .3s ease;width:48px}.toggle-switch:after{background-color:#fff;border-radius:50%;box-shadow:0 2px 4px #0003;content:"";height:18px;left:3px;position:absolute;top:3px;transition:transform .3s ease;width:18px}.toggle-checkbox:checked+.toggle-switch{background-color:#10b981}.toggle-checkbox:checked+.toggle-switch:after{transform:translateX(24px)}.toggle-text{color:#333;font-size:16px;font-weight:500;line-height:24px}.dm-notifications-container{display:flex;flex-direction:column;gap:10px;max-width:400px;position:fixed;right:20px;top:80px;z-index:1000}.dm-notification{align-items:center;animation:slideIn .3s ease-out;background:#fff;border:2px solid #f59e0b;border-radius:12px;box-shadow:0 4px 12px #00000026;display:flex;justify-content:space-between;padding:16px}@keyframes slideIn{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}.dm-notification-content{align-items:center;display:flex;flex:1 1;gap:12px}.dm-notification-icon{animation:bounce 1s ease-in-out infinite;font-size:24px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.dm-notification-text{color:#333;font-size:14px}.dm-notification-text strong{color:#f59e0b}.dm-notification-actions{align-items:center;display:flex;gap:8px}.dm-notification-view{background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:6px 12px;transition:transform .2s ease,box-shadow .2s ease}.dm-notification-view:hover{box-shadow:0 2px 8px #f59e0b66;transform:translateY(-1px)}.dm-notification-dismiss{background:none;border:none;color:#666;cursor:pointer;font-size:16px;padding:4px;transition:color .2s ease}.dm-notification-dismiss:hover{color:#333}@media (max-width:768px){.dm-notifications-container{left:10px;max-width:none;right:10px;top:70px}.dm-notification{padding:12px}.dm-notification-text{font-size:13px}}*{box-sizing:border-box;margin:0;padding:0}body,html{-webkit-text-size-adjust:100%;height:100%;overflow:hidden;touch-action:pan-y}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f7fa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}#root{height:100%;overflow:hidden}.loading-container{align-items:center;display:flex;flex-direction:column;gap:20px;justify-content:center;min-height:100vh}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #e1e5e9;border-radius:50%;border-top-color:#667eea;height:50px;width:50px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-container p{color:#666;font-size:16px}
/*# sourceMappingURL=main.25b13622.css.map*/