.alert.action-feedback {
    align-items: center;
    display: flex;
    gap: .75rem;
    overflow: hidden;
}

.action-feedback__icon {
    flex: 0 0 32px;
    height: 32px;
    width: 32px;
}

.action-feedback__circle {
    fill: none;
    stroke: currentColor;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    stroke-width: 3;
    transform-origin: center;
    animation: feedback-circle-in .45s ease-out forwards;
}

.action-feedback__check {
    fill: none;
    stroke: currentColor;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    animation: feedback-check-in .35s .35s ease-out forwards;
}

.action-feedback--delete .action-feedback__circle {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
}

.action-feedback__bin-body {
    transform-origin: 12px 12px;
    animation: feedback-delete-out .65s .2s ease-in forwards;
}

.action-feedback__bin-lid {
    transform-box: fill-box;
    transform-origin: right center;
    animation: feedback-delete-lid .45s ease-in forwards;
}

@keyframes feedback-circle-in {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes feedback-check-in {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes feedback-delete-lid {
    to {
        transform: rotate(35deg) translateY(-2px);
    }
}

@keyframes feedback-delete-out {
    to {
        opacity: 0;
        transform: translateY(8px) scale(.8);
    }
}

@media (prefers-reduced-motion: reduce) {
    .action-feedback__circle,
    .action-feedback__check,
    .action-feedback__bin-body,
    .action-feedback__bin-lid {
        animation-duration: .01ms;
        animation-delay: 0ms;
    }
}
