.chat-popup {
    position: fixed;
    top: 80%;
    right: 20px;
    transform: translateY(-50%);
    width: 200px; 
    background-color: rgb(238, 250, 242);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 1000;
    display: none; 
    align-items: center;
}
.chat-popup img {
    width: 35px; 
    height: 35px; 
    border-radius: 50%;
    position: relative;
}
.chat-popup .content {
    margin-left: 8px; 
    display: inline-block;
    vertical-align: top;
}
.chat-popup h5 {
    margin: 0;
    font-size: 14px; 
    font-weight: bold;
}
.chat-popup span {
    font-size: 12px; 
    color: #666;
}

.cancel-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgb(238, 250, 242);
    border: none;
    color: black;
    font-size: 14px; 
    border-radius: 50%;
    width: 24px; 
    height: 24px; 
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.active-dot {
    position: absolute;
    bottom: 20%;
    right: 80%;
    width: 10px; 
    height: 10px; 
    background-color: green;
    border-radius: 50%;
    border: 2px solid white;
}

/* term policy popup */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 80%;
    background: whitesmoke;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    border-radius: 8px;
    display: none;
}
.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#popupIframe {
    width: 100%;
    height: calc(100% - 40px);
    border: none;
}
.close-popup-btn {
    position: absolute;
    top: 5px;
    right: 30px;
    background:whitesmoke;
    color: black;
    border: none;
    font-size: 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}
.close-popup-btn:hover{
    color: red;
}