.undo-delete-stack {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 20030;
    display: flex;
    width: min(26rem, calc(100vw - 2rem));
    flex-direction: column-reverse;
    gap: 0.5rem;
}

.undo-delete-panel {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: #111827;
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.32);
}

.undo-delete-panel button {
    min-width: 4.5rem;
    min-height: 2.25rem;
    padding: 0 0.4rem;
    border: 0;
    background: transparent;
    color: #93c5fd;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 700px) {
    .undo-delete-stack {
        left: 50%;
        right: auto;
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        width: calc(100vw - 1.5rem);
    }

    .undo-delete-panel {
        min-height: 3.25rem;
    }
}
