/* Shared in-app notification popup stack (Ops / Admin / Customer webapp) */
#notif-popup-stack {
    position: fixed;
    top: 72px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
    width: calc(100vw - 32px);
    pointer-events: none;
}

/* Inside Kaiserin phone-frame webapp */
.phone-frame #notif-popup-stack,
.customer-v2-body #notif-popup-stack {
    position: absolute;
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    z-index: 80;
}

.notif-popup-card {
    pointer-events: all;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14), 0 1.5px 4px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: notif-slide-in 0.32s cubic-bezier(.22, 1, .36, 1) both;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.notif-popup-card.exiting {
    opacity: 0;
    transform: translateX(28px);
}

@keyframes notif-slide-in {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
