/* ستون بنرهای شناور PWA (نصب/اعلان) — کاملاً مستقل از منو و محتوای سایت،
   گوشه پایین صفحه، تا هیچ‌وقت چیدمان بقیه سایت را به‌هم نریزد. */
.novin-toast-stack {
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    left: 16px;
    pointer-events: none;
    position: fixed;
    right: 16px;
    z-index: 1050;
}

.novin-toast {
    align-items: center;
    background: #0b2b3a;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(7, 24, 39, .3);
    color: #fff;
    direction: rtl;
    display: flex;
    gap: 14px;
    margin-inline-start: auto;
    max-width: 420px;
    opacity: 0;
    padding: 14px 16px;
    pointer-events: auto;
    transform: translateY(24px);
    transition: opacity .25s ease, transform .25s ease;
}

.novin-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.novin-toast-text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.novin-toast-text strong {
    font-size: 14px;
    font-weight: 800;
}

.novin-toast-text span {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.8;
}

.novin-toast-actions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 8px;
}

.novin-toast-btn {
    background: var(--novin-theme, #08b8c8);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 18px;
    white-space: nowrap;
}

.novin-toast-btn:disabled {
    opacity: .6;
}

.novin-toast-close {
    background: rgba(255, 255, 255, .12);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 18px;
    height: 28px;
    line-height: 1;
    width: 28px;
}

@media (max-width: 575.98px) {
    .novin-toast-stack {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .novin-toast {
        flex-wrap: wrap;
        max-width: none;
    }

    .novin-toast-actions {
        margin-inline-start: auto;
        width: 100%;
    }

    .novin-toast-btn {
        flex: 1 1 auto;
    }
}
