.portal-toasts {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 340px);
}

.portal-toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    color: $portal-white;
    background: $portal-ink;
    border-radius: 10px;
    box-shadow: $portal-panel-shadow;
    font-size: 13px;
    font-weight: 500;
    animation: portal-toast-in 0.18s ease-out;
}

.portal-toast--success {
    background: $portal-success-text;
}

.portal-toast--error {
    background: $portal-error-text;
}

.portal-toast__close {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    font-size: 18px;
    line-height: 1;
    opacity: 0.7;
}

.portal-toast__close:hover {
    opacity: 1;
}

@keyframes portal-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@include media-breakpoint-down(sm) {
    .portal-toasts {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}
