.app-toast-stack {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 210000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(380px, calc(100vw - 24px));
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    transform: translateX(24px);
    opacity: 0;
    animation: app-toast-in 0.28s ease forwards;
}

.app-toast.is-out {
    animation: app-toast-out 0.22s ease forwards;
}

.app-toast-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.18);
}

.app-toast-body {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.app-toast-close {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
    cursor: pointer;
}

.app-toast-close:hover {
    opacity: 1;
}

.app-toast.is-success {
    background: #8AA24A;
}

.app-toast.is-error {
    background: #b42318;
}

.app-toast.is-warning {
    background: #f09423;
    color: #111;
}

@keyframes app-toast-in {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes app-toast-out {
    to {
        transform: translateX(24px);
        opacity: 0;
    }
}
