/* Push subscription prompt */
.abv-push-overlay {
    position: fixed;
    top: auto;
    right: auto;
    bottom: 22px;
    left: 22px;
    z-index: 10050;
    display: none;
    width: min(360px, calc(100vw - 44px));
    pointer-events: none;
}

.abv-push-overlay.is-visible {
    display: block;
}

.abv-push-modal {
    position: relative;
    width: 100%;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
    pointer-events: auto;
    animation: abvPushToastIn .24s ease;
}

@keyframes abvPushToastIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.abv-push-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9b9b9b;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.abv-push-close:hover {
    color: #f3811a;
    background: rgba(243, 129, 26, .08);
}

.abv-push-icon {
    width: 42px;
    height: 42px;
    margin: 0 0 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 129, 26, .12);
}

.abv-push-icon svg {
    width: 21px;
    height: 21px;
    fill: #f3811a;
}

.abv-push-title {
    margin: 0 34px 7px 0;
    color: #1f1f1f;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.abv-push-text {
    margin: 0 0 14px;
    color: #5a5a5a;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.abv-push-actions {
    display: flex;
    gap: 8px;
}

.abv-push-btn {
    min-height: 40px;
    flex: 1 1 0;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.abv-push-btn-primary {
    background: #f3811a;
    color: #fff;
}

.abv-push-btn-primary:hover {
    opacity: .92;
}

.abv-push-btn-secondary {
    background: #fff;
    color: #333;
    border-color: #e5e5e5;
}

.abv-push-btn-secondary:hover {
    border-color: #f3811a;
    color: #f3811a;
}

.abv-push-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.abv-push-message {
    display: none;
    margin-top: 10px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.abv-push-message.is-visible {
    display: block;
}

@media (max-width: 767px) {
    .abv-push-overlay {
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
    }

    .abv-push-modal {
        padding: 16px 16px 14px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
        animation-name: abvPushMobileIn;
    }

    @keyframes abvPushMobileIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .abv-push-icon {
        display: none;
    }

    .abv-push-title {
        font-size: 16px;
    }

    .abv-push-text {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .abv-push-actions {
        flex-direction: column;
    }

    .abv-push-btn {
        width: 100%;
    }
}
