

        /* Popup Overlay */

.popup-overlay {

    display: none; /* Initially hidden */

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.7); /* Black background with opacity */

    z-index: 9999; /* Ensure it's above everything else */

    opacity: 1;

}



/* Popup Box */

.popup-box {

    position: absolute;

    top:40px;

    left: 50%;

    transform: translate(-50%);

    -webkit-transform: translate(-50%);

    -moz-transform: translate(-50%);

    background: #ffffff;

    padding: 20px;

    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);

    border-radius: 8px;

    max-width: 600px;

    text-align: center;

    max-height: 400px;

    min-height: 400px;

   /* overflow-y: auto;*/

   width: 95%;

}



/* Close Button */

.close-btn {

    position: absolute;

    top: -10px;

    right: -10px;

    font-size: 19px;

    cursor: pointer;

    background: #ffffff;

    width: 25px;

    height: 25px;

    line-height: normal;

    padding: 0px;

    border-radius: 50%;

    box-shadow: 0px 0px 6px #1c1c1c4a;

    display: flex;

    align-items: center;

    justify-content: center;

}





.popupcontentWrap {

    overflow: hidden;

    max-height: 360px;

    display: flex;

    text-align: left;

}



.popupcontentWrap > .default-content {
    overflow-y: scroll;
   /* padding-right: 15px;*/
    border: 1px solid #1c1c1c1c;
    padding: 10px;
}





.loader {

    border: 5px solid #f3f3f3;

    border-top: 5px solid #3498db;

    border-radius: 50%;

    width: 40px;

    height: 40px;

    animation: spin 1s linear infinite;

    margin: 20px auto; /* Center the loader */

}



@keyframes spin {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}





@media screen and (max-device-width: 950px) and (orientation : landscape) {

    .popup-box {

        max-height: 200px;

        min-height: 200px;

    }

    .popupcontentWrap {

        max-height: 160px;

    }

}



.popupcontentWrap p {
    margin-bottom: 10px;

}

.popupcontentWrap h1, .popupcontentWrap h2, .popupcontentWrap h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}