﻿.notification-region {
    display: flex;
    justify-content: center;
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 1rem;
    z-index: 1080;
}

.notification-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 32rem;
    width: calc(100% - 2rem);
}

.notification-toast {
    border-radius: var(--radius-card);
    max-width: 100%;
    overflow: hidden;
    pointer-events: auto;
    width: fit-content;
}

.notification-toast.toast {
    transition: none !important;
    will-change: opacity, transform;
}

.notification-toast.toast.hide {
    animation: notification-jump-out 200ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    display: block;
}

.notification-toast.toast.show {
    animation: notification-slide-in 250ms ease-out both;
}
