.recke-push-prompt {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 9999;
    box-sizing: border-box;
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(24, 51, 79, 0.22);
    background: #18334f;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.recke-push-prompt__title {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.3;
}

.recke-push-prompt__body,
.recke-push-prompt__status {
    margin: 0 0 14px;
    line-height: 1.45;
}

.recke-push-prompt__status--success {
    color: #c8f2d8;
}

.recke-push-prompt__status--error {
    color: #ffd4d4;
}

.recke-push-prompt__actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.recke-push-prompt__button {
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.recke-push-prompt__button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.recke-push-prompt__button--accept {
    border: 1px solid #986a33;
    background: #986a33;
}

.recke-push-prompt__button--close {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: transparent;
}

.recke-push-prompt__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .recke-push-prompt {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        left: max(10px, env(safe-area-inset-left));
        width: auto;
    }

    .recke-push-prompt__actions,
    .recke-push-prompt__button {
        width: 100%;
    }
}

.recke-push-unsubscribe {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.recke-push-unsubscribe__button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #18334f;
    border-radius: 5px;
    background: transparent;
    color: #18334f;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.recke-push-unsubscribe__button:hover,
.recke-push-unsubscribe__button:focus-visible {
    background: #18334f;
    color: #fff;
}

.recke-push-unsubscribe__button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.recke-push-unsubscribe__status {
    line-height: 1.4;
}

.recke-push-unsubscribe__status--success {
    color: #1f6f43;
}

.recke-push-unsubscribe__status--error {
    color: #9d2323;
}
