/* "Not Enough Points" popup (Figma "Popup - redeemed deal"). Markup in _Layout.cshtml,
   opened by OpenNoPointsPopup() in master.js. Logical properties so RTL mirrors. */
.noPointsPopup {
    position: relative;
    width: calc(100% - 32px);
    max-width: 420px;
    margin-top: 70px; /* room for the wallet that sits over the top edge */
    padding: 96px 24px 24px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
}

    /* Wallet illustration that sits over the top edge, with the yellow "x" badge
       overlapping its lower half (Figma). Centred with left/transform, so the same in RTL. */
    .noPointsPopup .noPointsArt {
        position: absolute;
        top: -70px;
        left: 50%;
        width: 160px;
        height: 150px;
        transform: translateX(-50%);
        pointer-events: none;
    }

        .noPointsPopup .noPointsArt .noPointsWallet {
            display: block;
            width: 100%;
            height: auto;
        }

        .noPointsPopup .noPointsArt .noPointsBadge {
            position: absolute;
            left: 34%;
            bottom: 0;
            width: 50px;
            height: auto;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18));
        }

    .noPointsPopup .noPointsClose {
        position: absolute;
        top: -18px;
        inset-inline-end: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
        cursor: pointer;
    }

    .noPointsPopup .noPointsTitle {
        margin-bottom: 12px;
        font-family: "IRANYekanExtraBoldRd", "IRANYekanBoldRd";
        font-weight: normal;
        font-size: 24px;
        line-height: 1.3;
        color: #E80009;
    }

    .noPointsPopup .noPointsDesc {
        margin-bottom: 24px;
        font-family: "IRANYekanRegularRd";
        font-size: 15px;
        line-height: 1.45;
        color: #9E9E9E;
    }

    .noPointsPopup .noPointsBtn,
    .noPointsPopup .noPointsBtn:hover,
    .noPointsPopup .noPointsBtn:focus {
        display: block;
        padding: 14px 16px;
        border-radius: 999px;
        background: #F72B31;
        font-family: "IRANYekanBoldRd", "IRANYekanRegularRd";
        font-weight: normal;
        font-size: 18px;
        color: #fff;
        text-decoration: none;
    }
