body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.language-selector{display:inline-block;position:relative}.language-button{align-items:center;background:#007bff;background:var(--primary-color,#007bff);border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;gap:8px;justify-content:space-between;min-width:120px;padding:8px 12px;transition:all .2s ease}.language-button:hover{background:#0056b3;background:var(--primary-hover,#0056b3);transform:translateY(-1px)}.language-button:active{transform:translateY(0)}.language-flag{font-size:18px;line-height:1}.language-name{flex:1 1;font-weight:500;text-align:left}.dropdown-arrow{color:#fffc;font-size:10px;transition:transform .2s ease}.dropdown-arrow.open{transform:rotate(180deg)}.language-dropdown{background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #00000026;left:0;margin-top:4px;min-width:140px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.language-option{align-items:center;background:none;border:none;cursor:pointer;display:flex;gap:8px;padding:10px 12px;position:relative;text-align:left;transition:background-color .2s ease;width:100%}.language-option:hover{background-color:#f8f9fa}.language-option.active{background-color:#e3f2fd;color:#007bff;color:var(--primary-color,#007bff)}.language-option .language-flag{font-size:16px;line-height:1}.language-option .language-name{flex:1 1;font-size:14px;font-weight:400}.checkmark{color:#007bff;color:var(--primary-color,#007bff);font-size:14px;font-weight:700}@media (prefers-color-scheme:dark){.language-dropdown{background:#2d3748;border-color:#4a5568}.language-option:hover{background-color:#4a5568}.language-option.active{background-color:#2b6cb0;color:#fff}.checkmark{color:#fff}}@media (max-width:768px){.language-button{font-size:13px;min-width:100px;padding:6px 10px}.language-name{display:none}.language-dropdown{min-width:120px}.language-option .language-name{display:block}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;color:#333;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;overflow-x:hidden}.app-container{background:#f0f2f5;display:flex;flex-direction:column;height:100vh;transition:all .3s ease}.app-container.dark-mode{background:#111b21}.app-header{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-bottom:1px solid #fff3;box-shadow:0 2px 20px #0000001a;height:70px;justify-content:space-between;padding:0 32px;z-index:100}.app-header,.header-logo{align-items:center;display:flex}.header-logo{gap:16px}.header-logo img{border-radius:12px;box-shadow:0 4px 15px #3498db4d;height:45px;padding:8px;width:45px}.header-logo img,.header-logo span{background:linear-gradient(135deg,#3498db,#2980b9)}.header-logo span{-webkit-text-fill-color:#0000;-webkit-background-clip:text;background-clip:text;font-size:28px;font-weight:800;letter-spacing:1px}.header-user{gap:16px}.header-user,.theme-toggle-btn{align-items:center;display:flex}.theme-toggle-btn{background:#007bff;border:none;border-radius:50%;box-shadow:none;color:#fff;cursor:pointer;font-size:18px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.theme-toggle-btn:hover{background:#0056b3;box-shadow:none;transform:none}.app-container.dark-mode .theme-toggle-btn{background:#00a884}.app-container.dark-mode .theme-toggle-btn:hover{background:#008f72}.header-user span{color:#333;font-size:16px;font-weight:600}.app-main{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffffa;border-radius:20px;box-shadow:0 25px 50px #0003;display:flex;flex:1 1;margin:8px;min-height:0;overflow:hidden}.app-sidebar{background:#fff;border-right:1px solid #e1e5e9;display:flex;flex-direction:column;padding:0;transition:transform .3s ease;width:80px}.app-container.dark-mode .app-sidebar{background:#111b21;border-right:1px solid #2a3942}.desktop-nav-tabs{background:#f8f9fa;border-bottom:1px solid #e1e5e9;display:flex;flex-direction:column;padding:0}.app-container.dark-mode .desktop-nav-tabs{background:#202c33;border-bottom:1px solid #2a3942}.desktop-nav-tab{align-items:center;border-left:3px solid #0000;color:#666;cursor:pointer;display:flex;font-size:20px;font-weight:500;justify-content:center;padding:16px 8px;transition:all .3s ease}.app-container.dark-mode .desktop-nav-tab{color:#aebac1}.desktop-nav-tab:hover{background:#e9ecef;color:#333}.app-container.dark-mode .desktop-nav-tab:hover{background:#2a3942;color:#d1d7db}.desktop-nav-tab.active{background:#007bff;border-left-color:#007bff;color:#fff}.app-container.dark-mode .desktop-nav-tab.active{background:#00a884;border-left-color:#00a884;color:#fff}.desktop-nav-tab span:first-child{font-size:24px;text-align:center;width:24px}.desktop-nav-tab span:last-child{display:none}.sidebar-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e1e5e9;display:flex;justify-content:center;margin-bottom:0;padding:16px 8px}.app-container.dark-mode .sidebar-header{background:#202c33;border-bottom:1px solid #2a3942}.sidebar-header h4{display:none}.add-contact-btn{align-items:center;background:#007bff;box-shadow:none;color:#fff;display:flex;font-size:20px;font-weight:700;height:36px;justify-content:center;transition:all .3s ease;width:36px}.app-container.dark-mode .add-contact-btn{background:#00a884}.add-contact-btn:hover{background:#0056b3;box-shadow:none;transform:none}.app-container.dark-mode .add-contact-btn:hover{background:#008f72}.contact-list{display:none}.app-sidebar.expanded .contact-list{display:block}.contact-item{background:#0000;border:none;border-bottom:1px solid #2a3942;border-radius:0;margin:0;transition:all .2s ease}.contact-item:hover{background:#2a3942;transform:none}.contact-item.selected{background:#2a3942;border-color:#0000;font-weight:500}.contact-avatar,.contact-avatar-placeholder{border:none;box-shadow:none;height:40px;width:40px}.contact-avatar-placeholder{background:#00a884;color:#fff;font-size:16px;font-weight:700}.contact-name{color:#e9edef;font-size:16px;font-weight:500}.app-main-content{background:#fff;display:flex;flex:1 1;flex-direction:column}.app-container.dark-mode .app-main-content{background:#0b141a}.no-contact-message{color:#666;font-size:16px;margin:40px}.app-container.dark-mode .no-contact-message{color:#8696a0}.chat-container{background:#fff;border-radius:0;box-shadow:none;display:flex;flex-direction:column;height:100%;margin:0;max-width:none;min-height:0;padding:0}.app-container.dark-mode .chat-container{background:#0b141a}.chat-header{background:#fff;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 4px #0000001a;justify-content:space-between;padding:16px}.chat-header,.contact-info{align-items:center;display:flex}.contact-info{gap:12px}.contact-avatar{align-items:center;background:#e0e0e0;display:flex;height:48px;justify-content:center;overflow:hidden;width:48px}.contact-avatar img{height:100%;object-fit:cover;width:100%}.avatar-placeholder{background:#007bff;color:#fff;font-weight:700}.contact-details h3{color:#333;font-size:18px;font-weight:600;margin:0}.contact-details .status{color:#666;display:block;font-size:14px;margin-top:2px}.app-container.dark-mode .chat-header{background:#202c33;border-bottom:1px solid #2a3942;color:#e9edef}.chat-contact-info{align-items:center;display:flex;gap:12px}.chat-contact-avatar{border:none;border-radius:50%;height:32px;object-fit:cover;width:32px}.chat-contact-avatar-placeholder{align-items:center;background:#00a884;border:none;border-radius:50%;display:flex;font-size:14px;font-weight:700;height:32px;justify-content:center;width:32px}.chat-contact-details{display:flex;flex-direction:column;gap:2px}.chat-contact-name{color:#333;font-size:16px;font-weight:600}.app-container.dark-mode .chat-contact-name{color:#e9edef}.chat-contact-status{color:#666;font-size:12px}.app-container.dark-mode .chat-contact-status{color:#8696a0}.chat-actions{align-items:center;display:flex;gap:8px}.chat-call-btn{background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;font-size:18px;padding:8px;transition:all .3s ease}.chat-call-btn:hover{background:#ffffff4d;transform:scale(1.1)}.chat-messages{background:#fff;display:flex;flex:1 1;flex-direction:column;gap:8px;overflow-y:auto;padding:16px}.app-container.dark-mode .chat-messages{background:#0b141a}.message{word-wrap:break-word;border-radius:18px;max-width:70%;padding:12px 16px}.message.sent{align-self:flex-end;background:#007bff;color:#fff}.app-container.dark-mode .message.sent{background:#00a884}.message.received{align-self:flex-start;background:#f1f3f4;color:#333}.app-container.dark-mode .message.received{background:#202c33;color:#e9edef}.message-content{margin-bottom:4px}.message-time{font-size:12px}.chat-input-container{align-items:center;background:#f8f9fa;border-top:1px solid #e1e5e9;display:flex;gap:12px;padding:16px}.app-container.dark-mode .chat-input-container{background:#202c33;border-top:1px solid #2a3942}.chat-input{background:#fff;border:1px solid #e1e5e9;border-radius:24px;color:#333;flex:1 1;font-size:16px;outline:none;padding:12px 16px;transition:all .3s ease}.app-container.dark-mode .chat-input{background:#2a3942;border:1px solid #2a3942;color:#e9edef}.chat-input:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.app-container.dark-mode .chat-input:focus{border-color:#00a884;box-shadow:0 0 0 3px #00a8841a}.chat-send-btn{align-items:center;background:#007bff;border:none;border-radius:50%;box-shadow:none;color:#fff;cursor:pointer;display:flex;font-size:18px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.app-container.dark-mode .chat-send-btn{background:#00a884}.chat-send-btn:hover{background:#0056b3;box-shadow:none;transform:none}.app-container.dark-mode .chat-send-btn:hover{background:#008f72}.profile-sidebar{align-items:center;background:#fff;border-left:none;display:flex;flex-direction:column;justify-content:flex-start;overflow-y:auto;padding:24px;width:100%}.app-container.dark-mode .profile-sidebar{background:#0b141a}.profile-header{align-items:center;border-bottom:2px solid #e1e5e9;display:flex;justify-content:space-between;margin-bottom:24px;max-width:400px;padding-bottom:16px;width:100%}.app-container.dark-mode .profile-header{border-bottom:2px solid #2a3942}.profile-header h3{color:#333;font-size:20px;font-weight:700;margin:0}.app-container.dark-mode .profile-header h3{color:#e9edef}.back-btn{background:none;border-radius:8px;color:#666;font-size:24px;padding:8px}.back-btn:hover{background:#a259e61a;color:#a259e6}.profile-info{margin-bottom:32px;max-width:400px;text-align:center;width:100%}.profile-avatar{border-radius:50%;height:80px;margin:0 auto 16px;overflow:hidden;width:80px}.profile-avatar img{height:100%;object-fit:cover;width:100%}.profile-avatar-placeholder{align-items:center;background:linear-gradient(135deg,#a259e6,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:32px;font-weight:700;height:80px;justify-content:center;margin:0 auto 16px;width:80px}.profile-info h4{color:#333;font-size:24px;font-weight:700;margin-bottom:8px}.app-container.dark-mode .profile-info h4{color:#e9edef}.profile-info p{color:#666;font-size:16px}.app-container.dark-mode .profile-info p{color:#8696a0}.profile-stats{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;max-width:400px;padding:20px;width:100%}.app-container.dark-mode .profile-stats{background:#202c33;box-shadow:0 2px 10px #0000004d}.stat-item{align-items:center;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:12px 0}.stat-item:last-child{border-bottom:none}.stat-label{color:#333;font-weight:600}.app-container.dark-mode .stat-label{color:#e9edef}.stat-value{color:#007bff;font-size:18px;font-weight:700}.app-container.dark-mode .stat-value{color:#00a884}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{animation:modalSlideIn .3s ease;background:#fff;border-radius:20px;box-shadow:0 20px 40px #0003;max-width:90vw;padding:32px;width:400px}.whatsapp-layout.dark-mode .modal-content{background:#202c33;box-shadow:0 20px 40px #00000080}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-title{color:#333;font-size:24px;font-weight:700;margin-bottom:20px;text-align:center}.whatsapp-layout.dark-mode .modal-title{color:#e9edef}.modal-input{background:#fff;border:2px solid #e1e5e9;border-radius:12px;color:#111b21;font-size:16px;margin-bottom:16px;outline:none;padding:16px;transition:all .3s ease;width:100%}.whatsapp-layout.dark-mode .modal-input{background:#2a3942;border-color:#2a3942;color:#e9edef}.modal-input:focus{border-color:#a259e6;box-shadow:0 0 0 3px #a259e61a}.modal-actions{display:flex;gap:12px;margin-top:20px}.modal-button{border:none;border-radius:12px;cursor:pointer;flex:1 1;font-size:16px;font-weight:600;padding:14px 24px;transition:all .3s ease}.modal-button.primary{background:linear-gradient(135deg,#a259e6,#764ba2);box-shadow:0 4px 15px #a259e64d;color:#fff}.modal-button.primary:hover{box-shadow:0 6px 20px #a259e666;transform:translateY(-2px)}.modal-button.secondary{background:#f8f9fa;border:2px solid #e1e5e9;color:#666}.modal-button.secondary:hover{background:#e9ecef;border-color:#a259e6;color:#a259e6}.modal-message{border-radius:8px;font-size:14px;font-weight:500;margin:16px 0;padding:12px 16px;text-align:center}.modal-message.success{background:#d4edda;border:1px solid #c3e6cb;color:#155724}.modal-message.error{background:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.modal-description{margin-bottom:16px;text-align:center}.modal-description p{color:#666;font-size:14px;margin:0}.whatsapp-layout.dark-mode .modal-description p{color:#8696a0}.modal-footer{border-top:1px solid #eee;margin-top:20px;padding-top:16px;text-align:center}.whatsapp-layout.dark-mode .modal-footer{border-top:1px solid #2a3942}.modal-button.cancel{background:#6c757d;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;padding:10px 20px;transition:all .3s ease}.modal-button.cancel:hover{background:#5a6268}.modal-button:disabled{background:#ccc;cursor:not-allowed;opacity:.6}.modal-button:disabled:hover{box-shadow:none;transform:none}.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.auth-card{animation:cardSlideIn .5s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border:1px solid #fff3;border-radius:24px;box-shadow:0 20px 40px #0000001a;max-width:450px;padding:48px;width:100%}@keyframes cardSlideIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-header{margin-bottom:40px;text-align:center}.auth-logo{align-items:center;background:linear-gradient(135deg,#3498db,#2980b9);border-radius:50%;box-shadow:0 8px 25px #3498db4d;color:#fff;display:flex;font-size:32px;font-weight:700;height:80px;justify-content:center;margin:0 auto 24px;width:80px}.auth-title{color:#333;font-size:32px;font-weight:800;margin-bottom:12px}.auth-subtitle{color:#666;font-size:16px;line-height:1.5}.auth-form{display:flex;flex-direction:column;gap:20px}.auth-input{background:#fffc;border:2px solid #e1e5e9;border-radius:16px;font-size:16px;outline:none;padding:18px 20px;transition:all .3s ease;width:100%}.auth-input:focus{background:#fff;border-color:#3498db;box-shadow:0 0 0 4px #3498db1a}.auth-button{background:linear-gradient(135deg,#3498db,#2980b9);border:none;border-radius:16px;box-shadow:0 6px 20px #3498db4d;color:#fff;cursor:pointer;font-size:18px;font-weight:700;overflow:hidden;padding:18px 24px;position:relative;transition:all .3s ease;width:100%}.auth-button:before{background:linear-gradient(90deg,#0000,#fff3,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.auth-button:hover:before{left:100%}.auth-button:hover{box-shadow:0 8px 25px #3498db66;transform:translateY(-3px)}.auth-button.secondary{background:#0000;border:2px solid #3498db;box-shadow:none;color:#3498db}.auth-button.secondary:hover{background:#3498db;box-shadow:0 8px 25px #3498db4d;color:#fff;transform:translateY(-3px)}.app-settings-modal-overlay{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.app-settings-modal-content{animation:settingsSlideIn .4s ease;background:#fff;border-radius:24px;box-shadow:0 25px 50px #0000004d;max-height:80vh;max-width:600px;overflow-y:auto;width:90vw}@keyframes settingsSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.app-settings-header{align-items:center;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-bottom:2px solid #f0f0f0;border-radius:24px 24px 0 0;display:flex;justify-content:space-between;padding:24px 32px}.app-settings-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#a259e6,#764ba2);-webkit-background-clip:text;background-clip:text;color:#333;font-size:28px;font-weight:800;margin:0}.app-settings-close-btn{align-items:center;background:none;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:32px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.app-settings-close-btn:hover{background:#a259e61a;color:#a259e6;transform:rotate(90deg)}.app-settings-sections{padding:32px}.app-settings-section{background:#fafafa;border:1px solid #e1e5e9;border-radius:16px;margin-bottom:32px;padding:24px}.app-settings-section h3{align-items:center;color:#333;display:flex;font-size:20px;font-weight:700;gap:8px;margin:0 0 20px}.app-settings-item{align-items:center;border-bottom:1px solid #e1e5e9;display:flex;justify-content:space-between;padding:12px 0}.app-settings-item:last-child{border-bottom:none}.app-settings-item span:first-child{color:#333;font-weight:600}.app-settings-value{color:#666;font-weight:500}.app-settings-toggle{display:inline-block;height:24px;position:relative;width:50px}.app-settings-toggle input{height:0;opacity:0;width:0}.app-settings-slider{background-color:#ccc;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.app-settings-slider:before{background-color:#fff;border-radius:50%;bottom:3px;box-shadow:0 2px 4px #0003;content:"";height:18px;left:3px;position:absolute;transition:.4s;width:18px}.app-settings-toggle input:checked+.app-settings-slider{background:linear-gradient(135deg,#a259e6,#764ba2)}.app-settings-toggle input:checked+.app-settings-slider:before{transform:translateX(26px)}.app-settings-btn{align-items:center;border-radius:12px;display:flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;margin-bottom:8px;padding:12px 20px;width:100%}.app-settings-btn-danger{background:#ff4d4f;border:2px solid #ff4d4f;color:#fff}.app-settings-btn-danger:hover{background:#ff7875;border-color:#ff7875;box-shadow:0 4px 15px #ff4d4f4d;transform:translateY(-1px)}.app-settings-footer{background:#fafafa;border-radius:0 0 24px 24px;border-top:2px solid #f0f0f0;padding:24px 32px;text-align:center}.app-settings-btn{background:none;border:none;border-radius:8px;color:#666;cursor:pointer;font-size:20px;padding:8px;transition:all .3s ease}.app-settings-btn:hover{background:#a259e61a;color:#a259e6}.debug-btn{background:#007bff;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:8px 16px;transition:all .3s ease}.debug-btn:hover{background:#0056b3;box-shadow:0 4px 15px #007bff4d;transform:translateY(-1px)}.app-logout-btn{background:#ff4d4f;border:none;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:8px 16px;transition:all .3s ease}.app-logout-btn:hover{background:#ff7875;transform:translateY(-1px)}@media (max-width:768px){.desktop-nav-tabs{display:none}.app-header{height:60px;padding:0 16px}.header-logo img{border-radius:10px;height:35px;padding:6px;width:35px}.header-logo span{font-size:22px}.header-user span{font-size:14px}.app-main{border-radius:16px;flex-direction:column;margin:8px}.app-sidebar{border-bottom:1px solid #e1e5e9;border-right:none;height:auto;padding:16px;transform:translateX(0);width:100%}.app-sidebar.hidden{transform:translateX(-100%)}.chat-area{display:flex;flex:1 1;flex-direction:column;min-height:0}.profile-sidebar{border-left:none;border-top:1px solid #e1e5e9;height:auto;padding:16px;width:100%}.auth-card{border-radius:16px;margin:16px;padding:24px}.app-settings-modal-content,.modal-content{border-radius:16px;margin:16px;max-width:calc(100vw - 32px);padding:20px}.app-settings-modal-content{max-height:calc(100vh - 32px)}.app-settings-header{padding:16px 0}.app-settings-header h2{font-size:20px}.app-settings-sections{padding:16px 0}.app-settings-section{margin-bottom:20px}.app-settings-footer{padding:16px 0}}@media (min-width:769px) and (max-width:1024px){.app-main{margin:12px}.app-sidebar{padding:20px;width:240px}.auth-card{margin:24px;padding:32px}}.friend-requests-container{margin:0 auto;max-width:800px;padding:20px}.friend-requests-header{align-items:center;border-bottom:2px solid #e1e5e9;display:flex;gap:16px;margin-bottom:24px;padding-bottom:16px}.friend-requests-header h2{color:#333;font-size:24px;font-weight:700;margin:0}.back-btn{align-items:center;background:#a259e61a;border:none;border-radius:50%;color:#a259e6;cursor:pointer;display:flex;font-size:18px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.back-btn:hover{background:#a259e633;transform:scale(1.1)}.tabs{border-bottom:2px solid #f1f1f1;display:flex;gap:8px;margin-bottom:24px}.tab{background:none;border:none;border-bottom:3px solid #0000;color:#666;cursor:pointer;font-size:16px;font-weight:600;padding:12px 20px;transition:all .3s ease}.tab.active,.tab:hover{color:#a259e6}.tab.active{border-bottom-color:#a259e6}.tab-content{min-height:400px}.request-card{align-items:center;background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000001a;display:flex;justify-content:space-between;margin-bottom:16px;padding:20px;transition:all .3s ease}.request-card:hover{box-shadow:0 6px 20px #00000026;transform:translateY(-2px)}.request-info{flex:1 1;gap:16px}.request-avatar,.request-info{align-items:center;display:flex}.request-avatar{background:linear-gradient(135deg,#a259e6,#764ba2);border-radius:50%;color:#fff;font-size:20px;font-weight:700;height:50px;justify-content:center;width:50px}.request-details{flex:1 1}.request-name{color:#333;font-size:18px;font-weight:600;margin-bottom:4px}.request-email{color:#666}.request-email,.request-message{font-size:14px;margin-bottom:8px}.request-message{background:#f8f9fa;border-left:3px solid #a259e6;border-radius:8px;color:#555;font-style:italic;padding:8px 12px}.request-date{color:#999;font-size:12px}.request-status{color:#f39c12;font-size:12px;font-weight:600;margin-top:4px}.request-actions{display:flex;gap:8px}.accept-btn,.cancel-btn,.reject-btn,.send-btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .3s ease}.accept-btn{background:#27ae60;color:#fff}.accept-btn:hover{background:#229954;transform:translateY(-1px)}.cancel-btn,.reject-btn{background:#e74c3c;color:#fff}.cancel-btn:hover,.reject-btn:hover{background:#c0392b;transform:translateY(-1px)}.send-btn{background:linear-gradient(135deg,#a259e6,#764ba2);color:#fff;margin-top:16px;padding:12px 24px;width:100%}.send-btn:hover{box-shadow:0 4px 15px #a259e64d;transform:translateY(-2px)}.send-btn:disabled{cursor:not-allowed;opacity:.6;transform:none}.send-request-form{background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000001a;padding:24px}.send-request-form h3{color:#333;font-size:20px;font-weight:700;margin-bottom:20px}.form-group{margin-bottom:20px}.form-group label{color:#333;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-group input,.form-group textarea{border:2px solid #e1e5e9;border-radius:12px;box-sizing:border-box;font-size:16px;padding:12px 16px;transition:all .3s ease;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#a259e6;box-shadow:0 0 0 3px #a259e61a;outline:none}.empty-state{color:#666;padding:40px 20px;text-align:center}.empty-state p{font-size:16px;margin:0}.mobile-nav-toggle{background:none;border:none;color:#333;cursor:pointer;display:none;font-size:24px;padding:8px}@media (max-width:768px){.mobile-nav-toggle{display:block}.app-sidebar{background:#fafafa;height:100%;left:0;position:absolute;top:0;transform:translateX(-100%);transition:transform .3s ease;width:100%;z-index:1000}.app-sidebar.open{transform:translateX(0)}.mobile-nav-overlay{background:#00000080;height:100%;left:0;opacity:0;position:fixed;top:0;transition:all .3s ease;visibility:hidden;width:100%;z-index:999}.mobile-nav-overlay.open{opacity:1;visibility:visible}}.nav-icon{height:24px;object-fit:contain;width:24px}.add-icon{height:20px;object-fit:contain;width:20px}.mobile-bottom-nav{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-top:1px solid #0000001a;bottom:0;display:none;left:0;padding:8px 16px;position:fixed;right:0;z-index:1000}@media (max-width:768px){.mobile-bottom-nav{align-items:center;display:flex;justify-content:space-around}.mobile-bottom-nav-item{align-items:center;border-radius:12px;color:#666;cursor:pointer;display:flex;flex-direction:column;padding:8px 12px;transition:all .2s ease}.mobile-bottom-nav-item.active{background:#a259e61a;color:#a259e6}.mobile-bottom-nav-item span:first-child{font-size:20px;margin-bottom:4px}.mobile-bottom-nav-item span:last-child{font-size:12px;font-weight:500}.chat-container{border-radius:0;height:calc(100vh - 140px);margin:0;overflow:hidden;padding:0}.chat-header{flex-shrink:0;height:50px;min-height:50px;padding:8px 12px}.chat-contact-info{flex:1 1;gap:8px;min-width:0}.chat-contact-avatar,.chat-contact-avatar-placeholder{border-radius:16px;flex-shrink:0;height:32px;min-height:32px;min-width:32px;width:32px}.chat-contact-name{font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-status{font-size:11px;white-space:nowrap}.chat-actions{flex-shrink:0;gap:4px}.chat-actions button{border-radius:16px;flex-shrink:0;font-size:14px;height:32px;min-height:32px;min-width:32px;width:32px}.chat-messages{flex:1 1;min-height:0;overflow-y:auto;padding:8px}.chat-input-container{background:#fafafa;border-top:1px solid #eee;flex-shrink:0;gap:6px;min-height:60px;padding:8px}.chat-input{flex:1 1;font-size:14px;max-height:80px;min-width:0;padding:10px 14px;resize:none}.chat-input,.chat-send-btn{border-radius:18px;min-height:36px}.chat-send-btn{flex-shrink:0;font-size:16px;height:36px;min-width:36px;width:36px}.message-bubble{margin:4px 8px!important;max-width:85%!important}.message-bubble .message-bubble-content{font-size:13px!important;line-height:1.3!important;padding:8px 12px!important}.image-preview-container{background:#f0f0f0;border-top:1px solid #ddd;flex-shrink:0;padding:6px 8px}.image-preview-content{background:#fff;border:1px solid #ddd;border-radius:6px;gap:6px;padding:6px}.image-preview-content img{border-radius:4px;height:32px;width:32px}.image-preview-content span{font-size:11px}.image-preview-remove{font-size:10px;height:18px;width:18px}}@media (max-width:480px){.chat-container{height:calc(100vh - 120px)}.chat-header{height:45px;min-height:45px;padding:6px 8px}.chat-contact-avatar,.chat-contact-avatar-placeholder{border-radius:14px;height:28px;min-height:28px;min-width:28px;width:28px}.chat-contact-name{font-size:13px}.chat-contact-status{font-size:10px}.chat-actions button{border-radius:14px;font-size:12px;height:28px;min-height:28px;min-width:28px;width:28px}.chat-input-container{gap:4px;min-height:55px;padding:6px}.chat-input{font-size:13px;padding:8px 12px}.chat-input,.chat-send-btn{border-radius:16px;min-height:32px}.chat-send-btn{font-size:14px;height:32px;min-width:32px;width:32px}.message-bubble{margin:3px 6px!important;max-width:90%!important}.message-bubble .message-bubble-content{font-size:12px!important;padding:6px 10px!important}}@media (max-width:768px) and (orientation:landscape){.app-header{height:45px;min-height:45px}.app-main{margin:2px}.chat-container{height:calc(100vh - 60px)}.chat-header{height:40px;min-height:40px;padding:6px 10px}.chat-input-container{min-height:50px;padding:6px 8px}}@media (max-width:360px){.chat-container{height:calc(100vh - 100px)}.chat-header{height:40px;min-height:40px;padding:4px 6px}.chat-contact-avatar,.chat-contact-avatar-placeholder{border-radius:12px;height:24px;min-height:24px;min-width:24px;width:24px}.chat-contact-name{font-size:12px}.chat-contact-status{font-size:9px}.chat-actions button{border-radius:12px;font-size:10px;height:24px;min-height:24px;min-width:24px;width:24px}.chat-input-container{gap:3px;min-height:50px;padding:4px}.chat-input{padding:6px 10px}.chat-input,.chat-send-btn{border-radius:14px;font-size:12px;min-height:28px}.chat-send-btn{height:28px;min-width:28px;width:28px}.message-bubble{margin:2px 4px!important;max-width:95%!important}.message-bubble .message-bubble-content{font-size:11px!important;padding:4px 8px!important}}@media (max-width:768px){.contact-list{gap:8px}.contact-item{border-radius:12px;margin-bottom:4px;padding:12px}.contact-avatar{border-radius:24px;height:48px;width:48px}.contact-name{font-size:16px}.contact-email{font-size:14px}.auth-container{padding:16px}.auth-card{border-radius:16px;padding:24px}.auth-header{margin-bottom:24px}.auth-logo{border-radius:30px;height:60px;margin-bottom:16px;width:60px}.auth-title{font-size:24px;margin-bottom:8px}.auth-subtitle{font-size:14px}.auth-form{gap:16px}.auth-input{padding:14px 16px}.auth-button,.auth-input{border-radius:12px;font-size:16px}.auth-button{font-weight:600;padding:14px 24px}.modal-overlay{padding:16px}.modal-content{border-radius:16px;padding:20px}.modal-title{font-size:20px;margin-bottom:16px}.modal-input{border-radius:12px;font-size:16px;margin-bottom:16px;padding:14px 16px}.modal-actions{gap:12px}.modal-button{border-radius:12px;font-size:16px;font-weight:600;padding:12px 20px}.app-settings-modal-content{border-radius:16px;padding:20px}.app-settings-header h2{font-size:20px}.app-settings-section{margin-bottom:20px}.app-settings-item{padding:12px 0}.app-settings-btn{border-radius:12px;font-size:16px;font-weight:600;padding:12px 20px}.chat-call-btn,.contact-item,.mobile-bottom-nav-item,button{min-height:44px;min-width:44px}input,textarea{font-size:16px}}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#a259e6,#764ba2);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#8a4fd8,#6a4c93)}.contacts-view{overflow-y:auto;padding:20px}.contacts-header{border-bottom:1px solid #e1e5e9;margin-bottom:20px;padding-bottom:15px}.contacts-header h2{color:#333;font-size:24px;font-weight:700}.add-contact-btn.mobile{align-items:center;background:linear-gradient(135deg,#a259e6,#764ba2);border:none;border-radius:50%;box-shadow:0 4px 15px #a259e64d;color:#fff;cursor:pointer;display:flex;font-size:20px;height:50px;justify-content:center;transition:all .3s ease;width:50px}.add-contact-btn.mobile:hover{box-shadow:0 6px 20px #a259e666;transform:scale(1.1)}.contact-item.empty{align-items:center;background:#f8f9fa;border-radius:12px;display:flex;margin:20px 0;padding:40px 20px}.contact-empty-message{color:#666}.contact-empty-message span{display:block;font-size:16px;margin-bottom:15px}.add-first-contact-btn{background:linear-gradient(135deg,#a259e6,#764ba2);border:none;border-radius:25px;box-shadow:0 4px 15px #a259e64d;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .3s ease}.add-first-contact-btn:hover{box-shadow:0 6px 20px #a259e666;transform:translateY(-2px)}.mobile-fab{background:linear-gradient(135deg,#a259e6,#764ba2);border:none;border-radius:50%;bottom:100px;box-shadow:0 6px 20px #a259e666;color:#fff;cursor:pointer;display:none;font-size:24px;height:60px;position:fixed;right:20px;transition:all .3s ease;width:60px;z-index:1000}.mobile-fab:hover{box-shadow:0 8px 25px #a259e680;transform:scale(1.1)}@media (max-width:768px){.mobile-fab{align-items:center;display:flex;justify-content:center}}.call-actions{gap:8px}.call-actions,.call-btn{align-items:center;display:flex}.call-btn{border:none;border-radius:50%;cursor:pointer;font-size:18px;height:40px;justify-content:center;transition:all .3s ease;width:40px}.call-btn.audio-call{background:#28a745;color:#fff}.call-btn.video-call{background:#007bff;color:#fff}.call-btn:hover{box-shadow:0 4px 8px #0003}.call-controls{background:#000c;border-radius:20px;color:#fff;gap:12px;padding:8px 16px}.call-controls,.call-info{align-items:center;display:flex}.call-info{flex-direction:column;gap:4px}.call-type{font-size:14px;font-weight:500}.call-duration{font-size:12px;opacity:.8}.end-call-btn{align-items:center;background:#dc3545;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:36px;justify-content:center;transition:all .3s ease;width:36px}.end-call-btn:hover{background:#c82333;transform:scale(1.1)}.incoming-call-modal{align-items:center;animation:fadeIn .3s ease;background:#000c;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.call-modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0000004d;max-width:400px;padding:32px;text-align:center;width:90%}.call-modal-header h3{color:#333;font-size:24px;margin:0 0 16px}.caller-name{color:#666;display:block;font-size:18px;margin-bottom:8px}.call-type{color:#888;display:block;font-size:16px;margin-bottom:24px}.call-modal-actions{display:flex;gap:16px;justify-content:center}.accept-call-btn,.reject-call-btn{border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;min-width:100px;padding:12px 24px;transition:all .3s ease}.accept-call-btn{background:#28a745}.accept-call-btn:hover{background:#218838}.reject-call-btn{background:#dc3545;color:#fff}.reject-call-btn:hover{background:#c82333;transform:scale(1.05)}.video-container{background:#000;border-radius:8px;margin:8px;min-height:200px;overflow:hidden;position:relative}.local-video{border:2px solid #fff;border-radius:8px;height:90px;object-fit:cover;position:absolute;right:8px;top:8px;width:120px;z-index:2}.remote-video{height:100%;object-fit:cover;width:100%}.local-audio,.remote-audio{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.call-modal-content{margin:16px;padding:24px}.call-modal-actions{flex-direction:column;gap:12px}.accept-call-btn,.reject-call-btn{width:100%}.local-video{height:60px;width:80px}.call-controls{flex-direction:column;gap:8px;padding:12px}}.messages-container{background:#f8f9fa;display:flex;flex:1 1;flex-direction:column;gap:8px;overflow-y:auto;padding:16px}.call-btn.audio-call{background:linear-gradient(135deg,#28a745,#20c997);box-shadow:0 4px 15px #28a7454d}.call-btn.video-call{background:linear-gradient(135deg,#007bff,#6610f2);box-shadow:0 4px 15px #007bff4d}.call-btn:hover{box-shadow:0 6px 20px #0000004d;transform:scale(1.1)}.encryption-status{background:#28a7451a;border:1px solid #28a7454d;border-radius:12px;color:#28a745;font-size:12px;font-weight:500;padding:4px 8px}.accept-call-btn{background:linear-gradient(135deg,#28a745,#20c997);border:2px solid #28a745;box-shadow:0 4px 15px #28a7454d;color:#fff}.accept-call-btn:hover{background:linear-gradient(135deg,#218838,#1ea085);box-shadow:0 6px 20px #28a74566;transform:scale(1.05)}.security-indicator{align-items:center;background:#28a7451a;border:1px solid #28a7454d;border-radius:20px;display:flex;justify-content:center;margin:4px 0;padding:4px 8px;width:fit-content}.security-indicator .lock-icon{color:#28a745;font-size:14px}.key-exchange-progress{align-items:center;background:#007bff1a;border:1px solid #007bff4d;border-radius:8px;display:flex;gap:12px;margin:8px 0;padding:12px}.key-exchange-progress .spinner{animation:spin 1s linear infinite;border:2px solid #007bff;border-radius:50%;border-top-color:#0000;height:20px;width:20px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.security-info{margin-top:16px;text-align:center}.security-badge{background:#28a745;border-radius:16px;color:#fff;display:inline-block;font-size:12px;font-weight:500;margin:0;padding:4px 12px}.password-strength-info,.username-info{color:#666;font-size:12px;line-height:1.4;margin-bottom:15px;margin-top:5px;text-align:left}.password-strength-info small,.username-info small{color:#888;font-style:italic}.auth-input:focus{border-color:#a259e6;box-shadow:0 0 0 2px #a259e633;outline:none}.auth-input[style*="border-color: #ff4444"]{border-color:#f44!important}.auth-input[style*="border-color: #ff8800"]{border-color:#f80!important}.auth-input[style*="border-color: #ffaa00"]{border-color:#fa0!important}.auth-input[style*="border-color: #00aa00"]{border-color:#0a0!important}.auth-input[style*="border-color: #008800"]{border-color:#080!important}.whatsapp-layout{background:#f0f2f5;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;height:100vh;overflow:hidden;width:100vw}.whatsapp-layout.dark-mode{background:#0b141a}.whatsapp-left-panel{background:#fff;border-right:1px solid #e9edef;display:flex;max-width:450px;min-width:300px;width:30%}.whatsapp-layout.dark-mode .whatsapp-left-panel{background:#111b21;border-right:1px solid #2a3942}.whatsapp-left-nav{align-items:center;background:#f0f2f5;border-right:1px solid #e9edef;display:flex;flex-direction:column;gap:4px;padding:8px 0;width:72px}.whatsapp-layout.dark-mode .whatsapp-left-nav{background:#202c33;border-right:1px solid #2a3942}.nav-icon-item{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:48px;justify-content:center;margin:4px 0;transition:background .2s;width:48px}.nav-icon-item:hover{background:#e9edef}.whatsapp-layout.dark-mode .nav-icon-item:hover{background:#2a3942}.nav-icon-item.active{background:#d9fdd3}.whatsapp-layout.dark-mode .nav-icon-item.active{background:#00a884}.nav-icon{font-size:24px}.whatsapp-chat-list{display:flex;flex:1 1;flex-direction:column;overflow:hidden}.chat-list-header{align-items:center;background:#f0f2f5;border-bottom:1px solid #e9edef;display:flex;height:60px;justify-content:space-between;padding:0 16px}.whatsapp-layout.dark-mode .chat-list-header{background:#202c33;border-bottom:1px solid #2a3942}.chat-list-header-left{align-items:center;display:flex;gap:16px}.menu-btn{background:none;border:none;border-radius:50%;cursor:pointer;font-size:20px;padding:8px;transition:background .2s}.menu-btn:hover{background:#e9edef}.whatsapp-layout.dark-mode .menu-btn:hover{background:#2a3942}.chat-list-header h2{color:#41525d;font-size:20px;font-weight:500;margin:0}.whatsapp-layout.dark-mode .chat-list-header h2{color:#e9edef}.chat-list-header-right{display:flex;gap:8px}.filter-btn,.new-chat-btn{background:none;border:none;border-radius:50%;color:#54656f;cursor:pointer;font-size:20px;padding:8px;transition:background .2s}.filter-btn:hover,.new-chat-btn:hover{background:#e9edef}.whatsapp-layout.dark-mode .filter-btn,.whatsapp-layout.dark-mode .new-chat-btn{color:#aebac1}.whatsapp-layout.dark-mode .filter-btn:hover,.whatsapp-layout.dark-mode .new-chat-btn:hover{background:#2a3942}.chat-list-search{background:#fff;border-bottom:1px solid #e9edef;padding:8px 12px}.whatsapp-layout.dark-mode .chat-list-search{background:#111b21;border-bottom:1px solid #2a3942}.chat-list-search .search-input{background:#f0f2f5;border:none;border-radius:8px;font-size:14px;outline:none;padding:9px 16px;width:100%}.whatsapp-layout.dark-mode .chat-list-search .search-input{background:#202c33;color:#e9edef}.chat-list-search .search-input::placeholder{color:#667781}.chat-list-items{background:#fff;flex:1 1;overflow-y:auto}.whatsapp-layout.dark-mode .chat-list-items{background:#111b21}.chat-list-item{align-items:center;border-bottom:1px solid #e9edef;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background .2s}.whatsapp-layout.dark-mode .chat-list-item{border-bottom:1px solid #2a3942}.chat-list-item:hover{background:#f5f6f6}.whatsapp-layout.dark-mode .chat-list-item:hover{background:#202c33}.chat-list-item.selected{background:#f0f2f5}.whatsapp-layout.dark-mode .chat-list-item.selected{background:#202c33}.chat-item-avatar{border-radius:50%;flex-shrink:0;height:49px;overflow:hidden;width:49px}.chat-item-avatar img{height:100%;object-fit:cover;width:100%}.avatar-placeholder{align-items:center;background:#dfe5e7;color:#54656f;display:flex;font-size:20px;font-weight:500;height:100%;justify-content:center;width:100%}.whatsapp-layout.dark-mode .avatar-placeholder{background:#6a7175;color:#e9edef}.chat-item-content{display:flex;flex:1 1;flex-direction:column;gap:4px;min-width:0}.chat-item-header{align-items:center;display:flex;justify-content:space-between}.chat-item-name{color:#111b21;font-size:17px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whatsapp-layout.dark-mode .chat-item-name{color:#e9edef}.chat-item-time{color:#667781;flex-shrink:0;font-size:12px;margin-left:8px}.whatsapp-layout.dark-mode .chat-item-time{color:#8696a0}.chat-item-preview{align-items:center;color:#667781;display:flex;font-size:14px;gap:8px}.whatsapp-layout.dark-mode .chat-item-preview{color:#8696a0}.chat-item-message{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-item-status{color:#53bdeb;flex-shrink:0;font-size:16px}.chat-item-empty{color:#8696a0;font-style:italic}.chat-list-empty{align-items:center;color:#667781;display:flex;flex-direction:column;height:100%;justify-content:center;padding:32px;text-align:center}.whatsapp-layout.dark-mode .chat-list-empty{color:#8696a0}.whatsapp-right-panel{background:#efeae2;display:flex;flex:1 1;flex-direction:column;position:relative}.whatsapp-layout.dark-mode .whatsapp-right-panel{background:#0b141a}.whatsapp-chat-container{background:#efeae2;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z' fill='%23d4d4d4' fill-opacity='.1' fill-rule='evenodd'/%3E%3C/svg%3E");display:flex;flex-direction:column;height:100%}.whatsapp-layout.dark-mode .whatsapp-chat-container{background:#0b141a;background-image:none}.whatsapp-chat-header{align-items:center;background:#f0f2f5;border-bottom:1px solid #e9edef;display:flex;height:60px;justify-content:space-between;padding:0 16px}.whatsapp-layout.dark-mode .whatsapp-chat-header{background:#202c33;border-bottom:1px solid #2a3942}.chat-header-left{align-items:center;display:flex;gap:12px}.chat-header-avatar{border-radius:50%;flex-shrink:0;height:40px;overflow:hidden;width:40px}.chat-header-avatar img{height:100%;object-fit:cover;width:100%}.chat-header-info{display:flex;flex-direction:column}.chat-header-name{color:#111b21;font-size:16px;font-weight:500}.whatsapp-layout.dark-mode .chat-header-name{color:#e9edef}.chat-header-status{color:#667781;font-size:13px}.whatsapp-layout.dark-mode .chat-header-status{color:#8696a0}.chat-header-right{align-items:center;display:flex;gap:8px}.chat-offline-banner{background:#fff4e5;border-bottom:1px solid #ffd8a8;color:#8a4b02;font-size:13px;padding:6px 12px;text-align:center}.whatsapp-layout.dark-mode .chat-offline-banner{background:#3b2a1a;border-bottom:1px solid #5a3c24;color:#ffe0b2}.chat-header-icon-btn{background:none;border:none;border-radius:50%;color:#54656f;cursor:pointer;font-size:20px;padding:8px;transition:background .2s}.chat-header-icon-btn:hover{background:#e9edef}.whatsapp-layout.dark-mode .chat-header-icon-btn{color:#aebac1}.whatsapp-layout.dark-mode .chat-header-icon-btn:hover{background:#2a3942}.whatsapp-messages-container{display:flex;flex:1 1;flex-direction:column;gap:8px;overflow-y:auto;padding:20px 0}.message-bubble{word-wrap:break-word;display:flex;flex-direction:column;max-width:65%;overflow-wrap:break-word;position:relative;word-break:break-word}.message-menu-trigger{align-items:center;background:#ffffffe6;border:1px solid #0000;border-radius:50%;box-shadow:0 4px 12px #00000026;color:#54656f;display:flex;font-size:18px;height:28px;justify-content:center;line-height:1;opacity:0;pointer-events:none;position:absolute;top:6px;transition:opacity .15s ease,transform .15s ease;width:28px;z-index:2}.message-bubble.me .message-menu-trigger{left:-36px}.message-bubble.other .message-menu-trigger{right:-36px}.message-bubble:hover .message-menu-trigger,.message-menu-trigger.active{opacity:1;pointer-events:auto}.message-context-menu{background:#fff;border:1px solid #e9edef;border-radius:10px;box-shadow:0 18px 30px #0003;display:none;flex-direction:column;gap:2px;min-width:160px;padding:4px;position:absolute;top:-4px;z-index:5}.message-context-menu.menu-left{right:calc(100% + 8px)}.message-context-menu.menu-right{left:calc(100% + 8px)}.message-context-menu.open{display:flex}.message-context-item{align-items:center;background:#0000;border:none;border-radius:8px;color:#111b21;cursor:pointer;display:flex;font-size:13px;gap:8px;padding:8px 10px;text-align:left;transition:background .15s ease}.message-context-item:hover{background:#f0f2f5}.message-context-item.destructive{color:#d93025}.whatsapp-layout.dark-mode .message-menu-trigger{background:#202c33f2;color:#e9edef}.whatsapp-layout.dark-mode .message-context-menu{background:#111b21;border:1px solid #2a3942}.whatsapp-layout.dark-mode .message-context-item{color:#e9edef}.whatsapp-layout.dark-mode .message-context-item:hover{background:#2a3942}.whatsapp-layout.dark-mode .message-context-item.destructive{color:#ff8a8a}.message-bubble.me{align-self:flex-end;margin-right:12px}.message-bubble.other{align-self:flex-start;margin-left:12px}.message-bubble-content{word-wrap:break-word;border-radius:7.5px;display:flex;flex-direction:column;font-size:14.2px;line-height:19px;min-width:0;overflow-wrap:break-word;padding:6px 12px 8px;position:relative;width:100%;word-break:break-word}.message-bubble.me .message-bubble-content{background:#d9fdd3;border-bottom-right-radius:4px}.whatsapp-layout.dark-mode .message-bubble.me .message-bubble-content{background:#005c4b;color:#e9edef}.message-bubble.other .message-bubble-content{background:#fff;border-bottom-left-radius:4px}.whatsapp-layout.dark-mode .message-bubble.other .message-bubble-content{background:#202c33;color:#e9edef}.message-sender-name{font-size:13px;font-weight:500;margin-bottom:4px;opacity:.9}.message-text{word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap;word-break:break-word}.message-image{margin-bottom:4px}.message-image img{border-radius:4px;cursor:pointer;max-height:300px;max-width:100%;object-fit:cover}.message-empty{font-style:italic;opacity:.7}.message-time{align-items:center;display:flex;font-size:11px;gap:4px;justify-content:flex-end;margin-left:auto;margin-top:2px;opacity:.7;width:fit-content}.message-status{color:#53bdeb;font-size:16px}.whatsapp-chat-input-bar{align-items:center;background:#f0f2f5;border-top:1px solid #e9edef;display:flex;gap:8px;height:62px;padding:5px 8px}.whatsapp-layout.dark-mode .whatsapp-chat-input-bar{background:#202c33;border-top:1px solid #2a3942}.input-icon-btn{align-items:center;background:none;border:none;border-radius:50%;color:#54656f;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;padding:8px;transition:background .2s;width:40px}.input-icon-btn:hover{background:#e9edef}.whatsapp-layout.dark-mode .input-icon-btn{color:#8696a0}.whatsapp-layout.dark-mode .input-icon-btn:hover{background:#2a3942}.input-wrapper{align-items:center;background:#fff;border-radius:24px;display:flex;flex:1 1;padding:9px 12px}.whatsapp-layout.dark-mode .input-wrapper{background:#2a3942}.whatsapp-chat-input{background:#0000;border:none;color:#111b21;flex:1 1;font-size:15px;max-height:100px;outline:none;padding:0;resize:none}.whatsapp-layout.dark-mode .whatsapp-chat-input{color:#e9edef}.whatsapp-chat-input::placeholder{color:#667781}.whatsapp-layout.dark-mode .whatsapp-chat-input::placeholder{color:#8696a0}.input-send-btn{align-items:center;background:#00a884;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;transition:background .2s;width:40px}.input-send-btn:hover{background:#008f72}.input-send-btn:disabled{background:#8696a0;cursor:not-allowed}.contacts-view{background:#fff;display:flex;flex-direction:column;height:100%}.whatsapp-layout.dark-mode .contacts-view{background:#111b21}.contacts-header{align-items:center;background:#f0f2f5;border-bottom:1px solid #e9edef;display:flex;height:60px;justify-content:space-between;padding:0 16px}.whatsapp-layout.dark-mode .contacts-header{background:#202c33;border-bottom:1px solid #2a3942}.contacts-header h2{color:#111b21;font-size:20px;font-weight:500;margin:0}.whatsapp-layout.dark-mode .contacts-header h2{color:#e9edef}.contacts-search{background:#fff;border-bottom:1px solid #e9edef;padding:8px 12px}.whatsapp-layout.dark-mode .contacts-search{background:#111b21;border-bottom:1px solid #2a3942}.contacts-search .search-input{background:#f0f2f5;border:none;border-radius:8px;color:#111b21;font-size:14px;outline:none;padding:9px 16px;width:100%}.whatsapp-layout.dark-mode .contacts-search .search-input{background:#202c33;color:#e9edef}.contacts-search .search-input::placeholder{color:#667781}.contact-list{background:#fff;flex:1 1;list-style:none;margin:0;overflow-y:auto;padding:0}.whatsapp-layout.dark-mode .contact-list{background:#111b21}.contact-item{align-items:center;border-bottom:1px solid #e9edef;cursor:pointer;display:flex;gap:12px;padding:12px 16px;transition:background .2s}.whatsapp-layout.dark-mode .contact-item{border-bottom:1px solid #2a3942}.contact-item:hover{background:#f5f6f6}.whatsapp-layout.dark-mode .contact-item:hover{background:#202c33}.contact-avatar{object-fit:cover}.contact-avatar,.contact-avatar-placeholder{border-radius:50%;flex-shrink:0;height:49px;width:49px}.contact-avatar-placeholder{align-items:center;background:#dfe5e7;color:#54656f;display:flex;font-size:20px;font-weight:500;justify-content:center}.whatsapp-layout.dark-mode .contact-avatar-placeholder{background:#6a7175;color:#e9edef}.contact-name{color:#111b21;flex:1 1;font-size:17px;font-weight:400}.whatsapp-layout.dark-mode .contact-name{color:#e9edef}.contact-item.empty{justify-content:center;padding:40px 16px}.contact-empty-message{color:#667781;text-align:center}.whatsapp-layout.dark-mode .contact-empty-message{color:#8696a0}.add-contact-btn{background:none;border:none;border-radius:50%;cursor:pointer;padding:8px;transition:background .2s}.add-contact-btn:hover{background:#e9edef}.whatsapp-layout.dark-mode .add-contact-btn:hover{background:#2a3942}.add-icon{height:24px;width:24px}.fullscreen-search{align-items:flex-start;animation:searchFadeIn .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#000c;bottom:0;display:flex;justify-content:center;left:0;padding-top:10vh;position:fixed;right:0;top:0;z-index:10000}@keyframes searchFadeIn{0%{opacity:0}to{opacity:1}}.fullscreen-search-content{animation:searchSlideDown .3s ease;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:700px;overflow:hidden;width:90%}@keyframes searchSlideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.whatsapp-layout.dark-mode .fullscreen-search-content{background:#202c33}.fullscreen-search-header{align-items:center;border-bottom:1px solid #e9edef;display:flex;gap:16px;padding:20px 24px}.whatsapp-layout.dark-mode .fullscreen-search-header{border-bottom:1px solid #2a3942}.fullscreen-search-input{background:#0000;border:none;color:#111b21;flex:1 1;font-size:18px;outline:none;padding:8px 0}.whatsapp-layout.dark-mode .fullscreen-search-input{color:#e9edef}.fullscreen-search-input::placeholder{color:#667781}.fullscreen-search-close{align-items:center;background:none;border:none;border-radius:50%;color:#54656f;cursor:pointer;display:flex;font-size:24px;height:40px;justify-content:center;padding:8px;transition:background .2s;width:40px}.fullscreen-search-close:hover{background:#e9edef}.whatsapp-layout.dark-mode .fullscreen-search-close{color:#aebac1}.whatsapp-layout.dark-mode .fullscreen-search-close:hover{background:#2a3942}.fullscreen-search-results{max-height:60vh;overflow-y:auto;padding:8px 0}.fullscreen-search-result-item{align-items:center;cursor:pointer;display:flex;gap:12px;padding:12px 24px;transition:background .2s}.fullscreen-search-result-item:hover{background:#f5f6f6}.whatsapp-layout.dark-mode .fullscreen-search-result-item:hover{background:#2a3942}.fullscreen-search-result-avatar{border-radius:50%;flex-shrink:0;height:40px;object-fit:cover;width:40px}.fullscreen-search-result-avatar-placeholder{align-items:center;background:#dfe5e7;border-radius:50%;color:#54656f;display:flex;flex-shrink:0;font-size:16px;font-weight:500;height:40px;justify-content:center;width:40px}.whatsapp-layout.dark-mode .fullscreen-search-result-avatar-placeholder{background:#6a7175;color:#e9edef}.fullscreen-search-result-info{flex:1 1;min-width:0}.fullscreen-search-result-name{color:#111b21;font-size:16px;font-weight:500;margin-bottom:2px}.whatsapp-layout.dark-mode .fullscreen-search-result-name{color:#e9edef}.fullscreen-search-result-email{color:#667781;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whatsapp-layout.dark-mode .fullscreen-search-result-email{color:#8696a0}.fullscreen-search-empty{color:#667781;padding:40px 24px;text-align:center}.whatsapp-layout.dark-mode .fullscreen-search-empty{color:#8696a0}.fullscreen-search-shortcut{align-items:center;border-top:1px solid #e9edef;color:#667781;display:flex;font-size:12px;justify-content:space-between;padding:12px 24px}.whatsapp-layout.dark-mode .fullscreen-search-shortcut{border-top:1px solid #2a3942;color:#8696a0}.fullscreen-search-shortcut-key{background:#e9edef;border-radius:4px;font-family:monospace;font-weight:600;padding:4px 8px}.whatsapp-layout.dark-mode .fullscreen-search-shortcut-key{background:#2a3942;color:#e9edef}.no-contact-message{align-items:center;color:#667781;display:flex;flex-direction:column;height:100%;justify-content:center;padding:32px;text-align:center}.whatsapp-layout.dark-mode .no-contact-message{color:#8696a0}.no-contact-message h2{color:#111b21;font-size:24px;font-weight:500;margin-bottom:8px}.whatsapp-layout.dark-mode .no-contact-message h2{color:#e9edef}.no-contact-message p{color:#667781;font-size:16px}.whatsapp-layout.dark-mode .no-contact-message p{color:#8696a0}.chat-menu-container{position:relative}.chat-menu-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;margin-top:8px;min-width:200px;overflow:hidden;position:absolute;right:0;top:100%;z-index:1000}.whatsapp-layout.dark-mode .chat-menu-dropdown{background:#202c33;box-shadow:0 4px 12px #0000004d}.chat-menu-item{align-items:center;background:none;border:none;color:#111b21;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:12px 16px;text-align:left;transition:background .2s;width:100%}.whatsapp-layout.dark-mode .chat-menu-item{color:#e9edef}.chat-menu-item:hover{background:#f5f6f6}.whatsapp-layout.dark-mode .chat-menu-item:hover{background:#2a3942}.message-reply-preview{background:#0000000d;border-left:3px solid #00a884;border-radius:4px;cursor:pointer;margin-bottom:8px;padding:8px 12px;transition:background .2s}.whatsapp-layout.dark-mode .message-reply-preview{background:#ffffff1a;border-left-color:#00a884}.message-reply-preview:hover{background:#0000001a}.whatsapp-layout.dark-mode .message-reply-preview:hover{background:#ffffff26}.message-reply-line{background:#00a884;height:100%;left:0;position:absolute;top:0;width:2px}.message-reply-content{display:flex;flex-direction:column;gap:4px}.message-reply-name{color:#00a884;font-size:12px;font-weight:600;opacity:.9}.message-reply-text{color:#667781;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whatsapp-layout.dark-mode .message-reply-text{color:#8696a0}.message-reply-btn{align-items:center;background:#0000001a;border:none;border-radius:50%;cursor:pointer;display:flex;font-size:12px;height:28px;justify-content:center;opacity:0;position:absolute;right:-36px;top:50%;transform:translateY(-50%);transition:opacity .2s,background .2s;width:28px;z-index:10}.message-bubble:hover .message-reply-btn{opacity:1}.message-reply-btn:hover{background:#0003}.whatsapp-layout.dark-mode .message-reply-btn{background:#ffffff1a}.whatsapp-layout.dark-mode .message-reply-btn:hover{background:#fff3}.reply-preview{align-items:center;background:#f0f2f5;border-top:1px solid #e9edef;display:flex;gap:12px;justify-content:space-between;padding:8px 12px}.whatsapp-layout.dark-mode .reply-preview{background:#202c33;border-top:1px solid #2a3942}.reply-preview-content{display:flex;flex:1 1;flex-direction:column;gap:4px}.reply-preview-name{color:#00a884;font-size:12px;font-weight:600}.reply-preview-text{color:#667781;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whatsapp-layout.dark-mode .reply-preview-text{color:#8696a0}.reply-preview-close{align-items:center;background:none;border:none;border-radius:50%;color:#667781;cursor:pointer;display:flex;font-size:18px;height:24px;justify-content:center;padding:4px;transition:background .2s;width:24px}.reply-preview-close:hover{background:#0000001a}.whatsapp-layout.dark-mode .reply-preview-close{color:#8696a0}.whatsapp-layout.dark-mode .reply-preview-close:hover{background:#ffffff1a}.message-audio{margin-bottom:4px}.message-audio audio{outline:none}.audio-preview{align-items:center;background:#f0f2f5;border-top:1px solid #e9edef;display:flex;gap:8px;padding:8px 12px}.whatsapp-layout.dark-mode .audio-preview{background:#202c33;border-top:1px solid #2a3942}.audio-preview-remove{align-items:center;background:#f44;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:14px;height:24px;justify-content:center;transition:background .2s;width:24px}.audio-preview-remove:hover{background:#c00}.recording-indicator{align-items:center;background:#f44;border-top:1px solid #e9edef;color:#fff;display:flex;gap:8px;padding:8px 12px}.whatsapp-layout.dark-mode .recording-indicator{background:#f44;border-top:1px solid #2a3942}.recording-dot{animation:recordingPulse 1s infinite;background:#fff;border-radius:50%;height:12px;width:12px}@keyframes recordingPulse{0%,to{opacity:1}50%{opacity:.5}}.recording-time{flex:1 1;font-size:14px;font-weight:600}.recording-stop-btn{background:#fff3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:12px;padding:4px 8px;transition:background .2s}.recording-stop-btn:hover{background:#ffffff4d}.recording-btn{background:#f44!important;color:#fff!important}.recording-btn:hover{background:#c00!important}@media (max-width:768px){.whatsapp-left-panel{height:100%;left:0;max-width:100%;position:fixed;top:0;transform:translateX(-100%);transition:transform .3s ease;width:100%;z-index:1001}.whatsapp-left-panel.mobile-open{box-shadow:0 20px 60px #00000059;transform:translateX(0)}.whatsapp-left-nav,.whatsapp-right-panel{display:none}.whatsapp-right-panel.active{display:flex;height:100%;left:0;position:absolute;top:0;width:100%;z-index:10}.fullscreen-search-content{max-width:none;width:95%}.whatsapp-messages-container{padding-bottom:100px}.whatsapp-chat-input-bar{margin-bottom:72px}.message-menu-trigger{opacity:1;pointer-events:auto}}