.whatsdiv{ display:none; position:fixed; bottom:0; right:0; margin-bottom:10px; margin-right:10px; z-index:999; } #msgArea{ width:350px; margin-right:130px; height:410px; display:none; z-index:999; } #whatsapp-chat { position: fixed; bottom: 20px; right: 40px; width: 200px; height: 37px; background-color: #03cc0b; color: #fff; border-radius: 20px; text-align: center; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; } #whatsapp-chat:hover { background-color: #03cc0b; } #whatsapp-popup { display: none; flex-direction: column; position: fixed; bottom: 80px; right: 40px; width: 300px; height: 215px; background-color: #f1f1f1; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } .popup-header { background-color: #03cc0b; height: 60px; color: #fff; padding: 10px; display: flex; font-size: 13px; border-top-right-radius: 10px; border-top-left-radius: 10px; justify-content: space-between; } .popup-header button { background: none; border: none; color: #fff; cursor: pointer; font-size: 16px; } .popup-header span { margin-top: 20px; font-weight: 200; } .popup-content { flex: 1; padding: 10px; } #whatsapp-popup.active { display: block; } agent-name{ font-size: 18px; font-weight: bold; margin-left: 20px; } .popup-profile img { width: 50px; height: 50px; border-radius: 50%; } .active-label { display: inline-block; font-size: 13px; color: #fff; background-color: #03cc0b; padding: 3px; border-radius: 3px; } .popup-footer { height: 23px; text-decoration: dotted; background-color: ; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; padding-bottom: 10px; text-align: center; margin-top: 5px; padding: 10px; color: rgb(0, 0, 0); font-size: 15px; } .whatsapp-icon{ height: 20px; width: 20px; margin-right: 140px; } .icon-text{ font-size: 12px; text-align: left; }