#mekkawePushOverlay,
#mekkawePushOverlay * {
    box-sizing: border-box;
}

.mekkawe-push-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 14px;
    background: rgba(10, 15, 8, 0);
    visibility: hidden;
    transition:
        background 0.35s ease,
        visibility 0.35s ease;
}

.mekkawe-push-overlay.is-visible {
    visibility: visible;
    background: rgba(10, 15, 8, 0.58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.mekkawe-push-sheet {
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 10px 22px 22px;
    direction: rtl;
    text-align: center;
    background: #ffffff;
    border-radius: 26px 26px 20px 20px;
    box-shadow: 0 -14px 45px rgba(0, 0, 0, 0.22);

    transform: translateY(calc(100% + 40px));
    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;

    font-family: Tajawal, Cairo, Arial, sans-serif;

    scrollbar-width: thin;
}

.mekkawe-push-sheet::-webkit-scrollbar {
    width: 5px;
}

.mekkawe-push-sheet::-webkit-scrollbar-thumb {
    background: #d7d7d7;
    border-radius: 20px;
}

.mekkawe-push-overlay.is-visible
.mekkawe-push-sheet {
    transform: translateY(0);
    opacity: 1;
}

.mekkawe-push-handle {
    width: 52px;
    height: 5px;
    margin: 0 auto 17px;
    border-radius: 20px;
    background: #d7d7d7;
}

.mekkawe-push-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 88px;
    height: 88px;
    margin-bottom: 13px;

    border-radius: 25px;
    background: #f0f8e9;
    box-shadow: 0 8px 20px rgba(114, 182, 38, 0.18);
}

.mekkawe-push-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.mekkawe-push-bell {
    position: absolute;
    left: -7px;
    top: -7px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #72b626;

    font-size: 17px;

    animation: mekkaweBellPulse 1.8s infinite;
}

.mekkawe-push-sheet h2 {
    margin: 0 0 8px;
    color: #20251d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
}

.mekkawe-push-description {
    max-width: 370px;
    margin: 0 auto;

    color: #646b60;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.mekkawe-push-message {
    min-height: 23px;
    margin-top: 10px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.mekkawe-push-message.info {
    color: #2563a8;
}

.mekkawe-push-message.success {
    color: #438415;
}

.mekkawe-push-message.error {
    color: #b42318;
}

.mekkawe-push-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.mekkawe-push-actions button {
    min-height: 49px;
    padding: 9px 12px;

    border: 0;
    border-radius: 13px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.mekkawe-push-actions button:active {
    transform: scale(0.97);
}

.mekkawe-push-actions button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.mekkawe-push-enable {
    flex: 1.5;

    color: #ffffff;
    background: #72b626;

    box-shadow: 0 7px 16px rgba(114, 182, 38, 0.28);
}

.mekkawe-push-later {
    flex: 1;

    color: #50574d;
    background: #edf0eb;
}

.mekkawe-push-note {
    margin: 14px 0 0;

    color: #959b92;
    font-size: 12px;
    line-height: 1.5;
}

.mekkawe-push-spinner {
    display: inline-block;

    width: 16px;
    height: 16px;
    margin-left: 7px;

    vertical-align: -3px;

    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;

    animation: mekkawePushSpin 0.8s linear infinite;
}

@keyframes mekkawePushSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes mekkaweBellPulse {
    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.08) rotate(-8deg);
    }

    50% {
        transform: scale(1.08) rotate(8deg);
    }

    75% {
        transform: scale(1.08) rotate(-5deg);
    }
}

@media (min-width: 700px) {
    .mekkawe-push-overlay {
        align-items: center;
    }

    .mekkawe-push-sheet {
        border-radius: 26px;
        transform: translateY(25px) scale(0.96);
    }

    .mekkawe-push-overlay.is-visible
    .mekkawe-push-sheet {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 420px) {
    .mekkawe-push-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .mekkawe-push-sheet {
        width: 100%;
        max-width: none;
        max-height: 88vh;

        padding: 8px 16px
            calc(14px + env(safe-area-inset-bottom));

        border-radius: 24px 24px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    }

    .mekkawe-push-handle {
        width: 44px;
        height: 4px;
        margin-bottom: 11px;
    }

    .mekkawe-push-icon-wrap {
        width: 72px;
        height: 72px;

        margin-bottom: 9px;
        border-radius: 20px;
    }

    .mekkawe-push-logo {
        width: 56px;
        height: 56px;
    }

    .mekkawe-push-bell {
        left: -5px;
        top: -5px;

        width: 29px;
        height: 29px;

        border-width: 2px;
        font-size: 14px;
    }

    .mekkawe-push-sheet h2 {
        margin-bottom: 5px;

        font-size: 22px;
        line-height: 1.35;
    }

    .mekkawe-push-description {
        max-width: 320px;

        font-size: 14px;
        line-height: 1.65;
    }

    .mekkawe-push-message {
        min-height: 18px;
        margin-top: 7px;

        font-size: 12px;
        line-height: 1.5;
    }

    .mekkawe-push-actions {
        gap: 8px;
        margin-top: 11px;
    }

    .mekkawe-push-actions button {
        min-height: 46px;
        padding: 8px 10px;

        border-radius: 12px;

        font-size: 14px;
        white-space: nowrap;
    }

    .mekkawe-push-enable {
        flex: 1.45;
    }

    .mekkawe-push-later {
        flex: 0.85;
    }

    .mekkawe-push-note {
        margin-top: 10px;

        font-size: 11px;
        line-height: 1.45;
    }
}

@media (max-width: 350px) {
    .mekkawe-push-sheet {
        padding-right: 12px;
        padding-left: 12px;
    }

    .mekkawe-push-icon-wrap {
        width: 64px;
        height: 64px;
    }

    .mekkawe-push-logo {
        width: 49px;
        height: 49px;
    }

    .mekkawe-push-sheet h2 {
        font-size: 20px;
    }

    .mekkawe-push-description {
        font-size: 13px;
    }

    .mekkawe-push-actions button {
        min-height: 43px;
        padding: 7px 8px;
        font-size: 13px;
    }
}