@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.call-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 15px #10b9814d;color:#fff;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;padding:10px 16px;transition:all .3s ease}.call-button:hover:not(:disabled){box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.call-button:active:not(:disabled){transform:translateY(0)}.call-button:disabled{cursor:not-allowed;opacity:.5}.call-button-small{font-size:12px;padding:6px 12px}.call-button-medium{font-size:14px;padding:10px 16px}.call-button-large{font-size:16px;padding:14px 24px}.call-icon{font-size:18px}.incoming-call-overlay{align-items:center;animation:fadeIn .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000d9;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:10000}.incoming-call-modal{animation:slideUp .3s ease;background:linear-gradient(135deg,#1f2937,#111827);border:1px solid #ffffff1a;border-radius:24px;box-shadow:0 20px 60px #00000080;max-width:400px;padding:40px;text-align:center;width:90%}.call-rings{height:120px;margin:0 auto 20px;position:relative;width:120px}.ring{animation:pulse 2s infinite;border:3px solid #10b981;border-radius:50%;bottom:0;left:0;opacity:0;position:absolute;right:0;top:0}.ring-1{animation-delay:0s}.ring-2{animation-delay:.3s}.ring-3{animation-delay:.6s}.caller-avatar{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;box-shadow:0 8px 24px #10b98166;display:flex;height:100px;justify-content:center;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:100px}.avatar-icon{font-size:48px}.caller-name{color:#fff;font-size:28px;font-weight:700;margin:20px 0 8px}.call-status{color:#9ca3af;font-size:16px;margin:0 0 30px}.call-actions{display:flex;gap:20px;justify-content:center;margin-bottom:20px}.call-btn{align-items:center;border:none;border-radius:16px;cursor:pointer;display:flex;flex-direction:column;font-size:14px;font-weight:600;gap:8px;padding:16px 24px;transition:all .3s ease}.decline-btn{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 4px 15px #ef44444d;color:#fff}.decline-btn:hover{box-shadow:0 6px 20px #ef444466;transform:translateY(-2px)}.accept-btn{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 15px #10b9814d;color:#fff}.accept-btn:hover{box-shadow:0 6px 20px #10b98166;transform:translateY(-2px)}.btn-icon{font-size:24px}.btn-text{font-size:14px}.call-timeout-warning{color:#f59e0b;font-size:12px;margin:10px 0 0}.active-call-overlay{align-items:center;animation:fadeIn .3s ease;background:linear-gradient(135deg,#1f2937,#111827);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9999}.active-call-screen{max-width:500px;padding:40px;text-align:center;width:90%}.connection-indicator{align-items:center;background:#ffffff0d;border-radius:20px;display:flex;gap:8px;justify-content:center;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:8px 16px;width:-webkit-fit-content;width:fit-content}.status-dot{animation:blink 2s infinite;background:#f59e0b;border-radius:50%;height:8px;width:8px}.connection-indicator.connected .status-dot{animation:none;background:#10b981}.status-text{color:#9ca3af;font-size:14px;font-weight:500}.call-user-avatar{height:150px;margin:0 auto 30px;position:relative;width:150px}.avatar-circle{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:50%;box-shadow:0 8px 24px #6366f166;display:flex;height:150px;justify-content:center;width:150px}.avatar-circle .avatar-icon{font-size:64px}.sound-waves{align-items:center;display:flex;gap:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.wave{animation:wave 1s ease-in-out infinite;background:#fff;border-radius:2px;height:20px;width:3px}.wave:first-child{animation-delay:0s}.wave:nth-child(2){animation-delay:.1s}.wave:nth-child(3){animation-delay:.2s}@keyframes wave{0%,to{height:20px}50%{height:40px}}.call-user-name{color:#fff;font-size:32px;font-weight:700;margin:0 0 10px}.call-duration{color:#9ca3af;font-size:18px;font-weight:500;margin:0 0 40px}.call-controls{display:flex;gap:20px;justify-content:center;margin-bottom:30px}.control-btn{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:16px;color:#fff;cursor:pointer;display:flex;flex-direction:column;gap:8px;padding:16px;transition:all .3s ease;width:80px}.control-btn:hover:not(:disabled){background:#ffffff26;transform:translateY(-2px)}.control-btn:disabled{cursor:not-allowed;opacity:.5}.control-btn.active{background:#ef444433;border-color:#ef4444}.end-call-btn{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;box-shadow:0 4px 15px #ef44444d}.end-call-btn:hover{box-shadow:0 6px 20px #ef444466}.control-icon{font-size:28px}.control-label{font-size:12px;font-weight:500}.call-info{margin-top:20px}.info-text{align-items:center;color:#6b7280;display:flex;font-size:14px;gap:6px;justify-content:center}.info-icon{font-size:16px}@media (max-width:768px){.incoming-call-modal{padding:30px 20px}.caller-name{font-size:24px}.call-user-name{font-size:28px}.call-actions{flex-direction:row;gap:15px}.call-controls{gap:15px}.control-btn{padding:12px;width:70px}}:root{--bg-gradient-1:#0f0f23;--bg-gradient-2:#1a1a2e;--glass-bg:#ffffff0d;--glass-border:#ffffff1a;--accent-purple:#7877c6;--accent-purple-glow:#9594ff;--success-green:#10b981;--danger-red:#ef4444;--text-primary:#fff;--text-secondary:#a0a0c0;--shadow-lg:0 10px 40px #00000080;--shadow-glow:0 0 30px #7877c64d}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Poppins,sans-serif;overflow-x:hidden}.container{background:linear-gradient(135deg,#0f0f23,#1a1a2e);background:linear-gradient(135deg,var(--bg-gradient-1) 0,var(--bg-gradient-2) 100%);min-height:100vh;padding:20px;position:relative}.animated-bg{height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:0}.ghost-float{animation:float 20s ease-in-out infinite;font-size:30px;opacity:.1;position:absolute}.ghost-1{animation-delay:0s;left:10%;top:10%}.ghost-2{animation-delay:5s;right:10%;top:60%}.ghost-3{animation-delay:10s;bottom:10%;left:50%}.modern-header{animation:slideDown .5s ease-out;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff0d;background:var(--glass-bg);border:1px solid #ffffff1a;border:1px solid var(--glass-border);border-radius:20px;box-shadow:0 10px 40px #00000080;box-shadow:var(--shadow-lg);margin-bottom:30px;padding:20px 30px;position:relative;z-index:10}.header-content{flex-wrap:wrap;gap:20px;justify-content:space-between}.header-content,.user-info{align-items:center;display:flex}.user-info{gap:15px}.user-avatar{align-items:center;background:linear-gradient(135deg,#7877c6,#9594ff);background:linear-gradient(135deg,var(--accent-purple),var(--accent-purple-glow));border-radius:50%;box-shadow:0 0 30px #7877c64d;box-shadow:var(--shadow-glow);color:#fff;display:flex;font-size:20px;font-weight:700;height:50px;justify-content:center;width:50px}.user-details{display:flex;flex-direction:column}.user-name{color:#fff;color:var(--text-primary);font-size:20px;font-weight:600;margin:0}.user-phone{color:#a0a0c0;color:var(--text-secondary);font-size:14px;margin:0}.header-actions{display:flex;gap:10px}.btn-groups,.btn-logout{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;overflow:hidden;padding:10px 20px;position:relative;transition:all .3s ease}.btn-groups{background:#10b981;background:var(--success-green);color:#fff}.btn-groups:hover{box-shadow:0 5px 20px #10b98166;transform:translateY(-2px)}.btn-logout{background:#ef4444;background:var(--danger-red);color:#fff}.btn-logout:hover{box-shadow:0 5px 20px #ef444466;transform:translateY(-2px)}.btn-icon{font-size:16px}.main-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin:0 auto;max-width:1400px;position:relative;z-index:10}.glass-card{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:#ffffff0d;background:var(--glass-bg);border:1px solid #ffffff1a;border:1px solid var(--glass-border);border-radius:20px;box-shadow:0 10px 40px #00000080;box-shadow:var(--shadow-lg);overflow:hidden;padding:25px;position:relative}.glass-card:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:1px;left:0;position:absolute;right:0;top:0}.section-send{grid-column:1/-1}.section-header{border-bottom:1px solid #ffffff1a;border-bottom:1px solid var(--glass-border);justify-content:space-between;margin-bottom:25px;padding-bottom:15px}.section-header,.section-title{align-items:center;display:flex}.section-title{color:#fff;color:var(--text-primary);font-size:20px;font-weight:600;gap:10px;margin:0}.title-icon{font-size:24px}.section-badge{animation:pulse 2s infinite;background:linear-gradient(135deg,#7877c6,#9594ff);background:linear-gradient(135deg,var(--accent-purple),var(--accent-purple-glow));border-radius:20px;color:#fff;font-size:12px;font-weight:500;padding:5px 15px}.modern-form{display:flex;flex-direction:column;gap:20px}.form-row{display:flex;flex-wrap:wrap;gap:15px}.input-group,.textarea-group{flex:1 1;position:relative}.input-icon{font-size:20px;left:15px;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.modern-input,.modern-textarea{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;color:#fff;color:var(--text-primary);font-family:Poppins,sans-serif;font-size:14px;padding:15px 15px 15px 45px;transition:all .3s ease;width:100%}.modern-textarea{min-height:100px;padding-left:15px;resize:vertical}.modern-input:focus,.modern-textarea:focus{background:#ffffff14;border-color:#7877c6;border-color:var(--accent-purple);box-shadow:0 0 20px #7877c633;outline:none}.modern-input::placeholder,.modern-textarea::placeholder{color:#a0a0c0;color:var(--text-secondary)}.recording-indicator{align-items:center;background:linear-gradient(135deg,#ff6b6b,#ff8787);border-radius:12px;display:flex;justify-content:space-between;padding:15px}.recording-content{align-items:center;display:flex;gap:10px}.recording-dot{animation:blink 1s infinite;background:#fff;border-radius:50%;height:12px;width:12px}.recording-text{color:#fff;font-weight:500}.btn-stop{background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;padding:8px 20px;transition:all .3s ease}.btn-stop:hover{background:#ffffff4d}.preview-card{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;padding:15px}.preview-content{align-items:center;display:flex;gap:15px}.preview-icon{font-size:40px}.preview-image{border-radius:8px;max-height:150px;max-width:150px;object-fit:cover}.preview-details{flex:1 1}.preview-title{color:#fff;color:var(--text-primary);font-weight:500;margin-bottom:5px}.preview-info{color:#a0a0c0;color:var(--text-secondary);font-size:12px}.audio-player{margin-top:10px;width:100%}.btn-remove{background:#ef4444;background:var(--danger-red);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px;transition:all .3s ease}.btn-remove:hover{background:#dc2626}.progress-container{margin:10px 0}.progress-bar{background:#ffffff1a;border-radius:12px;height:25px;overflow:hidden;position:relative}.progress-fill{align-items:center;background:linear-gradient(90deg,#7877c6,#9594ff);background:linear-gradient(90deg,var(--accent-purple),var(--accent-purple-glow));display:flex;height:100%;justify-content:center;transition:width .3s ease}.progress-text{color:#fff;font-size:12px;font-weight:600}.action-buttons{display:flex;flex-wrap:wrap;gap:10px}.btn-action{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:12px 24px;position:relative;transition:all .3s ease}.btn-record{background:#ef4444;background:var(--danger-red);color:#fff}.btn-attach{background:#6b7280;color:#fff}.btn-send{background:linear-gradient(135deg,#7877c6,#9594ff);background:linear-gradient(135deg,var(--accent-purple),var(--accent-purple-glow));color:#fff;flex:1 1}.btn-action:hover:not(:disabled){box-shadow:0 5px 20px #0000004d;transform:translateY(-2px)}.btn-action:disabled{cursor:not-allowed;opacity:.5}.loading-spinner{border:2px solid #ffffff4d;border-top-color:#fff;height:20px;width:20px}.hidden-input{display:none}.alert{margin-top:10px;padding:12px 20px}.alert-icon{font-size:20px}.section-chats,.section-groups{min-height:400px}.chat-count{background:#7877c6;background:var(--accent-purple);border-radius:20px;color:#fff;font-size:12px;font-weight:600;padding:4px 10px}.btn-add-group{background:#10b981;background:var(--success-green);border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:20px;height:35px;transition:all .3s ease;width:35px}.btn-add-group:hover{transform:rotate(90deg) scale(1.1)}.chats-container,.groups-container{max-height:350px;overflow-y:auto;padding-right:5px}.chats-container::-webkit-scrollbar,.groups-container::-webkit-scrollbar{width:5px}.chats-container::-webkit-scrollbar-track,.groups-container::-webkit-scrollbar-track{background:#ffffff0d;border-radius:10px}.chats-container::-webkit-scrollbar-thumb,.groups-container::-webkit-scrollbar-thumb{background:#7877c6;background:var(--accent-purple);border-radius:10px}.chat-list{display:flex;flex-direction:column;gap:12px}.chat-item{align-items:center;background:#ffffff08;border:1px solid #ffffff14;border-radius:12px;cursor:pointer;display:flex;gap:12px;padding:15px;transition:all .3s ease}.chat-item:hover{background:#ffffff14;box-shadow:0 5px 20px #0003;transform:translateX(5px)}.chat-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;display:flex;flex-shrink:0;height:45px;justify-content:center;position:relative;width:45px}.avatar-text{color:#fff;font-size:18px;font-weight:600}.online-indicator{animation:pulse 2s infinite;background:#10b981;background:var(--success-green);border:2px solid #1a1a2e;border:2px solid var(--bg-gradient-2);border-radius:50%;bottom:0;height:12px;position:absolute;right:0;width:12px}.chat-content{flex:1 1;min-width:0}.chat-name{color:#fff;color:var(--text-primary);font-weight:500;margin-bottom:4px}.chat-preview{color:#a0a0c0;color:var(--text-secondary);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-view{background:#7877c6;background:var(--accent-purple);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:13px;font-weight:500;padding:8px 16px;transition:all .3s ease}.btn-view:hover{background:#9594ff;background:var(--accent-purple-glow);transform:scale(1.05)}.empty-state{padding:50px 20px}.empty-icon{margin-bottom:20px;opacity:.3}.empty-text{color:#fff;color:var(--text-primary);font-size:16px;margin-bottom:10px}.empty-subtext{color:#a0a0c0;color:var(--text-secondary);font-size:14px}.btn-primary{background:linear-gradient(135deg,#7877c6,#9594ff);background:linear-gradient(135deg,var(--accent-purple),var(--accent-purple-glow));border:none;border-radius:12px;cursor:pointer;font-size:14px;font-weight:500;margin-top:20px;padding:12px 30px;transition:all .3s ease}.btn-primary:hover{box-shadow:0 5px 20px #7877c666}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.glass-modal{backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);background:#ffffff0d;background:var(--glass-bg);border:1px solid #ffffff1a;border:1px solid var(--glass-border);border-radius:20px;box-shadow:0 10px 40px #00000080;box-shadow:var(--shadow-lg);max-height:80vh;max-width:600px;overflow:auto;padding:30px;width:100%}.modal-header{border-bottom:1px solid #ffffff1a;border-bottom:1px solid var(--glass-border);justify-content:space-between;margin-bottom:25px;padding-bottom:20px}.modal-header,.modal-sender{align-items:center;display:flex}.modal-sender{gap:15px}.sender-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:20px;font-weight:600;height:50px;justify-content:center;width:50px}.sender-info h3{color:#fff;color:var(--text-primary);font-size:18px;margin:0 0 5px}.sender-info p{color:#a0a0c0;color:var(--text-secondary);font-size:14px;margin:0}.countdown-timer{position:relative}.countdown-circle{height:40px;position:relative;width:40px}.countdown-svg{height:40px;transform:rotate(-90deg);width:40px}.countdown-path{fill:none;stroke:#ef4444;stroke:var(--danger-red);stroke-width:3;stroke-dasharray:113;transition:stroke-dashoffset 1s linear}.countdown-text{color:#ef4444;color:var(--danger-red);font-size:14px;font-weight:600;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.modal-body{min-height:100px;padding:20px 0}.message-text{color:#fff;color:var(--text-primary);font-size:16px;line-height:1.6}.media-container{align-items:center;display:flex;flex-direction:column;gap:15px}.media-image{object-fit:contain}.media-image,.media-video{border-radius:12px;max-height:400px;max-width:100%}.media-audio{width:100%}.media-caption{color:#a0a0c0;color:var(--text-secondary);font-size:14px;font-style:italic;text-align:center}.file-info-card{align-items:center;background:#ffffff0d;border-radius:12px;display:flex;gap:15px;padding:20px;width:100%}.file-icon{font-size:40px}.file-name{color:#fff;color:var(--text-primary);font-weight:500;margin-bottom:5px}.file-size{color:#a0a0c0;color:var(--text-secondary);font-size:12px}.download-btn{background:#7877c6;background:var(--accent-purple);border-radius:10px;color:#fff;display:inline-block;font-weight:500;padding:12px 30px;text-decoration:none;transition:all .3s ease}.download-btn:hover{background:#9594ff;background:var(--accent-purple-glow);transform:translateY(-2px)}.modal-footer{margin-top:25px}.btn-close-modal{background:#ef4444;background:var(--danger-red);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:16px;font-weight:500;padding:14px;transition:all .3s ease;width:100%}.btn-close-modal:hover{background:#dc2626;transform:translateY(-2px)}.animate-fade-in{animation:fadeIn .5s ease-out}.animate-slide-up{animation:slideUp .5s ease-out}.animate-slide-in{animation:slideIn .3s ease-out forwards;opacity:0}.animate-scale-in{animation:scaleIn .3s ease-out}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.animate-shake{animation:shake .5s}.animate-bounce{animation:bounce .5s}.animate-pulse{animation:pulse 1.5s infinite}@media (max-width:768px){.main-grid{grid-template-columns:1fr}.header-content{align-items:flex-start;flex-direction:column}.header-actions{justify-content:space-between;width:100%}.action-buttons{flex-direction:column}.btn-action{width:100%}.modern-input{padding-left:45px}}@media (max-width:480px){.container{padding:10px}.glass-card{padding:15px}.user-name{font-size:16px}.section-title{font-size:18px}.btn-profile{align-items:center;background:linear-gradient(135deg,#7877c6,#9d50bb);border:none;border-radius:12px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .3s ease}.btn-profile:hover{box-shadow:0 5px 20px #7877c666;transform:translateY(-2px)}.phone-row{grid-gap:15px;align-items:end;display:grid;gap:15px;grid-template-columns:200px 1fr}.phone-label{color:#a0a0c0;color:var(--text-secondary);display:block;font-size:13px;font-weight:600;margin-bottom:8px}.country-selector,.phone-input-wrapper{display:flex;flex-direction:column}.phone-input-wrapper{flex:1 1}.phone-number-input{width:100%}.phone-hint{color:#a0a0c0;color:var(--text-secondary);display:block;font-size:12px;margin-top:6px}.phone-hint strong{color:#7877c6;color:var(--accent-purple);font-weight:600}@media (max-width:768px){.phone-row{gap:12px;grid-template-columns:1fr}}.chat-item{padding:10px}}.groups-container{background:linear-gradient(135deg,#0f0f23,#1a1a2e 50%,#16213e);min-height:100vh;overflow:hidden;position:relative}.groups-background{height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:0}.gradient-orb{animation:float 20s ease-in-out infinite;border-radius:50%;filter:blur(80px);opacity:.3;position:absolute}.orb-1{animation-delay:0s;background:radial-gradient(circle,#7877c6,#0000);height:400px;right:-100px;top:-100px;width:400px}.orb-2{animation-delay:5s;background:radial-gradient(circle,#10b981,#0000);bottom:-100px;height:350px;left:-100px;width:350px}.orb-3{animation-delay:10s;background:radial-gradient(circle,#3b82f6,#0000);height:300px;left:50%;top:50%;transform:translate(-50%,-50%);width:300px}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(30px,-30px) scale(1.1)}66%{transform:translate(-30px,30px) scale(.9)}}.groups-header{animation:slideDown .5s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0f0f23cc;border-bottom:1px solid #7877c633;justify-content:space-between;padding:20px 30px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.back-btn,.groups-header{align-items:center;display:flex}.back-btn{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;color:#fff;cursor:pointer;font-size:15px;font-weight:500;gap:8px;padding:10px 20px;transition:all .3s ease}.back-btn:hover{background:#ffffff1a;border-color:#7877c680;box-shadow:0 4px 20px #7877c64d;transform:translateX(-5px)}.back-icon{font-size:18px;transition:transform .3s ease}.back-btn:hover .back-icon{transform:translateX(-3px)}.header-center{flex:1 1;text-align:center}.groups-title{align-items:center;color:#fff;display:flex;font-size:28px;font-weight:700;gap:12px;justify-content:center;margin:0 0 5px}.title-icon{animation:bounce 2s ease-in-out infinite;font-size:32px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.groups-subtitle{color:#fff9;font-size:14px;font-weight:400;margin:0}.create-btn{align-items:center;background:linear-gradient(135deg,#7877c6,#9d50bb);border:none;border-radius:12px;box-shadow:0 4px 15px #7877c666;color:#fff;cursor:pointer;display:flex;font-size:15px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.create-btn:hover{background:linear-gradient(135deg,#8987d6,#ad60cb);box-shadow:0 6px 25px #7877c699;transform:translateY(-2px)}.create-icon{font-size:20px;font-weight:700}.groups-content{margin:0 auto;max-width:1200px;padding:30px;position:relative;z-index:1}.loading-state{align-items:center;animation:fadeIn .5s ease-out;display:flex;flex-direction:column;justify-content:center;min-height:400px}.loading-text{color:#ffffffb3;font-size:16px;font-weight:500;margin-top:20px}.error-state{align-items:center;animation:fadeIn .5s ease-out;display:flex;flex-direction:column;justify-content:center;min-height:400px;text-align:center}.error-icon{animation:shake .5s ease-in-out;font-size:64px;margin-bottom:20px}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}.error-text{color:#ef4444;font-size:18px;font-weight:500;margin-bottom:24px}.retry-btn{align-items:center;background:#ef44441a;border:1px solid #ef44444d;border-radius:12px;color:#ef4444;cursor:pointer;display:flex;font-size:15px;font-weight:600;gap:8px;padding:12px 28px;transition:all .3s ease}.retry-btn:hover{background:#ef444433;border-color:#ef444480;box-shadow:0 4px 20px #ef44444d;transform:translateY(-2px)}.empty-state{animation:fadeIn .5s ease-out;flex-direction:column;min-height:500px;text-align:center}.empty-icon-wrapper,.empty-state{align-items:center;display:flex;justify-content:center}.empty-icon-wrapper{animation:pulse 2s ease-in-out infinite;background:#7877c61a;border-radius:50%;height:120px;margin-bottom:30px;width:120px}.empty-icon{font-size:60px}.empty-title{color:#fff;font-size:28px;font-weight:700;margin:0 0 12px}.empty-subtitle{color:#fff9;font-size:16px;line-height:1.6;margin:0 0 32px}.empty-action-btn{align-items:center;background:linear-gradient(135deg,#7877c6,#9d50bb);border:none;border-radius:14px;box-shadow:0 6px 25px #7877c666;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:10px;padding:14px 32px;transition:all .3s ease}.empty-action-btn:hover{background:linear-gradient(135deg,#8987d6,#ad60cb);box-shadow:0 8px 30px #7877c699;transform:translateY(-3px)}.groups-grid{grid-gap:24px;animation:fadeIn .6s ease-out;display:grid;gap:24px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.group-card-wrapper{animation:slideUp .5s ease-out forwards;opacity:0}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.groups-header{padding:15px 20px}.groups-title{font-size:22px}.back-text,.create-text{display:none}.back-btn,.create-btn{padding:10px 14px}.groups-content{padding:20px 15px}.groups-grid{gap:16px;grid-template-columns:1fr}.empty-title{font-size:24px}}.group-chat-container{background:linear-gradient(135deg,#0f0f23,#1a1a2e);display:flex;flex-direction:column;height:100vh;overflow:hidden;position:relative}.chat-background{height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:0}.chat-orb{animation:floatChat 15s ease-in-out infinite;border-radius:50%;filter:blur(100px);opacity:.2;position:absolute}.chat-orb.orb-1{background:radial-gradient(circle,#7877c6,#0000);height:400px;right:-150px;top:-150px;width:400px}.chat-orb.orb-2{animation-delay:7s;background:radial-gradient(circle,#10b981,#0000);bottom:-150px;height:350px;left:-150px;width:350px}@keyframes floatChat{0%,to{transform:translate(0)}50%{transform:translate(30px,30px)}}.chat-header{animation:slideDown .5s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0f0f23f2;border-bottom:1px solid #7877c633;box-shadow:0 4px 20px #0000004d;gap:16px;padding:16px 20px;position:relative;z-index:10}.chat-back-btn,.chat-header{align-items:center;display:flex}.chat-back-btn{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;color:#fff;cursor:pointer;font-size:20px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.chat-back-btn:hover{background:#ffffff1a;border-color:#7877c680;box-shadow:0 4px 15px #7877c64d;transform:translateX(-3px)}.back-arrow{display:block}.chat-header-info{align-items:center;display:flex;flex:1 1;gap:12px}.group-avatar{align-items:center;animation:pulse 2s ease-in-out infinite;background:linear-gradient(135deg,#7877c6,#9d50bb);border-radius:14px;box-shadow:0 4px 15px #7877c666;display:flex;height:48px;justify-content:center;width:48px}.avatar-icon{font-size:24px}.group-details{flex:1 1}.chat-group-name{color:#fff;font-size:18px;font-weight:700;line-height:1.2;margin:0 0 4px}.chat-member-count{align-items:center;color:#fff9;display:flex;font-size:13px;font-weight:500;gap:6px;margin:0}.online-dot{animation:blink 2s ease-in-out infinite;background:#10b981;border-radius:50%;height:8px;width:8px}@keyframes blink{0%,to{opacity:1}50%{opacity:.3}}.chat-menu-btn{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:24px;font-weight:700;height:40px;justify-content:center;transition:all .3s ease;width:40px}.chat-menu-btn:hover{background:#ffffff1a;border-color:#7877c680;box-shadow:0 4px 15px #7877c64d;transform:rotate(90deg)}.chat-messages-container{display:flex;flex:1 1;flex-direction:column;overflow-y:auto;padding:20px;position:relative;scrollbar-color:#7877c64d #0000;scrollbar-width:thin;z-index:1}.chat-messages-container::-webkit-scrollbar{width:6px}.chat-messages-container::-webkit-scrollbar-track{background:#0000}.chat-messages-container::-webkit-scrollbar-thumb{background:#7877c64d;border-radius:3px}.chat-messages-container::-webkit-scrollbar-thumb:hover{background:#7877c680}.chat-loading{align-items:center;animation:fadeIn .5s ease-out;display:flex;flex-direction:column;height:100%;justify-content:center}.chat-spinner{animation:spin 1s linear infinite;border:4px solid #7877c633;border-radius:50%;border-top-color:#7877c6;height:50px;width:50px}.chat-loading-text{color:#fff9;font-size:15px;font-weight:500;margin-top:16px}.chat-empty{animation:fadeIn .5s ease-out;flex-direction:column;height:100%;text-align:center}.chat-empty,.empty-icon-box{align-items:center;display:flex;justify-content:center}.empty-icon-box{animation:pulse 2s ease-in-out infinite;background:#7877c61a;border-radius:50%;height:100px;margin-bottom:24px;width:100px}.chat-empty-icon{font-size:50px}.chat-empty-title{color:#fff;font-size:22px;font-weight:700;margin:0 0 8px}.chat-empty-subtitle{color:#fff9;font-size:15px;margin:0}.messages-list{display:flex;flex-direction:column;gap:16px}.unread-divider{align-items:center;animation:slideIn .5s ease-out;display:flex;gap:12px;margin:24px 0}.unread-line{background:linear-gradient(90deg,#0000,#ef4444,#0000);flex:1 1;height:2px}.unread-badge{animation:pulse 2s ease-in-out infinite;background:#ef4444;border-radius:20px;box-shadow:0 4px 15px #ef444466;color:#fff;font-size:12px;font-weight:700;letter-spacing:.5px;padding:6px 16px;text-transform:uppercase}.message-row{animation:messageAppear .4s ease-out;display:flex;gap:10px}@keyframes messageAppear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.message-row.own-message{justify-content:flex-end}.message-row.other-message{justify-content:flex-start}.message-avatar{align-items:center;background:linear-gradient(135deg,#7877c6,#9d50bb);border-radius:10px;box-shadow:0 2px 10px #7877c64d;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.avatar-letter{color:#fff;font-size:16px;font-weight:700}.message-bubble{word-wrap:break-word;border-radius:18px;max-width:70%;padding:12px 16px;position:relative;transition:all .3s ease}.message-bubble:hover{box-shadow:0 6px 20px #0000004d;transform:translateY(-2px)}.bubble-other{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff14;border:1px solid #ffffff1a;border-bottom-left-radius:6px;color:#fff}.bubble-own{background:linear-gradient(135deg,#7877c6,#9d50bb);border-bottom-right-radius:6px;box-shadow:0 4px 15px #7877c666;color:#fff}.message-sender{color:#7877c6;font-size:12px;font-weight:700;margin:0 0 6px;text-transform:capitalize}.message-text{font-size:15px;line-height:1.5;margin:0 0 6px;white-space:pre-wrap;word-break:break-word}.message-footer{align-items:center;display:flex;gap:6px;justify-content:flex-end}.message-time{font-size:11px;font-weight:500;opacity:.7}.message-status{font-size:12px;opacity:.8}.unread-float-banner{animation:bounce 2s ease-in-out infinite;background:#ef4444;border-radius:25px;bottom:120px;box-shadow:0 6px 25px #ef444480;color:#fff;cursor:pointer;font-size:14px;font-weight:700;left:50%;padding:10px 24px;position:fixed;transform:translateX(-50%);transition:all .3s ease;z-index:50}.unread-float-banner:hover{box-shadow:0 8px 30px #ef444499;transform:translateX(-50%) translateY(-3px)}.banner-text{align-items:center;display:flex;gap:8px}.chat-input-area{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0f0f23f2;border-top:1px solid #7877c633;box-shadow:0 -4px 20px #0000004d;padding:16px 20px;position:relative;z-index:10}.input-error{align-items:center;animation:shake .5s ease-in-out;background:#ef44441a;border:1px solid #ef44444d;border-radius:12px;color:#ef4444;display:flex;font-size:14px;font-weight:500;gap:8px;margin-bottom:12px;padding:10px 16px}.error-icon{font-size:16px}.input-form{width:100%}.input-wrapper{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:25px;display:flex;gap:12px;padding:8px;transition:all .3s ease}.input-wrapper:focus-within{background:#ffffff14;border-color:#7877c680;box-shadow:0 0 0 3px #7877c61a}.message-input{background:#0000;border:none;color:#fff;flex:1 1;font-size:15px;font-weight:400;outline:none;padding:8px 16px}.message-input::placeholder{color:#fff6}.send-btn{align-items:center;background:linear-gradient(135deg,#7877c6,#9d50bb);border:none;border-radius:50%;box-shadow:0 4px 15px #7877c666;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:20px;height:44px;justify-content:center;transition:all .3s ease;width:44px}.send-btn:hover:not(.disabled){box-shadow:0 6px 20px #7877c699;transform:scale(1.1) rotate(15deg)}.send-btn:active:not(.disabled){transform:scale(.95)}.send-btn.disabled{background:#7877c64d;box-shadow:none;cursor:not-allowed;opacity:.4}.send-icon,.sending-icon{display:block}@media (max-width:768px){.chat-header{padding:12px 16px}.group-avatar{height:40px;width:40px}.avatar-icon{font-size:20px}.chat-group-name{font-size:16px}.chat-member-count{font-size:12px}.message-bubble{max-width:85%}.chat-input-area{padding:12px 16px}.unread-float-banner{bottom:100px}}.profile-container{background:linear-gradient(135deg,#0f0f23,#1a1a2e);min-height:100vh;overflow:hidden;padding:20px;position:relative}.profile-background{height:100%;left:0;pointer-events:none;position:fixed;top:0;width:100%;z-index:0}.profile-orb{animation:floatProfile 20s ease-in-out infinite;border-radius:50%;filter:blur(100px);opacity:.3;position:absolute}.profile-orb.orb-1{background:radial-gradient(circle,#7877c6,#0000);height:400px;right:-100px;top:-100px;width:400px}.profile-orb.orb-2{animation-delay:10s;background:radial-gradient(circle,#10b981,#0000);bottom:-100px;height:350px;left:-100px;width:350px}@keyframes floatProfile{0%,to{transform:translate(0) scale(1)}50%{transform:translate(30px,30px) scale(1.1)}}.profile-header{align-items:center;animation:slideDown .5s ease-out;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#0f0f23cc;border:1px solid #7877c633;border-radius:16px;box-shadow:0 4px 20px #0000004d;display:flex;justify-content:space-between;margin-bottom:30px;padding:16px 20px;position:relative;z-index:10}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.profile-back-btn,.profile-logout-btn{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:6px;padding:10px 20px;transition:all .3s ease}.profile-back-btn:hover{background:#ffffff1a;border-color:#7877c680;box-shadow:0 4px 15px #7877c64d;transform:translateX(-3px)}.profile-logout-btn{background:#ef44441a;border-color:#ef44444d;color:#ef4444}.profile-logout-btn:hover{background:#ef444433;border-color:#ef444480;box-shadow:0 4px 15px #ef44444d}.profile-header-title{color:#fff;font-size:24px;font-weight:700;margin:0}.profile-loading{align-items:center;color:#fff;display:flex;flex-direction:column;justify-content:center;min-height:60vh;position:relative;z-index:10}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #7877c633;border-radius:50%;border-top-color:#7877c6;height:50px;margin-bottom:20px;width:50px}@keyframes spin{to{transform:rotate(1turn)}}.profile-loading p{color:#ffffffb3;font-size:16px}.profile-error{align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:60vh;position:relative;text-align:center;z-index:10}.profile-error p{color:#ef4444;font-size:18px;margin-bottom:20px}.btn-back{background:#7877c6;border:none;border-radius:10px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.btn-back:hover{background:#9d50bb;box-shadow:0 6px 20px #7877c666;transform:translateY(-2px)}.profile-content{animation:fadeIn .6s ease-out;margin:0 auto;max-width:600px;position:relative;z-index:10}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.profile-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffff0d;border:1px solid #ffffff1a;border-radius:20px;box-shadow:0 8px 32px #00000080;padding:40px 30px}.avatar-section{align-items:center;display:flex;flex-direction:column;margin-bottom:30px}.avatar-wrapper{border:4px solid #7877c680;border-radius:50%;box-shadow:0 8px 30px #7877c666;cursor:pointer;height:120px;overflow:hidden;position:relative;transition:all .3s ease;width:120px}.avatar-wrapper:hover{border-color:#7877c6cc;box-shadow:0 10px 40px #7877c699;transform:scale(1.05)}.avatar-wrapper:hover .avatar-overlay{opacity:1}.avatar-image{height:100%;object-fit:cover;width:100%}.avatar-placeholder{background:linear-gradient(135deg,#7877c6,#9d50bb);color:#fff;font-size:48px;font-weight:700}.avatar-overlay,.avatar-placeholder{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.avatar-overlay{background:#0009;font-size:32px;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s ease}.avatar-hint{color:#fff9;font-size:13px;font-style:italic;margin-top:12px}.profile-info{gap:20px}.info-group,.profile-info{display:flex;flex-direction:column}.info-group{gap:8px}.info-label{color:#ffffffb3;font-size:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.info-value{background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;font-weight:500}.info-input,.info-textarea,.info-value{color:#fff;font-size:15px;padding:12px 16px}.info-input,.info-textarea{background:#ffffff14;border:2px solid #7877c666;border-radius:10px;font-family:inherit;outline:none;transition:all .3s ease}.info-input:focus,.info-textarea:focus{background:#ffffff1a;border-color:#7877c6cc;box-shadow:0 0 20px #7877c64d}.info-textarea{min-height:80px;resize:vertical}.info-hint{color:#ffffff80;font-size:12px;font-style:italic;margin:0}.char-count{color:#ffffff80;font-size:11px;margin:4px 0 0;text-align:right}.ghost-badge{animation:pulse 2s ease-in-out infinite;background:linear-gradient(135deg,#7877c6,#9d50bb);border-radius:12px;box-shadow:0 4px 15px #7877c666;color:#fff;display:inline-block;font-size:16px;font-weight:700;padding:10px 18px}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.stats-row{grid-gap:15px;display:grid;gap:15px;grid-template-columns:1fr 1fr;margin:10px 0}.stat-box{align-items:center;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:12px;display:flex;gap:12px;padding:16px;transition:all .3s ease}.stat-box:hover{background:#ffffff14;border-color:#7877c64d;transform:translateY(-2px)}.stat-icon{font-size:32px}.stat-info{flex:1 1}.stat-value{color:#fff;font-size:20px;font-weight:700;line-height:1.2}.stat-label{color:#fff9;font-size:12px;letter-spacing:.5px;text-transform:uppercase}.alert{align-items:center;animation:slideIn .3s ease-out;border-radius:10px;display:flex;font-size:14px;font-weight:500;gap:10px;margin-top:20px;padding:12px 16px}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-error{background:#ef44441a;border:1px solid #ef44444d;color:#fca5a5}.alert-success{background:#10b9811a;border:1px solid #10b9814d;color:#6ee7b7}.profile-actions{display:flex;gap:12px;margin-top:30px}.btn-primary,.btn-secondary{align-items:center;border:none;border-radius:12px;cursor:pointer;display:flex;flex:1 1;font-size:16px;font-weight:600;gap:8px;justify-content:center;padding:14px 24px;transition:all .3s ease}.btn-primary{background:linear-gradient(135deg,#7877c6,#9d50bb);box-shadow:0 4px 15px #7877c666;color:#fff}.btn-primary:hover{box-shadow:0 6px 25px #7877c699;transform:translateY(-2px)}.btn-secondary{background:#ffffff0d;border:1px solid #fff3;color:#fff}.btn-secondary:hover{background:#ffffff1a;border-color:#ffffff4d}@media (max-width:768px){.profile-container{padding:10px}.profile-header{padding:12px 16px}.profile-header-title{font-size:20px}.profile-back-btn span,.profile-logout-btn span{display:none}.profile-card{padding:30px 20px}.avatar-wrapper{height:100px;width:100px}.stats-row{grid-template-columns:1fr}.profile-actions{flex-direction:column}}
/*# sourceMappingURL=main.6745e067.css.map*/