html.with--no_scroll {
    overflow: hidden;
    margin-right: 17px;
}

.popup__layout {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    will-change: top;
    opacity: .75;
    visibility: visible;
    -webkit-transition: opacity 300ms cubic-bezier(.2, 0, .2, 1), visibility 0ms 0ms;
    transition: opacity 300ms cubic-bezier(.2, 0, .2, 1), visibility 0ms 0ms;
}

.popup__container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-perspective: 600px;
    perspective: 600px;
    z-index: 10001;
    text-align: center;
    visibility: visible;
    overflow-y: scroll;
    padding: 50px 0;
}


.popup__container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.popup__body {
    background-color: #3B3854;
    pointer-events: auto;
    position: relative;
    min-width: 380px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto 0 -3px;
    transition: all 300ms cubic-bezier(.2, 0, .2, 1), visibility 0ms 0ms;
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    padding: 24px;
    border-radius: 12px;
    max-width: 600px;
}

.popup__close {
    position: absolute;
    right: 0;
    top: -25px;
    cursor: pointer;
    color: #809FFF;
    width: 25px;
    height: 25px;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.popup__close svg{
    stroke: #809FFF;
}
.popup__close:hover svg{
    stroke: #A0B7FF;
}

@media (max-width: 768px) {

    .popup__body {
        min-width: auto;
        max-width: 90%;
    }
    html.with--no_scroll {
        margin-right: 0;
    }
}

/** Slot not work */
.attention .popup__heading{
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    color: #FFD47E;
    margin-bottom: 15px;
}
.attention .popup__content{
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #B7B7C6;
}

.popup__heading:empty,
.popup__content:empty{
    display: none;
}