
/* Idle Popup Styling */
.idle-popup {
    display: none;
    position: fixed;
    background-color: #fff;
    /* border: 2px solid #007bff; */
    border-radius: 14px;
    padding: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 288px;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    text-align: center;
    overflow: hidden;
}

.idle-popup.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.idle-popup video {
    width: 288px;
    height: 288px;
    border-radius: 12px;
    object-fit: cover;
}

#popupMessage {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 400;
}

.idle-popup a {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
}

/* Positioning for different corners */
.popup-bottom-right {
    bottom: 75px;
    right: 20px;
}
#popupMessageContent {
    background: linear-gradient(to top, rgb(247, 247, 247) 25%, transparent 400%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 16px;
}

@media screen and (max-width: 767px) { 
    .idle-popup {
        width: 151px;
    }
    .idle-popup video {
        width: 151px;
        height: 200px;
    }
    #popupMessageContent {
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 10px;
    }
    #popupMessage {
        font-size: 12px;
        margin-bottom: 0px;
    }
    .idle-popup a {
        font-size: 14px;
    }

}

@media screen and (max-width: 420px) { 
    #chat-widget-container > div  {
        max-width: calc(100% - 40px);
    }
    #chat-widget-container > div > div  {
        max-width: 100%;
    }
}