.timeline-stacked-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.delete-timeline-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(255, 71, 87, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.delete-timeline-btn:hover {
    background: rgba(255, 71, 87, 1);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

.delete-timeline-btn:active {
    transform: scale(0.95);
}