[data-henry-redirect] {
    display: none;
}

body.overflow-hidden {
    overflow: hidden;
}

.redirect-popup {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;

    opacity: 0;
    pointer-events: none;
    transition: all 0.5s;
}

.redirect-popup.visible {
    opacity: 1;
    pointer-events: all;
}

.redirect-popup h3 {
    text-align: center;
    font-weight: 900;
    line-height: 1;
    font-size: 30px;
}

.redirect-popup .text-container {
    box-sizing: border-box;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin: auto;
    padding: 30px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    max-width: 800px;
    max-height: 470px;
    border-radius: 10px;

    overflow: auto;

    opacity: 0;
    pointer-events: none;
    transition: all 0.5s 0.5s;
}

.redirect-popup sup {
    font-size: initial;
    vertical-align: super;
}

.redirect-popup ul {
    list-style: disc;
    margin-left: 60px;
}

.redirect-popup .button-blue {
    width: fit-content;
    border-radius: 10px;
    margin: auto;
}

.redirect-popup .login-link {
    text-align: center;
}

.redirect-popup .login-link a {
    color: #003591;
    text-decoration: underline;
}

.redirect-popup.visible .text-container {
    opacity: 1;
    pointer-events: all;
}

.redirect-popup img {
    background: #0054a6;
    padding: 20px;
    border-radius: 10px;
    width: 120px;
}

@media (max-width: 480px) {
    .redirect-popup img {
        width: 80px;
        padding: 15px;
    }
}