/* UNDO TOAST */
.undo-toast {
    position: fixed;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    min-width: 320px;
    max-width: 480px;
    background: var(--bg-secondary, #1a1a2e);
    border: 1px solid var(--border, rgba(255,255,255,0.1));
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: bottom 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    opacity: 0;
    backdrop-filter: blur(12px);
}
.undo-toast.show {
    bottom: 24px;
    opacity: 1;
}
.undo-toast.hide {
    bottom: -80px;
    opacity: 0;
}
.undo-toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
}
.undo-toast-icon {
    flex-shrink: 0;
    color: var(--warning, #fbbf24);
    display: flex;
}
.undo-toast-message {
    flex: 1;
    font-size: 13px;
    color: var(--text, #fff);
    font-weight: 500;
}
.undo-toast-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}
.undo-toast-btn:hover {
    background: color-mix(in srgb, var(--accent) 15%, transparent);
}
.undo-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted, #888);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}
.undo-toast-progress {
    height: 3px;
    background: rgba(255,255,255,0.05);
}
.undo-toast-progress-bar {
    height: 100%;
    width: 100%;
    background: var(--accent);
    transition: width 0.03s linear;
    border-radius: 0 0 12px 12px;
}
.undo-toast-confirm .undo-toast-progress { display: none; }
@media (max-width: 480px) {
    .undo-toast { min-width: 0; left: 12px; right: 12px; transform: none; max-width: none; }
}
