@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
:root {
    --refferal_bg_url: url("");
    --referral_bg_primary_color: #ffecfe;
    --referral_bg_secondary_color: #f9d1ff;
    --referral_bg: linear-gradient(
        180deg,
        var(--referral_bg_secondary_color) 0%,
        var(--referral_bg_primary_color) 100%
    );
    --referral_card_border_radius: 16px;
    --referral_button_bg: #000;
    --referral_button_text_color: #fff;
    --referral_title_color: #000;
    --referral_desc_color: #616161;
}
.zing-loyalty-referral-popup * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
    letter-spacing: initial;
    /*font-family: Inter;*/
}
#zing-loyalty-referral-popup-overlay {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999999999;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
}
#zing-loyalty-referral-popup-overlay.hidden {
    display: none !important;
}
#zing-loyalty-referral-popup {
    position: absolute;
    z-index: 999999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: auto;
    font-family: "Inter", sans-serif;
    background: var(--referral_bg);
    border-radius: var(--referral_card_border_radius);
    overflow: hidden;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
    line-height: initial;
    transition: opacity 0.5s ease-in-out;
    color: #000;
    word-break: break-word;
}
#zing-loyalty-referral-popup.with-bg-url {
    background: rgba(0, 0, 0, 0.2);
    background-image: var(--refferal_bg_url);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#zing-loyalty-referral-popup.hidden {
    height: 0 !important;
    width: 0 !important;
    display: unset !important;
    opacity: 0;
    transform: scale(0);
}
#zing-loyalty-referral-popup .referral-header {
    padding: 16px 32px;
    display: flex;
    justify-content: flex-end;
}
#zing-loyalty-referral-popup .referral-header svg {
    height: 20px;
    width: 20px;
    cursor: pointer;
    transition: all 0.15 sease-in-out;
}
#zing-loyalty-referral-popup .referral-header svg:hover {
    transform: scale(1.2);
}
#zing-loyalty-referral-popup .referral-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 48px 32px;
    padding-top: 0px;
    min-width: 360px;
}
#zing-loyalty-referral-popup .referral-card_icon img {
    height: 90px;
    width: 90px;
}
#zing-loyalty-referral-popup .referral-card__content h1 {
    font-size: 20px;
    font-weight: 550;
    line-height: 24px;
    color: var(--referral_title_color);
    text-align: center;
}
#zing-loyalty-referral-popup .referral-card__content p {
    font-size: 13px;
    font-weight: 450;
    line-height: 20px;
    margin-top: 4px;
    color: var(--referral_desc_color);
    text-align: center;
}
#zing-loyalty-referral-popup .referral-card__buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#zing-loyalty-referral-popup .referral-card__buttons input {
    width: 100%;
    display: inline-block;
    border-radius: 36px;
    height: 40px;
    padding: 0 10px;
    outline: none;
    border: 0.66px solid #8a8a8a;
    color: #000;
    font-size: 13px;
    font-weight: 450;
    box-shadow: unset;
}
#zing-loyalty-referral-popup .referral-card__buttons button {
    background: var(--referral_button_bg);
    color: var(--referral_button_text_color);
}
#zing-loyalty-referral-popup .referral-preview .widget-button {
    position: unset;
    margin-top: 24px;
    float: right;
}
@media screen and (max-width: 468px), (max-height: 468px) {
    #zing-loyalty-referral-popup {
        border-radius: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: unset !important;
        top: 0 !important;
        left: 0 !important;
        transform: unset !important;
    }
}
