@font-face {
    font-family: "FreeSet";
    font-weight: 600;
    font-display: swap;
    src: url("/static/js/fonts/freeset/freeset-600.woff2") format("woff2");
}

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-display: swap;
    src: url("/static/js/fonts/roboto-ext-cyrillic-latin/roboto-400-regular.woff2") format("woff2");
}

.exit__overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(33, 33, 33, 0.4);
}

.exit__popup {
    position: relative;
    overflow: hidden;
    width: 296px;
    padding: 16px;
    border-radius: 20px;
    background-color: #E5E5E5;

    @media screen and (min-width: 480px) {
        width: 448px;
    }
    @media screen and (min-width: 768px) {
        width: 600px;
    }
}

.exit__close_btn {
    position: absolute;
    cursor: pointer;
    top: 8px;
    right: 8px;
    border: none;
    outline: none;
    background: transparent;

    @media screen and (min-width: 768px) {
        top: 12px;
    }
}

.exit__close_img {
    width: 24px;
    height: 24px;

    @media screen and (min-width: 768px) {
        width: 32px;
        height: 32px;
    }
}

.exit__title {
    font-family: "FreeSet", sans-serif;
    text-align: center;
    margin: 40px 0 0 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    color: #69B42E;

    @media screen and (min-width: 768px) {
        margin-top: 48px 0 0 0;
        font-size: 32px;
        line-height: 36px;
    }
}

.exit__popup_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid #B0B0B0;
    border-radius: 20px;

    @media screen and (min-width: 768px) {
        gap: 16px;
        margin-top: 33px;
        margin-bottom: 48px;
        padding: 24px 32px;
    }
}

.exit__text_h3 {
    font-family: "FreeSet", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
    padding: 0;
    color: #000000;

    @media screen and (min-width: 768px){
        font-size: 24px;
        line-height: 30px;
    }
}

.exit__price_block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exit__text_body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    padding: 0;

    @media screen and (min-width: 768px) {
        font-size: 18px;
        line-height: 24px;
    }
}

.exit__btn_primary {
    cursor: pointer;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    min-height: 46px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    color: #FFFFFF;
    background-color: #69B42E;
    transition: background-color 0.3s ease; 
    text-decoration: none;
    text-wrap: nowrap;
    font-family: "Roboto", sans-serif;
    
    &:hover {
        background-color: #80BF4D;
    }

    @media screen and (min-width: 480px) {
        max-width: 90px;
    }
}

.exit__link {
    margin-bottom: 126px;
    margin-left: 24px;

    @media screen and (min-width: 480px) {
        margin-bottom: 28px;
    }
    @media screen and (min-width: 768px) {
        margin-bottom: 89px;
        margin-left: 32px;
    }

    a {
        text-decoration: underline;
        color: #000000;
    }
    a:hover {
        text-decoration: none;
    }
}

.exit__img {
    position: absolute;
    bottom: -40px;
    right: -24px;
    width: 270px;

    @media screen and (min-width: 480px) {
        bottom: -16px;
        right: -16px;
    }
    @media screen and (min-width: 768px) {
        bottom: -43px;
        right: -18px;
        width: 436px;
    }
}