/* ====================================
   ZOHO POPUP MODAL
==================================== */

body.popup-open{
    overflow:hidden;
}

/* OVERLAY */
.zoho-popup{

    display:none;

    position:fixed;
    inset:0;

    z-index:999999;

    background:rgba(0,0,0,0.72);

    justify-content:center;
    align-items:center;

    padding:20px;

    overflow-y:auto;
}

/* POPUP BOX */
.zoho-popup-content{

    position:relative;

    width:100%;
    max-width:950px;

    height:90vh;

    margin-top:25px;

    background:#ffffff;

    border-radius:20px;

    overflow:visible !important;

    box-shadow:0 15px 45px rgba(0,0,0,0.20);

    animation:popupFade .3s ease;
}

/* IFRAME */
.zoho-popup-content iframe{

    width:100%;
    height:90%;

    border:none;

    display:block;

    background:#ffffff;

    border-radius:20px;
}

/* CLOSE BUTTON */
.close-popup{

    position:absolute;

    top:-18px;
    right:-18px;

    width:42px;
    height:42px;

    background:#ffffff;

    border-radius:50%;

    cursor:pointer;

    z-index:9999999;

    pointer-events:auto;

    box-shadow:0 4px 14px rgba(0,0,0,0.18);

    transition:all .3s ease;
}

/* CREATE X */
.close-popup::before,
.close-popup::after{

    content:"";

    position:absolute;

    top:50%;
    left:50%;

    width:18px;
    height:2px;

    background:#111827;

    border-radius:2px;
}

/* LINE 1 */
.close-popup::before{

    transform:translate(-50%, -50%) rotate(45deg);
}

/* LINE 2 */
.close-popup::after{

    transform:translate(-50%, -50%) rotate(-45deg);
}

/* HOVER */
.close-popup:hover{

    background:#f1f5f9;

    transform:scale(1.08);
}

/* ANIMATION */
@keyframes popupFade{

    from{
        opacity:0;
        transform:translateY(20px) scale(.98);
    }

    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* =========================
   LARGE LAPTOP
========================= */

@media(max-width:1400px){

    .zoho-popup-content{
        max-width:900px;
    }

}

/* =========================
   LAPTOP
========================= */

@media(max-width:1200px){

    .zoho-popup-content{

        max-width:850px;

        height:70vh;

        margin-top:20px;
    }

}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .zoho-popup{

        padding:15px;

        align-items:center;
    }

    .zoho-popup-content{

        max-width:100%;

        height:92vh;

        margin-top:0;

        border-radius:16px;
    }

    .zoho-popup-content iframe{

        border-radius:16px;
    }

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .zoho-popup{

        padding:0;

        align-items:flex-start;
        justify-content:flex-start;
    }

    .zoho-popup-content{

        width:100vw;

        min-width:100vw;

        max-width:100vw;

        height:100vh;

        margin:0;

        border-radius:0;

        overflow:hidden !important;
    }

    .zoho-popup-content iframe{

        width:100vw;

        min-width:100vw;

        height:100vh;

        border-radius:0;

        transform:none;

        margin-left:0;
    }

    .close-popup{

        top:14px;
        right:14px;

        width:38px;
        height:38px;

        background:#ffffff;

        z-index:99999999;
    }

    .close-popup::before,
    .close-popup::after{

        width:16px;
    }

}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

    .zoho-popup{

        padding:0;
    }

    .zoho-popup-content{

        width:100vw;
        height:100vh;

        border-radius:0;
    }

    .zoho-popup-content iframe{

        width:100vw;
        height:100vh;

        border-radius:0;
    }

    .close-popup{

        top:12px;
        right:12px;

        width:36px;
        height:36px;
    }

    .close-popup::before,
    .close-popup::after{

        width:14px;
    }

}