.dan-live-popup .elementor-shortcode {
    display: block !important;
}

/* Overlay */
.dan-live-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    box-sizing: border-box;
}

/* Popup Box */
.dan-live-popup > .dan-widget-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: popupFadeIn .3s ease;
}

/* Hide shortcode text if template not rendered */
.dan-live-popup .elementor-shortcode {
    width: 100%;
}

/* Animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scrollbar */
.dan-live-popup > .dan-widget-container::-webkit-scrollbar {
    width: 6px;
}

.dan-live-popup > .dan-widget-container::-webkit-scrollbar-thumb {
    background: #ccc;
}

.linkcopied{
    position: relative;
}

.linkcopied::after{
    content: "Copied!";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 9999;
}

.linkcopied::before{
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

/* Mobile */
@media (max-width: 767px) {
    .dan-live-popup {
        padding: 15px;
    }

    .dan-live-popup > .dan-widget-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 12px;
    }
}

/* Social Media */
.cs-social-share{
    display: block;
    width: 100%;
}

.cs-share-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.cs-share-popover{
    position:absolute;
    left:0%;
    bottom:calc(100% + 12px);
    /* transform:translateX(-50%); */
    display:none;

    /* Horizontal Layout */
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:8px;

    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:10px 12px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    z-index:99999;
    white-space:nowrap;
}

.cs-share-popover.active{
    display:flex;
}

.cs-share-popover::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-8px;
    transform:translateX(-50%);
    border-left:8px solid transparent;
    border-right:8px solid transparent;
    border-top:8px solid #fff;
}

.cs-share-popover a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#f5f5f5;
    color:#444;
    text-decoration:none !important;
    transition:.25s;
    font-size:18px;
}

.cs-share-popover a:hover{
    background:#ececec;
    transform:translateY(-2px);
}

.cs-share-facebook:hover{ color:#1877F2; }
.cs-share-twitter:hover{ color:#000; }
.cs-share-linkedin:hover{ color:#0A66C2; }
.cs-share-whatsapp:hover{ color:#25D366; }
.cs-share-email:hover{ color:#EA4335; }

@media (max-width:767px){

    .cs-share-popover{
        gap:6px;
        padding:8px 10px;
    }

    .cs-share-popover a{
        width:38px;
        height:38px;
        font-size:16px;
    }

}