/*==============================================================
QANOONMARKAZ PUSH NOTIFICATION
SUBSCRIBE POPUP
==============================================================*/

.qm-push-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
}

.qm-push-popup-overlay.qm-push-popup-visible {
    display: flex;
}


/*==============================================================
POPUP BOX
==============================================================*/

.qm-push-popup {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px 26px 25px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.20);
    animation: qmPushPopupIn 0.25s ease;
}


/*==============================================================
POPUP ICON
==============================================================*/

.qm-push-popup-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000e36;
    color: #e0a800;
    font-size: 27px;
}


/*==============================================================
TITLE
==============================================================*/

.qm-push-popup-title {
    margin: 0 0 10px;
    color: #000e36;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}


/*==============================================================
DESCRIPTION
==============================================================*/

.qm-push-popup-description {
    margin: 0 auto 22px;
    max-width: 350px;
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
}


/*==============================================================
SUBSCRIBE BUTTON
==============================================================*/

.qm-push-subscribe-button {
    display: inline-block;
    width: 100%;
    border: 0;
    border-radius: 7px;
    padding: 12px 20px;
    background: #000e36;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qm-push-subscribe-button:hover {
    background: #e0a800;
    color: #000e36;
}


/*==============================================================
NOT NOW BUTTON
==============================================================*/

.qm-push-not-now {
    display: inline-block;
    margin-top: 13px;
    padding: 5px 10px;
    border: 0;
    background: transparent;
    color: #777777;
    font-size: 14px;
    cursor: pointer;
}

.qm-push-not-now:hover {
    color: #000e36;
}


/*==============================================================
CLOSE BUTTON
==============================================================*/

.qm-push-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777777;
    font-size: 23px;
    line-height: 34px;
    cursor: pointer;
}

.qm-push-popup-close:hover {
    color: #000e36;
}


/*==============================================================
SUCCESS MESSAGE
==============================================================*/

.qm-push-success {
    display: none;
    margin-top: 15px;
    color: #247a3d;
    font-size: 14px;
    line-height: 1.5;
}

.qm-push-success.qm-push-visible {
    display: block;
}


/*==============================================================
ERROR MESSAGE
==============================================================*/

.qm-push-error {
    display: none;
    margin-top: 15px;
    color: #b32d2e;
    font-size: 14px;
    line-height: 1.5;
}

.qm-push-error.qm-push-visible {
    display: block;
}


/*==============================================================
ANIMATION
==============================================================*/

@keyframes qmPushPopupIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/*==============================================================
TABLET
==============================================================*/

@media (max-width: 768px) {

    .qm-push-popup {
        max-width: 390px;
        padding: 27px 22px 23px;
    }

    .qm-push-popup-title {
        font-size: 22px;
    }

}


/*==============================================================
MOBILE
==============================================================*/

@media (max-width: 480px) {

    .qm-push-popup-overlay {
        padding: 15px;
    }

    .qm-push-popup {
        max-width: 100%;
        padding: 25px 18px 20px;
        border-radius: 12px;
    }

    .qm-push-popup-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .qm-push-popup-title {
        font-size: 20px;
    }

    .qm-push-popup-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .qm-push-subscribe-button {
        font-size: 15px;
    }

}
