.widget-added-toast-stack {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: min(380px, calc(100vw - 32px));
}

.widget-added-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px 14px 14px;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 16px 40px rgba(44, 18, 59, 0.14),
        0 0 0 1px rgba(44, 18, 59, 0.06);
    transform: translateX(calc(100% + 24px));
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.widget-added-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.widget-added-toast.is-leaving {
    transform: translateX(calc(100% + 24px));
    opacity: 0;
}

.widget-added-toast__cover-wrap {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3ecff, #e8f0ff);
    box-shadow: inset 0 0 0 1px rgba(44, 18, 59, 0.08);
}

.widget-added-toast__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widget-added-toast__body {
    flex: 1 1 auto;
    min-width: 0;
}

.widget-added-toast__title {
    margin: 0 0 2px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c123b;
    line-height: 1.25;
}

.widget-added-toast__name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5b4d7a;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-added-toast__hint {
    margin: 4px 0 0;
    font-size: 0.78rem;
    color: #8a7da3;
    line-height: 1.3;
}

.widget-added-toast__close {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #8a7da3;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.widget-added-toast__close:hover {
    background: rgba(44, 18, 59, 0.06);
    color: #2c123b;
}

.widget-added-toast--success {
    border-left: 4px solid #3ecf8e;
}

.widget-added-toast--info {
    border-left: 4px solid #7c5cff;
}

.widget-added-toast--error {
    border-left: 4px solid #ff5c7a;
}

@media (max-width: 480px) {
    .widget-added-toast-stack {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}
