/* Shared toast surface for the product shell and opt-in native Admin pages. */
.notifications-container { position: fixed; z-index: 1080; right: 20px; bottom: 20px; width: min(400px, calc(100vw - 40px)); pointer-events: none; }
.notification {
    display: flex;
    align-items: flex-start;
    gap: var(--rz-space-3);
    min-height: 64px;
    margin-top: var(--rz-space-3);
    padding: var(--rz-space-4);
    border: 1px solid rgb(182 184 186 / 0.7);
    border-left: 4px solid var(--rz-color-info);
    border-radius: var(--rz-radius-sm);
    background: var(--rz-overlay-surface);
    box-shadow: var(--rz-shadow-lg);
    opacity: 0;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(var(--rz-overlay-blur));
    backdrop-filter: blur(var(--rz-overlay-blur));
    /* Fade in place, without transient scrollbars from translated cards. */
    transition: opacity var(--rz-transition);
}
.notification.show { opacity: 1; }
.notification.hide { opacity: 0; }
.notification.success { border-left-color: var(--rz-color-success); }
.notification.warning { border-left-color: var(--rz-color-warning); }
.notification.error { border-left-color: var(--rz-color-danger); }
.notification-icon { flex: 0 0 28px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: var(--rz-radius-xs); background: var(--rz-color-info-soft); color: var(--rz-color-info); font-weight: 700; }
.notification.success .notification-icon { background: var(--rz-color-success-soft); color: var(--rz-color-success); }
.notification.warning .notification-icon { background: var(--rz-color-warning-soft); color: var(--rz-color-warning); }
.notification.error .notification-icon { background: var(--rz-color-danger-soft); color: var(--rz-color-danger); }
.notification-content { min-width: 0; flex: 1; }
.notification-title { margin-bottom: 2px; color: var(--rz-color-ink); font-size: var(--rz-text-sm); font-weight: 700; }
.notification-message { color: var(--rz-color-text-secondary); font-size: var(--rz-text-sm); overflow-wrap: anywhere; }
.notification-close { flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: var(--rz-radius-xs); background: transparent; color: var(--rz-color-text-secondary); font-size: 1.25rem; }
.notification-close:hover { background: var(--rz-color-surface-strong); }
@media (max-width: 767.98px) {
    .notifications-container { right: 10px; bottom: calc(var(--rz-mobile-nav-height) + env(safe-area-inset-bottom) + 10px); width: calc(100vw - 20px); }
}
@media (prefers-reduced-motion: reduce) { .notification { transition: none; } }
