/* Popup container */
#session-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* Popup content box */
.popup-content {
    position: relative;
    background-color: #fff;
    padding: 40px 20px 10px 20px;
    width: 700px;
    max-width: 90%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    text-align: left;
    animation: popupFadeIn 0.5s ease-in-out;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 48px;
    font-weight: normal;
    cursor: pointer;
}

/* Fade in animation */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Quick animation for popup entry */
.animate-popup {
    display: flex !important;
    animation: popupFadeIn 0.5s ease-in-out;
}


@media screen and (max-width: 768px) {
    .popup-content p {
        font-size: 17px !important;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    .popup-content h4 {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
}